|
Re: Limit full power on victor sp
Quote:
Originally Posted by Oblarg
I don't know labview, but you should be able to just multiply the joystick input by some constant less than 1.
|
Do this ^^. I do not know how to do it in LabView but it should be a similar method to any other language.
For example, for 75% multiply the value (between -1 and 1) from the stick by 0.75 (called a scale factor). And you will want to do that in whatever function/method you are using to send signals to the motor controller. In C++ (and Java, I think) you would do
Code:
Motor_Controller_Name.Set(Joystick_Input * Scale_Factor)
__________________
1257 Parallel Universe: 2014 - 2017 Seasons
2017: Vice President, Control Systems Captain, Drive Coach
2016: Control Systems Captain, Operator. MAR District Championship Winner, MAR Mt. Olive Event Winner, MAR Bridgewater-Raritan Event Finalist
2015: Control Systems, Operator. MAR North Brunswick Event Finalist
2014: Programming/Electronics Apprentice. MAR Clifton Event Winner
|