|
| | BangBangTrajectory1DAngular (Angle initial_orient, Angle final_orient, AngularVelocity initial_angular_vel, AngularVelocity max_angular_vel, AngularAcceleration max_angular_accel, AngularAcceleration max_angular_decel) |
| |
| void | generate (Angle initial_orient, Angle final_orient, AngularVelocity initial_angular_vel, AngularVelocity max_angular_vel, AngularAcceleration max_angular_accel, AngularAcceleration max_angular_decel) |
| |
| Angle | getPosition (double t_sec) const override |
| |
| AngularVelocity | getVelocity (double t_sec) const override |
| |
| AngularAcceleration | getAcceleration (double t_sec) const override |
| |
| double | getTotalTime () const override |
| |
| Angle | getDestination () const |
| |
◆ BangBangTrajectory1DAngular()
Generate a 1D trajectory from the initial orientation to the final orientation with the given initial angular velocity and kinematic constraints.
- Note
- Refer to BangBangTrajectory1DAngular::generate for more details
- Parameters
-
| initial_orient | Starting orientation of the trajectory |
| final_orient | Destination. Where the trajectory should end at |
| initial_angular_vel | The angular velocity at the start of the trajectory |
| max_angular_vel | The maximum angular velocity (magnitude) the trajectory could have |
| max_angular_accel | The maximum angular acceleration the trajectory could have |
| max_angular_decel | The maximum deceleration the trajectory could have |
◆ generate()
Generate a 1D trajectory from the initial orientation to the final orientation with the given initial angular velocity and kinematic constraints.
- Note
- The generated trajectory will be the shortest between the two orientations. E.g. Rotating from 0 to 360 degrees will generate a trajectory with no rotation.
-
This method will overwrite the existing trajectory.
-
The generated trajectory will always have a final angular velocity of 0
- Parameters
-
| initial_orient | Starting orientation of the trajectory |
| final_orient | Destination. Where the trajectory should end at |
| initial_angular_vel | The angular velocity at the start of the trajectory |
| max_angular_vel | The maximum angular velocity (magnitude) the trajectory could have |
| max_angular_accel | The maximum angular acceleration the trajectory could have |
| max_angular_decel | The maximum deceleration the trajectory could have |
◆ getAcceleration()
◆ getPosition()
| Angle getPosition |
( |
double |
t_sec | ) |
const |
|
overridevirtual |
◆ getTotalTime()
| double getTotalTime |
( |
| ) |
const |
|
overridevirtual |
◆ getVelocity()
The documentation for this class was generated from the following files: