TrajectoryStates.msg¶
Overview¶
TrajectoryStates.msg reports the state of each trajectory known to Cartographer. It maps trajectory IDs to their current state via parallel arrays.
Constants¶
Constant |
Value |
Meaning |
|---|---|---|
|
|
The trajectory is actively being mapped. |
|
|
The trajectory has finished mapping. |
|
|
The trajectory is frozen and no longer being optimized. |
|
|
The trajectory has been deleted. |
Fields¶
Field |
Type |
Description |
|---|---|---|
|
|
The standard ROS header. |
|
|
The list of trajectory IDs. |
|
|
The state of each trajectory, parallel to |
Usage¶
The arrays are parallel:
trajectory_state[i]corresponds totrajectory_id[i].This message is returned by
GetTrajectoryStates.srv.Consumers can use the state to decide whether a trajectory is ready for finalization or can be reused.