Skip to content

Message and Service Types ​

Browse each custom PyLoN ROS 2 interface. Pages include field types, array bounds, constants, and the original definition with comments. Nested messages link to their definitions; standard types link to the official ROS 2 Jazzy reference.

Messages (.msg) ​

Services (.srv) ​

Type notation and inspection ​

Topic types use package/msg/TypeName; service types use package/srv/TypeName. Inside .msg files, geometry_msgs/Point refers to geometry_msgs/msg/Point, and EngineCommand refers to pylon_interfaces/msg/EngineCommand in the same package.

float64[9] is a fixed array of nine elements; EngineCommand[<=16] is a variable array of at most 16 elements; string[] is an unbounded variable array. A — in the value column means no explicit default. ROS 2 implicit defaults are zero for numbers, false for bool, an empty string for string, and an empty array for variable arrays. Constants are listed separately from fields. Consult source comments and API pages for units, frames, and validity conditions; a field type alone does not define units.

After sourcing ROS and the PyLoN workspace, inspect the installed types with:

bash
ros2 interface list
ros2 topic type /ksp_vessel/ground_truth/flight
ros2 interface show pylon_interfaces/msg/FlightState
ros2 interface show pylon_interfaces/srv/GetSeparationResult

Notation follows the ROS 2 interface definition specification.

Snapshot provenance ​

PyLoN/Ros2/pylon_interfaces · Git base: 59a5805cf260

Includes local changes at capture time; these are not the exact definitions at the commit above. Builds use the stored definitions and do not require a clone of PyLoN. If your installed version differs, inspect it with ros2 interface show. See the docs README for update instructions.

Guides and API references for building ROS2 applications with PyLoN