Open DarrenGuinness opened 8 years ago
I just wanted to get a little more clarification on what you're seeing. When the flag is set for reverse, the robot should turn around and drive in the 'forward' direction while facing backwards, rather than driving in the 'behind' direction (which can be achieved by driving at 180 degrees with reverse on). Is this what you're seeing, or are you getting a different action?
Ollie.drive(0, .15f, true) => robot drives forward at specified velocity (ollie facing forward) Ollie.drive(0, .15f, false) => robot drives forward at specified velocity (ollie facing forward) Ollie.drive(180, .15f, true) => robot turns 180 degrees, and drives in opposite direction at specified velocity (ollie faces forward)
Ollie.setRawMotors(RawMotorCommand.MotorMode.MOTOR_MODE_REVERSE,90, RawMotorCommand.MotorMode.MOTOR_MODE_REVERSE, 90-1); => Ollie drives in reverse at specified motor speed
The Ollie doesn't seem to properly drive in reverse unless the raw motor commands are used.
Hi Dronius, I'm going to look into this along with the other issue you raised.
I am working with the Ollie, and the documentation states that you can make the device drive in reverse by setting the last parameter to true, however in my tests regardless of whether this is set to true or false the robot always drives forward. I can bypass this using the raw motor functions which do in fact reverse, however I was hoping to use the stabilization feature of the normal drive() function. Is this a global issue, or just an issue with my Ollie?