View Single Post
  #28   Spotlight this post!  
Unread 06-02-2017, 00:26
madz's Avatar
madz madz is offline
Registered User
FTC #4962 (FRC 2723 Team Rocket/FTC Rockettes/FLL Baking Soda Volcano)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2011
Location: Oklahoma
Posts: 41
madz is on a distinguished road
Re: ANNOUNCING: Kauai Labs navX-MXP Upgrade, navX-Micro & SF2

Quote:
Originally Posted by slibert View Post
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.
__________________
"Jill of all trades" for
FTC 4962 The Rockettes
FRC 2723 Team Rocket
Reply With Quote