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?

There i veiwed it :stuck_out_tongue: haha!:wink:

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

What?

Thank You