Go to Post Often when discussing GP, the P half gets forgotten. - Taylor [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 04-02-2017, 20:22
flemdogmillion's Avatar
flemdogmillion flemdogmillion is offline
Programmer, Builder, Driver...
FRC #3007
 
Join Date: Nov 2016
Rookie Year: 2015
Location: Minnesota
Posts: 147
flemdogmillion will become famous soon enoughflemdogmillion will become famous soon enough
Re: How do you program the navx mxp in labview?

You'll need to get an angle from the NavX, is there a library function for that? Once you have an angle, you'll need to feed it in as the process variable of a PID loop. Hook up the PID VI's output to your rotation axis of your drive VI. Then, tune the PID loop.

I recommend using Select from the Comparison palette connected to a button on your joystick so that you can switch between manual and loop control by holding down a button for loop control. Also set it up so that the PID loop reinitializes whenever you press or release the button by using "Equal?" and a feedback node (in this case set it to feed forward).
__________________
Team 4506: 2015-2016
Team 3007: 2017

Jack of all trades except C++ & Java
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:24.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi