|
Re: Joystick Sensitivity
Well, you can certainly manipulate the joystick value and make your own transform function. The logarithms are in the following palette:
Mathematics -> Elementary -> Exponential Functions
If you prefer to use text to define the mathematical formula, you can use the Formula Node located in :
Mathematics -> Scripts & Formulas -> Formula Node
Drop a Formula Node on your block diagram and right click it and select Help to see how it works.
I also thought I remembered seeing a place that WPI provided in the Robotics library to add your own lookup table to the motor scaling, but I've forgotten where I saw this.
[I spoke to our Senior Control Mentor and he told me the motor scaling is done in the example code "Custom Motor Scaling"].
1. To see the Custom Motor Scaling Example, select View->Getting Started Window... from the menubar, or it will appear when you first open LabVIEW.
2. Select Examples -> More... (lower right corner of window)
3. Select Custom Motor Scaling Example.
Last edited by airnate : 14-02-2009 at 16:41.
|