ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

imu_link does not rotate?

asked 2020-08-18 08:28:16 -0500

Ahmed_Desoky gravatar image

updated 2020-08-18 08:44:58 -0500

i am using mpu9250 by using this package jeskesen /i2c_imu and run rosrun rviz rviz .

But imu_link doesn't rotate by rotating the real imu, the imu_link is fixed with base_link.

edit retag flag offensive close merge delete

Comments

What are you using for frame in RVIZ?

billy gravatar image billy  ( 2020-08-20 12:18:53 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-08-21 03:24:34 -0500

Ahmed_Desoky gravatar image

add

<?xml version="1.0"?>
<robot name="dyn_controller" xmlns:xacro="http://www.ros.org/wiki/xacro">
  <joint name="imu_joint" type="fixed">
    <parent link="base_link" />
    <child link="imu_link" />
  </joint>
</robot>
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-08-18 08:28:16 -0500

Seen: 280 times

Last updated: Aug 21 '20