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

Does the topic /odom published by kobuki_node use imu or wheel encoder? #414

Open
willzoe opened this issue May 3, 2020 · 1 comment
Open

Comments

@willzoe
Copy link

willzoe commented May 3, 2020

I was a little confused when doing odometer fusion.

When using command roslaunch kobuki_node minimal.launch to start kobuki, check the published topic through the command rostopic list, I found that there are the following three topics:

/odom
/mobile_base/sensors/imu_data
/mobile_base/sensors/imu_data_raw

Then I also checked the value of the parameter /mobile_base/use_imu_heading is true through the command rosparam get /mobile_base/use_imu_heading.

  1. But I am not sure if the topic is published by imu.

  2. Does Kobuki have a wheel encoder, how to view its output?

@corot
Copy link
Collaborator

corot commented Aug 6, 2020

From base.yaml configuration file:

# Use imu readings for heading instead of encoders. That's the normal operation mode for Kobuki, as its
# gyro is very reliable. Disable only if you want to fuse encoders and imu readings in a more sophisticated
# way, for example filtering and fussing with robot_pose_ekf (bool, default: true)
use_imu_heading: true

In short, if use_imu_heading: true both odom and imu_data provide gyro heading. If false, only imu_data does.

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