Skip to content

Issue with Physical Robot Response to IMU Data in CHAMP #152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jstut0011 opened this issue Mar 18, 2025 · 2 comments
Open

Issue with Physical Robot Response to IMU Data in CHAMP #152

jstut0011 opened this issue Mar 18, 2025 · 2 comments

Comments

@jstut0011
Copy link

Hi,

I'm having trouble getting the physical robot to respond to IMU data. I'm using the CHAMP project. The data is being sent, and the visualization in RViz works – the XYZ widget moves.

According to point 4 in the documentation, I should send data to the /imu/data topic:
https://github.com/chvmp/champ/wiki/Hardware-Integration

Can anyone help me figure out what I'm missing to make the physical robot respond to IMU movements?

Thanks!

@Quothd
Copy link

Quothd commented Mar 18, 2025

If I recall correctly from another issue - nothing is done with the IMU data.
You need to add the code interpreting the IMU data and using it to update the tilt / roll etc high level commands before they are sent to the IK. (you also need to set limits and averages otherwise it will constantly be overcompensating / adjusting stance based on the IMU data.

@jstut0011
Copy link
Author

jstut0011 commented Mar 19, 2025

If I recall correctly from another issue - nothing is done with the IMU data. You need to add the code interpreting the IMU data and using it to update the tilt / roll etc high level commands before they are sent to the IK. (you also need to set limits and averages otherwise it will constantly be overcompensating / adjusting stance based on the IMU data.

Do you mean this thread?
#134

EDIT:
@Quothd I tried to do this using champ lightweight on the Teensy 4.0. The data from the IMU is displayed correctly on the imu/raw topic, but only imu works in the configuration: Link to configuration, where the IMU is simulated, and the servos and control are handled by the ROS simulation.

However, when I tried to use real servos, I received the following message on the Jetson:
[Errno 16] could not open port: [Errno 16] device or resource busy: '/dev/ttyACM0'
Even though the port was displayed, and I assigned the correct permissions, the issue still persisted.

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

No branches or pull requests

2 participants