Log in

View Full Version : Motor Speed Definition Not Working


calvinred
12-02-2015, 19:41
We have defined a motor speed for our talons controlling our lift motors (it is set to 1.0). How it is supposed to work is that when we press a button on our joystick, the motors will go at the speed we tell it too, the problem being that it doesn't. It gives a speed closer to .3 or .4. However, when we hook it up to a battery alone it goes at a speed of 1.0, or when we mess with our wiring so our drivetrain joysticks control those motors (this also puts the motors at 1.0). What could be causing this? Has anyone else dealt with this?

Oromus
12-02-2015, 21:51
Could you post your code for detecting if the button is pressed, setting the motor's speed, and where you are defining your motors?

GeeTwo
12-02-2015, 21:57
Also be sure that you are declaring the correct model of speed controller; jaguars have a different PWM range than Talons and Victors.

Ozuru
12-02-2015, 22:26
Sounds odd. Post your code here using code tags.


code goes here

calvinred
13-02-2015, 09:38
Alright turns out it was something completely different. Thanks for the replies!