View Single Post
  #7   Spotlight this post!  
Unread 11-04-2009, 19:47
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: EASY traction control?

Here's a time-based VI for you, so you don't have to worry about inconsistant execution rate.
(again, you wire the dbl value (orange wire) through it)
I found that the drivers complained of sluggishness mainly because of the slow ramp-down. Because the ramp-down didn't seem to be neccessary (you can turn out of the way, you can turn sideways, etc), I made it optional to disclude it.
It's a polymorphic VI, in this case meaning you can use it for an array of dbl or a scalar dbl.
The 'setpoint' is your input.

It's under "ramp" at
http://kamocat.com/programming.html#control

I'm still working on something that describes robot movement in turn radius, forward speed, and sideways slip.
__________________
-- Marshal Horn

Last edited by kamocat : 11-04-2009 at 19:50.
Reply With Quote