View Single Post
  #4   Spotlight this post!  
Unread 22-04-2008, 10:54
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,657
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: Using LabView to Simulate the Robot without the DAQ

To simulate the hardware (e.g. a Gyro) you could have a knob or slider that represents the sensor input. When you hit run in Labview, at the appropriate times you can manually move the knob to simulate the robot's feedback (e.g. move the knob to the gyro's equivilant value of -90 degrees to simulate a left turn). I would then recommend setting up a few graphical outputs that show what the motor outputs are.

It will be hard to fine-tune any PID control with this method, but it should at least be able to expose any errors. I'm going to play with Labview tonight for the first time in a few years, so I'll see if I can give you more details then.
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub
Reply With Quote