User Tools

Site Tools


eeros_architecture:control_system:available_blocks:pathplannercubic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
eeros_architecture:control_system:available_blocks:pathplannercubic [2020/08/31 11:33] – [Path Planner Cubic] ursgrafeeros_architecture:control_system:available_blocks:pathplannercubic [2020/08/31 11:43] ursgraf
Line 8: Line 8:
 2.4000000e-01  -1.0000000e+04   2.4000000e+03   4.8000000e+02   5.3760000e+01 2.4000000e-01  -1.0000000e+04   2.4000000e+03   4.8000000e+02   5.3760000e+01
 </code> </code>
-The jerk within the second interval is 1e4 while the acceleration, velocity and position are all zero at the beginning of this interval. The jerk is set to zero in the third interval. The acceleration, velocity and position must be set to the values they reached at the end of interval two in order not to cause any discontinuities. +The jerk within the second interval is 1e4 while the acceleration, velocity and position are all zero at the beginning of this interval. The jerk is set to zero in the third interval. The acceleration, velocity and position must be set to the values they reached at the end of interval two in order not to cause any discontinuities. You have to calculate these values with an external tool.
 [{{ :eeros_architecture:control_system:available_blocks:pathplannercubic.png?600 |Path planner output for a given path}}] [{{ :eeros_architecture:control_system:available_blocks:pathplannercubic.png?600 |Path planner output for a given path}}]
  
-The trajectory may be scaled in time and jerk in order to achieve positional change +The trajectory file is loaded with  
-within a given time interval. +<code cpp> 
- +  init(filename); 
 +</code> 
 +where ''filename'' denotes file containing the new trajectory.  
 +\\ 
 +When calling 
 +<code cpp> 
 +  move(startPos); 
 +</code> 
 +you dispatch new trajectory. The trajectory is taken from the path file, no scaling is made. The trajectory starts from ''startPos'' and moves the distance given in the trajectory path file within the time given in the same file.
 \\ \\
-A path planner block has four output signals - jerkaccelerationvelocity, and position. +You can also call  
-===== Parameters ===== +<code cpp> 
-TODO+  move(timestartPosdeltaPos); 
 +</code> 
 +This will take the trajectory from the file and scale it so that it starts at ''startPos'' and moves the distance given by ''deltaPos'' within the desired ''time''
  
-===== Miscellaneous ===== 
-TODO 
eeros_architecture/control_system/available_blocks/pathplannercubic.txt · Last modified: 2020/09/03 08:58 by ursgraf