Reply To: controlling the engine

HomeForumsMonoBrick EV3 Firmwarecontrolling the engineReply To: controlling the engine

Author Image
Roy Toren

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)

Posted in

Make a donation