Skip to content

Commit b5ad5da

Browse files
committed
Updated velocityprofile_traphalf header
1 parent da132b9 commit b5ad5da

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

orocos_kdl/src/velocityprofile_traphalf.hpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,16 @@ class VelocityProfile_TrapHalf : public VelocityProfile
8989
*/
9090
VelocityProfile_TrapHalf(double _maxvel=0,double _maxacc=0,bool _starting=true);
9191

92-
void SetMax(double _maxvel,double _maxacc, bool _starting );
92+
void SetMax(double _maxvel,double _maxacc,bool _starting);
9393

9494
/**
95+
* Plans a 'Half' Trapezoidal VelocityProfile between pos1 and pos2.
96+
* If the distance is too short betweeen pos1 and pos2,
97+
* only the acceleration phase is set and the max velocity is not reached.
98+
*
99+
* \param pos1 Starting position
100+
* \param pos2 Ending position
101+
*
95102
* Can throw a Error_MotionPlanning_Not_Feasible
96103
*/
97104
virtual void SetProfile(double pos1,double pos2);

0 commit comments

Comments
 (0)