View Single Post
  #3   Spotlight this post!  
Unread 20-01-2015, 19:35
jtrv's Avatar
jtrv jtrv is offline
github.com/jhtervay
AKA: Justin
FRC #2791 (Shaker Robotics)
Team Role: College Student
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Latham, NY
Posts: 147
jtrv is a name known to alljtrv is a name known to alljtrv is a name known to alljtrv is a name known to alljtrv is a name known to alljtrv is a name known to all
Re: Mecanum drive cartesian problems

Sounds like your joystick axes are switched in the code. The rotation should be [-1,1], I'm not sure if positive goes clockwise since I don't have a drive base to test it with yet, but...

Cartesian is mostly used with gyro. I would recommend just trying polar for now, until you have a gyro set up.

With cartesian and gyro set to 0, the robot constantly thinks it has yet to rotate at all. So as a result, things might get wonky.
__________________
2791 (2012-2017)
Reply With Quote