HebiRobotics / hebi-matlab-api

Public download and issue tracker of the latest HEBI API for MATLAB
http://docs.hebi.us/tools.html#matlab-api
0 stars 0 forks source link

Behavior of trajectories outside of time range #33

Closed daverolli closed 4 years ago

daverolli commented 4 years ago

Right now it looks like the behavior of the trajectory generator is that it extrapolates the polynomial outside of the time range that you set it up with. So for example if time goes from 0 to 1 you could call it time = 2 and get some (potentially really crazy) extrapolated value.

Clamping the pos/vel/acc values to the t=0 and t=duration values would probably be better to avoid accidental commands being sent to robot. Maybe with a warning indicating that you're time is out of bounds?

ennerf commented 4 years ago

This was changed in 1.7