View Single Post
  #5   Spotlight this post!  
Unread 01-02-2010, 09:30
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 744
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: Holonomic drive angle?

You may want to display the output that that code provides.

Our testing indicated that when you connect joystick outputs into the "obvious" inputs of the rectangular to polar conversion, it produces a zero angle when the joystick was moved to the right (logical for a normal math chart) and of course, forward and backwards was reversed because of the stupid forward = -ve orientation of the joysticks.

So I suggest normalizing you joystic outputs to generate +/-1 with propper cartesian (rectangular) orientation first...

It's too bad that the holomonic function doesn't adopt a more mathematically correct (standard) input... eg orientation and units.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
Reply With Quote