Skip to content

Add publisher for base IMU on /imu_lowstate#6

Open
LouKordos wants to merge 2 commits intoUnitree-Go2-Robot:refactoring-featuresfrom
LouKordos:humble
Open

Add publisher for base IMU on /imu_lowstate#6
LouKordos wants to merge 2 commits intoUnitree-Go2-Robot:refactoring-featuresfrom
LouKordos:humble

Conversation

@LouKordos
Copy link

Description

As discussed in Issue 41 of the go2_robot repository, there is currently no topic for the base IMU data in a standard ROS2 sensor_msgs format being published.

This PR is a simple adjustment to the callback that handles the lowstate messages of the Go2, extracing the IMU state and publishing it under `/imu_lowstate´.

Checklist

  • I have formatted the code to pass the CI.
  • Extend the test.

Screenshots / Images / Videos

Unfortunately, I am not at the office right now but I tested it and already used the topic in my code. A simple ros2 topic list and ros2 topic echo and comparing to the data reported by `/lowstate´ shows that it's functioning correctly.

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.

2 participants