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

Random initial Orientation Madgwick filter #205

Open
Somethingout opened this issue Jul 31, 2024 · 0 comments
Open

Random initial Orientation Madgwick filter #205

Somethingout opened this issue Jul 31, 2024 · 0 comments

Comments

@Somethingout
Copy link

Hi,

(ROS2 Humble) I am using the Madgwick filter to get imu orientation from linear and angular velocities and then I fuse the orientation (yaw) with the robot wheel odometry (vx,vy,vyaw). it is working fine however sometimes when I start my robot I get a random initial orientation but the expected orientation would be to have the robot frame/imu frame aligned with the odom frame.

  • Robot_localization package is responsible for publishing tf.
  • The madgwick filter has the following settings :
    madgwick_filter_use_mag: False
    madgwick_filter_gain: 0.01
    madgwick_filter_output_frame_id: imu_link
    madgwick_filter_fixed_frame: base_link
    madgwick_filter_world_frame: enu
    madgwick_filter_publish_tf: False

How can I fix this issue?

Thanks.

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

1 participant