View Single Post
  #9   Spotlight this post!  
Unread 25-02-2016, 11:10
cjl2625's Avatar
cjl2625 cjl2625 is offline
apel py
AKA: Cory Lynch
FRC #2067 (Apple Pi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Guilford, CT
Posts: 412
cjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to behold
Re: Diagnosing Belt Skip Under Load

Quote:
Originally Posted by gpetilli View Post
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.
__________________
Head Programmer / Driver