View Single Post
  #6   Spotlight this post!  
Unread 26-08-2011, 00:24
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Re: ramping in speed/position mode

Hate to res an old thread but here it goes.

First idea involves some static coding. Basically you set up the jag in speed mode. then you monitor position slowly adding for the first 1/3 of travel. then staying the same the second 1/3 then coasting down for the final leg.

Another idea would to have the Jag running a speed PID and the cRIO running the position PID. Then you have 2 PIDs to tune but you can ramp.

Another idea would be to have the pid strictly on the cRio but that sucks.

the final idea (Hey Jag programming guys this is for you!) is to have the jag position control mode to also have a target velocity and or acceleration. Many other control systems utilize it why not us. . . I will probably add the feature to the non-frc firmware in a month or so. Ill let you know how it goes.
Reply With Quote