Log in

View Full Version : Programming Ball Feeder and Launcher


maria_edu
11-02-2012, 11:14
I need help programming the Ball Feeder and the Launcher to go clockwise. Im stuck on how to start. I need to program the window motor to the feeder and the fiser price motor to the launcher. I know this is vague, but if anyone has any suggestions I would really appreciate it. Thank you.

Pirate programe
11-02-2012, 11:24
The MotorControl Set Output VIs take inputs ranging from -1 to 1, with -1 being full speed in one direction and 1 being full speed in another, depending on if the motors are inverted. All single motors use the same VI pallete, so you shouldn't need to specify a Fisher-Price or window motor in the code

Further information here: https://decibel.ni.com/content/docs/DOC-8923

maria_edu
11-02-2012, 13:26
The link isnt working. And do you have a generic code for programming these motors?

Pirate programe
11-02-2012, 13:45
There are plenty of generic examples for motor programming in the FRC Examples. You can get to them by clicking the Find FRC Examples option in the Support tab, when you first open LabVIEW.

DominickC
11-02-2012, 13:49
Try this. You need something in Begin, Teleop, and Finish.