Quote:
Originally Posted by gpetilli
The simplest (assuming you are using CAN) is to use the new motion profiling built into the SRX. Either way, you should read the CTR documentation to understand what motion profiling is and what it is trying to do.
Last year we did motion profiling to keep from dumping stacks of crates. We used a spreadsheet called MotionProfile_Capiloli.xlsx (from VEX) as a model. Basically, we apply a voltage ramp limit and then an averaging filter to the set point we send to the speed controller. PM me if you cant find the xlsx online or if you want more info. We code in Java.
|
You can also apply voltage ramping while avoiding the complexity of motion profiling. The SRX lets you supply a voltage ramp value right into the PID block. Though when the ramp is too shallow, it's easy to cause a lot of oscillation.