eeros_architecture:control_system:available_blocks:pathplannerconstacc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
eeros_architecture:control_system:available_blocks:pathplannerconstacc [2020/09/03 10:03] – ursgraf | eeros_architecture:control_system:available_blocks:pathplannerconstacc [2020/09/03 12:11] (current) – ursgraf | ||
---|---|---|---|
Line 2: | Line 2: | ||
This path planner with constant acceleration generates a trajectory where the acceleration is always constant. The trajectory leads from the start position to its end position. Both positions can be specified in several dimensions. The acceleration is set to a positive constant value. The velocity starts from 0 and goes up to its maximum value which can be chosen for each dimension. After this maximum velocity is reached the acceleration is set to 0 and the trajectory continues with constant velocity. Towards the end a constant deceleration makes sure that the final position is reached with the velocity reaching 0. | This path planner with constant acceleration generates a trajectory where the acceleration is always constant. The trajectory leads from the start position to its end position. Both positions can be specified in several dimensions. The acceleration is set to a positive constant value. The velocity starts from 0 and goes up to its maximum value which can be chosen for each dimension. After this maximum velocity is reached the acceleration is set to 0 and the trajectory continues with constant velocity. Towards the end a constant deceleration makes sure that the final position is reached with the velocity reaching 0. | ||
- | [{{ : | + | The user can choose |
+ | |||
- | The trajectory file is loaded with | + | [{{ : |
+ | |||
+ | With | ||
<code cpp> | <code cpp> | ||
- | | + | |
</ | </ | ||
- | where '' | + | you dispatch a new trajectory. The trajectory is calculated with the maximum acceleration, |
- | \\ | + | You can also choose a start position and move to an end position with |
- | When calling | + | |
<code cpp> | <code cpp> | ||
- | move(startPos); | + | |
+ | setStart(start); | ||
+ | | ||
</ | </ | ||
- | you dispatch a new trajectory. The trajectory is taken from the path file, no scaling is made. The trajectory starts from '' | + | |
- | \\ | + | |
- | You can also call | + | |
- | <code cpp> | + | |
- | move(time, startPos, deltaPos); | + | |
- | </ | + | |
- | This will take the trajectory from the file and scale it so that it starts at '' | + | |
eeros_architecture/control_system/available_blocks/pathplannerconstacc.1599120181.txt.gz · Last modified: 2020/09/03 10:03 by ursgraf