Go to Post I'm very excited for this year, because robots. - pyrtle [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 21-02-2009, 13:21
naruto137 naruto137 is offline
Registered User
FRC #1656
 
Join Date: Jan 2008
Rookie Year: 2005
Location: Philadelphia PA
Posts: 14
naruto137 is infamous around these partsnaruto137 is infamous around these parts
Traction Control- Help!!!!

Traction Control- Help!!!!:

(PLEASE NOTE THAT THE SCREENSHOTS OF MY CODE THAT SHOULD BE IN THIS POST ARE ACTUALLY IN A WORD DOCUMENT WHICH CAN BE FOUND IN THIS LINK)

So this was my attempt at traction control. We figured that the pre-created arcade drive was a good idea to use and so I copied and pasted the contents of arcade drive into a new vi and the motors drive which was inside arcade drive into another subvi and replaced the original motors drive vi inside of the newly created arcade drive with the newly created motors drive. However, before I even made any modifications for traction control, it gives me this error that occurs inside of the new motors drive:

Modified Arcade Drive:


Modified Motor Drive (Inside of modified arcade drive):


The device reference from the begin vi is the same as the original device reference for arcade drive. However, it gives me this error:



So right now, this doesn’t even work.

Nevertheless, we still proceeded to work on our traction control by modifying arcade drive (since we thought that preserving all the already done work in arcade drive would be worth it) and tried to add the P part of PID into it using encoders.

In the modified arcade drive we have:


And inside of the motors drive:


where the current speed of the robot is being subtracted by the m/s being pulled from the encoder and then multiplied by 10 to make the change more noticeable.

So my question is
1) is this even a good way to implement traction control
2) if it is, how do we fix this error???
3) If it is not, what is the best way to implement traction control???????????


Thanks everyone in advance!
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
Implementation of Traction Control keehun Programming 5 10-02-2009 10:02
Using PID for traction control (help!) ellisk Programming 2 07-02-2009 14:05
Using encoders for traction control help ellisk Programming 13 03-02-2009 19:56
PID traction Control dpeterson3 C/C++ 5 26-01-2009 21:11
Traction Control Algorithm Mr. Lim Programming 3 20-01-2004 14:26


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

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