Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Motor Speed Definition Not Working (http://www.chiefdelphi.com/forums/showthread.php?t=134460)

calvinred 12-02-2015 19:41

Motor Speed Definition Not Working
 
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

Re: Motor Speed Definition Not Working
 
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

Re: Motor Speed Definition Not Working
 
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

Re: Motor Speed Definition Not Working
 
Sounds odd. Post your code here using code tags.

Code:

code goes here

calvinred 13-02-2015 09:38

Re: Motor Speed Definition Not Working
 
Alright turns out it was something completely different. Thanks for the replies!


All times are GMT -5. The time now is 10:52.

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