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

Proper transform for IMU #15

Open
rs73366 opened this issue Feb 7, 2023 · 0 comments
Open

Proper transform for IMU #15

rs73366 opened this issue Feb 7, 2023 · 0 comments

Comments

@rs73366
Copy link

rs73366 commented Feb 7, 2023

hi @fsteinhardt I followed README, accordingly i set up, my imu_frame_id as "imu_link". Similar imu_link has been defined in my urdf as well, my parent link is "base_link", now i define "tf_frame_id" as "imu_link" and "tf_parent_frame_id" as "base_link", however when i check in rviz, the tf tree shows base_link as well as imu_link coinciding instead of the actual position of imu link. the urdf contains as

<joint name="imu_joint" type="fixed"> <axis xyz="1 0 0"/> <!-- 0 1 0 --> <origin xyz="0.1 0 0.1"/> <parent link="base_link"/> <child link="imu_link"/> </joint>

and in my launch file
i have

<launch> <node pkg="mpu6050_serial_to_imu" type="mpu6050_serial_to_imu_node" name="mpu6050_serial_to_imu_node" required="true"> <param name="port" value="/dev/ttyACM1"/> <param name="time_offset_in_seconds" value = "0.0"/> <param name="broadcast_tf" value="true"/> <param name="imu_frame_id" value="imu_link"/> <param name="tf_frame_id" value="imu_link"/> <param name="tf_parent_frame_id" value="base_link"/> </node> </launch>
please help me to find a solution to this.

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