Skip to content

Add missing messages and services#25

Open
YoheiHayamizu wants to merge 2 commits into
unitreerobotics:masterfrom
YoheiHayamizu:add-msgs
Open

Add missing messages and services#25
YoheiHayamizu wants to merge 2 commits into
unitreerobotics:masterfrom
YoheiHayamizu:add-msgs

Conversation

@YoheiHayamizu

Copy link
Copy Markdown

This pull request adds new message and service definitions to the unitree_api, unitree_go, and unitree_hg packages, expanding their ROS interface capabilities. The main changes include the addition of a generic service interface, new status and state messages, and updates to the build configuration to include these files.

API and Interface Additions:

  • Added a new service definition srv/Generic.srv to unitree_api, which defines a generic request/response service interface (CMakeLists.txt, Generic.srv). [1] [2]
  • Added a new message type msg/ConfigChangeStatus.msg to unitree_go for reporting configuration change status, including name and content fields (CMakeLists.txt, ConfigChangeStatus.msg). [1] [2]
  • Added a new message type msg/SportModeState.msg to unitree_hg for reporting sport mode state, with fields for FSM ID, FSM mode, task ID, and task time (CMakeLists.txt, SportModeState.msg). [1] [2]

Defines DoubleIMUState.msg for dual-IMU data with fields:
- quaternion (float32[4])
- gyroscope (float32[3])
- accelerometer (float32[3])
- rpy (float32[3])
- temperature (int16)
- tick (uint32)

Includes CMakeLists.txt with rosidl_generate_interfaces and
DDS IDL generation, and package.xml with geometry_msgs dependency.
@wjbbupt wjbbupt self-requested a review May 26, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant