Thread: windriver c++?
View Single Post
  #5   Spotlight this post!  
Unread 14-01-2010, 16:39
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: windriver c++?

The RobotDrive class has a HolonomicDrive method that does the calculations for you based on a 4 motor drive base. You supply a magnitude and direction of travel (that's speed, direction), and a rotation value. To use it, you have to create a RobotDrive object with the 4 motors.

Check out the documenation to determine what order to list the motors.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote