Go to Post Supporting a FIRST team, only paying 10 bucks, and possibly winning a segway... what could be better! :) - Tom Bottiglieri [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
  #1   Spotlight this post!  
Unread 09-02-2009, 16:07
rjn rjn is offline
Registered User
no team
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Why is this required
Posts: 15
rjn is an unknown quantity at this point
Doesn't execute teleop execute case

We created a prototype traction-control code, however, we aren't sure if it is a problem with encoders in begin or if it is a problem with teleop, which is why after pain-staking hours of attempted debugging, and deciding it would be better than making ten million screen shots, here is our project.


The way the teleop works, although I added some comments, it might now have been enough/they may have been deleted, is the expected velocity value based on the joystick and compares it to the real value of velocity based on the accelerometer and corrects the values accordingly through a pid and gives it to the jag, it is also corrected for motor bias using encoders and ratios, which is that code node and the a and b wires. Please take a look, and I know I didn't do a very good job explaining, but that is because there is a lot, but I will be very actively checking the thread and answer every single question, our coders are quite confused. : s


dteleop is our traction control teleop, and some of the sub vis may be un apptly named.

Fred is where all the traction control occurs, vpid is the velocity pid and uh, yeah, have to run. Thanks for all the help.
Attached Files
File Type: zip Proj.zip (1.92 MB, 22 views)
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get program to execute Thxe C/C++ 3 09-02-2009 08:33
Telling Labview which loop to execute first professorX NI LabVIEW 5 02-02-2009 15:15
execute.h magical hands Programming 2 10-03-2007 21:02
EasyC: Execute code before autonomous Greg Marra Programming 7 07-01-2007 21:30
How I can execute Javascript into Perl? TomS Programming 3 22-08-2006 16:35


All times are GMT -5. The time now is 10:31.

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