Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   How would you control a single motor from C++ (http://www.chiefdelphi.com/forums/showthread.php?t=89803)

ElliotCourant 22-01-2011 11:30

How would you control a single motor from C++
 
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?

Katelin3038 22-01-2011 11:57

Re: How would you control a single motor from C++
 
There i veiwed it :P haha!;)

basicxman 22-01-2011 12:24

Re: How would you control a single motor from C++
 
Quote:

Originally Posted by ElliotCourant (Post 1005714)
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 (Post 1005742)
There i veiwed it :P haha!;)

What?

ElliotCourant 26-01-2011 20:32

Re: How would you control a single motor from C++
 
Thank You


All times are GMT -5. The time now is 18:06.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi