.. _pilot.PilotState: pilot.PilotState ================ .. cpp:namespace:: pilot::PilotState Class ----- `PilotState` contains information about the current state of the robot. Fields ------ .. cpp:member:: long time POSIX timestamp in [usec] .. cpp:member:: pilot_mode_e pilot_mode Current pilot mode, see :ref:`pilot.pilot_mode_e`. .. cpp:member:: motion_mode_e motion_mode Current motion mode, see :ref:`pilot.motion_mode_e`. .. cpp:member:: LocalPlannerState* planner Current local planner state, see :ref:`pilot.LocalPlannerState`. .. cpp:member:: LocalizationStatus* localization Current localization status, see :ref:`pilot.LocalizationStatus`. .. cpp:member:: ExecutionState* execution Current task execution status, see :ref:`pilot.ExecutionState`. .. cpp:member:: bool is_recording If data recording is currently active, see topic ``vnx.recorder_status``.