You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 31, 2019. It is now read-only.
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?
The text was updated successfully, but these errors were encountered:
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.
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?
The text was updated successfully, but these errors were encountered: