View Single Post
  #3   Spotlight this post!  
Unread 22-01-2011, 12:24
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: How would you control a single motor from C++

Quote:
Originally Posted by ElliotCourant View Post
I need to control one of the four motors on our robots independently.
How would I specify which motor I need to control and things like how fast and which direction to move it in?
http://mmrambotics.ca/wpilib/class_jaguar.html. I assume you're using the Jaguar motor controller, so the Jaguar class.

Alternatively, you could be using a Spike,
http://mmrambotics.ca/wpilib/class_relay.html

Alternatively, using a Victor,
http://mmrambotics.ca/wpilib/class_victor.html


Quote:
Originally Posted by Katelin3038 View Post
There i veiwed it haha!
What?
Reply With Quote