|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools |
Rating:
|
Display Modes |
|
#4
|
||||
|
||||
|
Re: Mecanum - use of gyro
Attached is an example LabVIEW implementation.
I'm not an experienced LabVIEW programmer but I think this is correct. Note that with the LabVIEW PID vi, you feed in the setpoint and process variable, not the error. The vi also does the output range limiting for you. The constant K1 adjusts the sensitivity of your joystick Z-axis command. The Z' output from the PID is your controlled yaw rate command which gets fed into your mecanum wheel speed calculation along with the fwd/rev and strafe joystick commands. To tune the PID, try starting with proportional only. Last edited by Ether : 01-12-2010 at 18:30. Reason: added comments and reset button to vi |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why you WANT to use a Gyro this year | JesseK | Electrical | 10 | 19-01-2010 15:49 |
| [FTC]: Anyone know how to use the Gyro? | ttldomination | FIRST Tech Challenge | 0 | 31-01-2009 21:19 |
| Ever use a helicopter heading hold gyro before? | seanwitte | Electrical | 7 | 16-01-2008 12:59 |
| how can you use a gyro in autonomous mode | magical hands | Programming | 3 | 02-01-2004 13:31 |
| Gyro Chip: How To Use | archiver | 1999 | 3 | 23-06-2002 21:57 |