topics

Get Latest Message

Return the latest message data for the given topic.

On-demand capture mode: the first request only raises a flag and returns null; the next received message populates latest_message. Clients re-fetch via refetchInterval to pick up the actual data. The contents of message depend on the ROS message type (msg_type) and the structure varies dynamically.

get/api/topics/message

Request

  • The document declares no server URL.
  • Auth: none declared

Query parameters

topicstring required

Topic name (e.g. /joint_states)

Response

Successful Response

messageobject nullable required

ROS-message-type-dependent dict; null when no message has been received yet

Changes

No recorded changes to this operation across all 5 revisions of this API.