View Single Post
  #7   Spotlight this post!  
Unread 27-02-2008, 00:18
David Bliss David Bliss is offline
Registered User
FRC #0904
 
Join Date: Jan 2008
Rookie Year: 2004
Location: Michigan
Posts: 4
David Bliss is an unknown quantity at this point
Send a message via AIM to David Bliss
Re: Mecanum Programming Help

Here's my $.02, but be warned that we're still trouble-shooting this. I don't remember what the exact bugs are right now, but I do know it doesn't frisbee very well.

There are two halves to the trick you described (also called "frisbeeing", iirc). The first is indeed having field-oriented controls. Your other option is to precisely spin the strafing joystick opposite the way the bot is spinning. I don't have that coordination.

The second step is to be able to combine spin with driving properly. As of right now, my team's mecanum code determines the strafing speeds first, sets temp vars, and adjusts the temp vars for spin, then sets the PWMs to those temp vars. If you do this, you may need to reduce your spin adjustments in order for the spin to not totally override the strafing.

Good luck!