Ask Your Question

Customizing Turtlebot3: opencr position

asked 2019-12-05 07:02:25 -0500

june2473 gravatar image

I am trying to customize turtlebot3. I moved opencr in other place on robot's base, not the center. Here is my questions:

1) Since imu is located on opencr, Does it have affect to odom data? Or does imu data have affect to odometry data?

2) If it does, which part of opencr code should I modificate to get odom data correct? I mean "/odom" topic.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2019-12-10 22:46:07 -0500

june2473 gravatar image

I have found that place in opencr code, where imu have affect to odometry.

I decided to move opencr as it was located by default, on the center between wheels, instead of changing code in opencr.

edit flag offensive delete link more

answered 2019-12-05 08:51:11 -0500

ct2034 gravatar image

This depeds a lot on what slam / localization you use. Can you describe which software you call?

Assuming you use the turtlebot3 repo and your slam and localization is properly configured, you have to edit the imu_joint in this file.

edit flag offensive delete link more


does slam/localization actually use /imu topic or imu_joint frame? I thought they only use /odom topic as numbers and odom frame

june2473 gravatar image june2473  ( 2019-12-05 12:09:29 -0500 )edit

I use rtabmap, as I know rtabmap does not read /imu topic, only /odom, right?

june2473 gravatar image june2473  ( 2019-12-05 23:35:51 -0500 )edit

answered 2019-12-05 10:46:51 -0500

It will change the value of angular velocities and accelerations, yes. However if you're just using the orientation output, that actually doesn't matter, especially if its just moved but in the same orientation, because of rigid body transformations.

A rotation of a part is a rotation of a whole. This doesn't hold true for the other values which are used in the IMU to calculate orientation if you use them externally.

edit flag offensive delete link more


thanks for clarification, but anyway, can you show me exact file in turtlebot3 opencr code, where IMU data have affect to odom topic?

june2473 gravatar image june2473  ( 2019-12-05 12:21:51 -0500 )edit

No idea, I'm not a turtlebot user. I'm just your friendly neighborhood IMU user.

stevemacenski gravatar image stevemacenski  ( 2019-12-05 15:18:15 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2019-12-05 07:02:25 -0500

Seen: 171 times

Last updated: Dec 10 '19