View Single Post
  #5   Spotlight this post!  
Unread 12-01-2015, 09:18
Cinnamon Toast's Avatar
Cinnamon Toast Cinnamon Toast is offline
Registered User
FRC #3641 (The Flying Toasters)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Michigan
Posts: 32
Cinnamon Toast is an unknown quantity at this point
Re: FRCSim Mecanum Drive example help

Hi Guys,

This seems to be a good place to put my questions. I noticed that u2fletch in his code for mecanum_cartisian used 0 for the 4th argument of the robot drive object. From my understanding (and please correct me if I'm wrong) I believe a gyro is used so that you get field centric strafing when driving. This means that when no matter what your rotation, the robot will still straif to left (therefore the robot itself is moving backwards) right? Say I don't want field centric movement like this, and would like robot centric drive. Does that 0 value make the drive robot centric? Any help is really appreciated. Thanks guys!

Last edited by Cinnamon Toast : 12-01-2015 at 10:06.