maneuver component
- Ports
- Services
- set_bounds (function)
- set_velocity_limit (function)
- set_acceleration_limit (function)
- set_jerk_limit (function)
- set_snap_limit (function)
- get_limits (function)
- set_state (function)
- set_current_state (activity)
- take_off (activity)
- goto (activity)
- waypoint (activity)
- velocity (function)
- replay (activity)
- wait (activity)
- stop (activity)
- get_reference (attribute)
- set_horizon (activity)
- log (function)
- log_stop (function)
- log_info (function)
- Tasks
Kinodynamic Trajectory Planner
This component is a spline-based, minimum time, constant snap trajectory generator. It applies to any robot with decoupled dynamics (or differencially flat).
Ports
state (in)
Data structure
|
desired (out)
Data structure
|
horizon (out)
Data structure
|
Moving horizon of the current motion.
See set_horizon (activity) to configure this port.
Services
set_bounds (function)
Inputs
|
Configure the limits of the free space.
x
, y
and z
minimum and maximum bounds limit the extend of
the planned motion. Any trajectory going beyond these limits will be
silently clipped. yaw
limits in the same way the heading of the
robot.
The planner does not consider the yaw orientation
as modulo 2π. Hence, 0 and 2π represent different positions and
going from an orientation of 0 to a one of 2π will make a full
rotation. This must be considered when setting the yaw limits. A
typical setting could thus be yawmin = -2π and yawmax = 2π to
allow any positive or negative orientation goal.
|
get_limits (function)
Outputs
|
set_current_state (activity)
Throws
|
Context
|
Set initial planning position to current one
take_off (activity)
Inputs
|
Throws
|
Context
|
Vertical take-off or landing from current state.
take_off
plans and executes a trajectory from the current internal
state (see set_current_state (activity)) to the state corresponding to the
same X, Y position and the absolute Z coordinate equal to height
.
This position is reached with a 0 acceleration and velocity.
Any ongoing motion is cancelled and the planned trajectory is executed immediately.
goto (activity)
Inputs
|
Throws
|
Context
|
Reach a given position from current state.
The planner does not consider the yaw orientation
as modulo 2π. Hence, 0 and 2π represent different positions and
going from an orientation of 0 to a one of 2π will make a full
rotation.
|
waypoint (activity)
Inputs
|
Throws
|
Context
|
Push a given position to be reached after the last one.
The planner does not consider the yaw orientation
as modulo 2π. Hence, 0 and 2π represent different positions and
going from an orientation of 0 to a one of 2π will make a full
rotation.
|
velocity (function)
Inputs
|
Throws
|
Context
|
Reach a desired velocity within a given duration
replay (activity)
Inputs
|
Throws
|
Context
|
Replay a trajectory log file
stop (activity)
Throws
|
Context
|
Cancel any motion and bring the velocity to zero
get_reference (attribute)
Outputs
|
set_horizon (activity)
Inputs
|
Outputs
|
Throws
|
Context
|
Set sampling rate and duration of horizon port
This service activates the publication of the horizon
port.
The input parameters are adapted to match the internal
sampling rate of trajectories, but are guaranteed to be at
least as big as requested. The actual values are returned as
output parameters
Passing 0 as the number of samples uses the internal
sampling rate. Passing 0 for both duration and number of
samples disables publishing of the horizon
port.
Tasks
exec
Context
|