|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Programming Logitech Extreme 3D Pro
There is a function in LabVIEW called "In Range and Coerce". You can use the value of the throttle knob as the "maximum" input of the function, and use its negation as the "minimum" input if you want. The coerced output will follow the function's input, but will be limited to always be no lower than the minimum and no higher than the maximum.
|
|
#2
|
||||
|
||||
|
Re: Programming Logitech Extreme 3D Pro
Quote:
|
|
#3
|
|||
|
|||
|
Re: Programming Logitech Extreme 3D Pro
Thanks for the help so far, I was thinking would we be able to wire a potentiometer to a bread board and use that instead of trying to use a joystick for this function? If possible how would I program it to interact with the motor?
|
|
#4
|
||||
|
||||
|
Re: Programming Logitech Extreme 3D Pro
Quote:
I am not sure if you mean on the robot or driver station. If you meant the driver station, this wouldn't be very easy, and a joystick would make much more sense. If on the robot, then it is a bit easier, but I still don't recommend it. It would add complexity to the robot wiring/programming, (depending upon how it would be used) weight, and not be adjustable during a match. Again, I suggest sticking to your original idea of a joystick axis. If you want something more difficult to modify while in use, you could always use a custom dashboard with a throttle slider on it. |
|
#5
|
|||||
|
|||||
|
Re: Programming Logitech Extreme 3D Pro
Quote:
You don't even have to use a physical potentiometer if you don't want to. The Driver Station has an I/O tab that lets you set the value of a virtual analog input, which the robot can read as if it were a real analog value. |
|
#6
|
||||
|
||||
|
Re: Programming Logitech Extreme 3D Pro
Thanks for mentioning this, I had completely forgotten about those.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|