View Single Post
  #2   Spotlight this post!  
Unread 14-02-2009, 16:20
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
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.
Reply With Quote