View Single Post
  #3   Spotlight this post!  
Unread 01-07-2011, 00:56
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Java and Mechanum

My apologies. The code from Team 1310 is C++, but hopefully you will find a use for it.

The code of interest will be in MyRobot.cpp, where most of the heavy-lifting is done with respect to Mecanum.

It uses US Digital encoders in an AndyMark Toughbox at all for corners of the robot. A velocity based PID ensures all the wheel are spinning at the correct speeds.

The math does conversions such that all velocities are in metres/second.

The mecanum algorithms are based on a presentation that Ian Mackenzie from 1114 did on holonomic drives back in 2004.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
Reply With Quote