View Single Post
  #5   Spotlight this post!  
Unread 17-04-2016, 19:33
Ryan-Greenblatt Ryan-Greenblatt is offline
A foolish programmer
FRC #0900 (Zebracorns)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: NC
Posts: 8
Ryan-Greenblatt has a spectacular aura aboutRyan-Greenblatt has a spectacular aura about
Re: Issues with Motion Profile Generator

Quote:
Just for grins, download and try this.
The issue with that method is that I want to generate profiles in real time which have a set max acceleration, velocity, and jerk. That method offers too little control.

Quote:
Also try this.
Thanks! That seems to work. I'm assuming all you just added "max vel adj" and made that the max velocity input. However, there is another issue. The same type of adjustment must be made to acceleration. Otherwise if you increase acceleration beyond what is possible to reach some issues occur. Specifically the acceleration maxes out way below what the maximum actually is. I am uncertain how to determine what the maximum possible acceleration should be.

Quote:
It boils down to make sure the specified vprog is obtainable.
Yes, ether's solution seems to make sure that that happens.
Reply With Quote