Quote:
Originally Posted by slibert
Ok, there's now a FRC RoboRIO Java Tank-drive example demonstrating Rotate-to-Angle and Drive-straight techniques using navX-MXP, as well as zeroing the yaw.
Let us know how the testing goes.
- scott
|
OK, thank you for the example. We were able to pull from that and get the turns to work. We're new to FRC Java, and after struggling with it for a while today we realized that this is more like an FTC opMode (same code is called every 20 ms) and not a LinearOpMode (everything executes once and then moves on) so we are going to have to readjust our thinking so that more than one command in the sequence gets executed. Hopefully we can learn it in the next couple of weeks.