|
#1
|
|||
|
|||
|
max drive speed limiter
I would like to make it if the joystick is pushed all the way up in arcade drive the motors won't be at 100%. How can I do this? We are using the default programming that came with LabVIEW.
|
|
#2
|
||||
|
||||
|
Re: max drive speed limiter
Do you want to cap the input (so any input beyond the limit is read as the limit) or do you want to scale the input (so 100 is read as the limit, 50 is read as half of the limit, ...)?
|
|
#3
|
|||||
|
|||||
|
Re: max drive speed limiter
You can run the joystick axis value through an In Range and Coerce function to clip it at whatever maximum value you want, but that will just mean some of the physical joystick travel will be of no use.
You can multiply the joystick axis value by a percentage. That will maintain the full range of joystick travel, while making the maximum value whatever percent you chose. |
|
#4
|
|||
|
|||
|
Re: max drive speed limiter
Quote:
|
|
#5
|
|||||
|
|||||
|
Re: max drive speed limiter
You have two wires going from your joystick axes to your Arcade Drive. Insert a Multiply function on each wire and multiply both values by 0.5, and that's all it takes.
Quote:
|
|
#6
|
|||
|
|||
|
Re: max drive speed limiter
The easy way to do this is to multiply your joystick output by some number. If you want 50% then just multiply your output by 0.5.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|