Skip to content
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

[Mujoco] lack of ground truth mode for attitude estimation #628

Open
tongtybj opened this issue Oct 27, 2024 · 2 comments
Open

[Mujoco] lack of ground truth mode for attitude estimation #628

tongtybj opened this issue Oct 27, 2024 · 2 comments

Comments

@tongtybj
Copy link
Collaborator

Mujoco does not support ground truth mode for attitude estimation like Gazebo:
https://github.com/jsk-ros-pkg/jsk_aerial_robot/blob/master/aerial_robot_simulation/src/simulation_attitude_controller.cpp#L63-L77

What is the reason to truncate this function @sugikazu75 ?

@sugikazu75
Copy link
Member

sugikazu75 commented Oct 27, 2024

I think I could not get baselink velocity and angular velocity using MuJoCo's API. So I gave up to implement grond truth mode for spinal, which requires the true value of angular velocity.

@tongtybj
Copy link
Collaborator Author

@sugikazu75

I see. I also realized it after creating this issue.
A simple workaround is to use the sensor plugin with zero noise to act as a ground truth generator.

For linear velocity, the value is desribed in local frame. So frame conversion is necessary.

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