# GetTrajectoryStates.srv ## Overview `GetTrajectoryStates.srv` retrieves the current state of all trajectories known to the Cartographer node. ## Request This service has an empty request. ## Response | Field | Type | Description | | --- | --- | --- | | `status` | `cartographer_ros_msgs/StatusResponse` | The outcome of the request; check `code` against `StatusCode.OK`. | | `trajectory_states` | `cartographer_ros_msgs/TrajectoryStates` | The trajectory ID/state mapping for all known trajectories. | ## Usage - Callers use the returned `trajectory_states` to discover trajectory IDs and their states (ACTIVE, FINISHED, FROZEN, or DELETED).