Home→Forums→MonoBrick EV3 Firmware→controlling the engine→Reply To: controlling the engine
September 9, 2014 at 11:08
#4844

Roy Toren
Participant
I have tried using it like this:
PositionPID PID = new PositionPID(motor, 360, true, 50, P, I, D, 50);
PositionPID revPID = new PositionPID(motor, -180, true, 50, P, I, D, 50);
but it didn’t seem to do the trick, the engine only does the 360 command.
I am aiming for the arm that flips the cube to start on the cube and then do the flip(that’s the 360)
but then I want the arm to leave the cube and go up a bit without flipping it again(that’s why I need to reverse the engine)
Follow