-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Overwriting odometry #750
Comments
Hi @paolorugg Since |
Thank you for the fast reply. I have given a look at the code, and now my question is: will it be enough for my function to over write robot_pose_[] and reset to 0 values diff_joint_positions_[], or are there more variables to be reset? Because for the moment I would like to change only the position of the robot, and keep the estimated orientation. Thanks again. |
The orientiation isn't affected by the position of the robot as below. |
Thank you very much for the help, in the end I even integrated overwriting the orientation. Much appreciated |
What about overwriting odometry of Turtlebot3 if I am using ROS1? |
Hi @paolorugg, |
maybe this is useful for you: https://github.com/MikeHallettUK/RosRobotics/blob/master/resetodom.py |
Yeah sure. For an immediate solution you can download my_turtlebot3_node package from my github, that is a modified version of the turtlebot3 node. Then you have to use it instead of the official one. I hope this helps you! |
Hi, I'm new to ros and ran into the same problem setting up some turtlebots for a lab. The latest firmware update fixed the 'teleporting' problem on our foxy installation but the turtlebots with the raspberry pi4 boards would have very large initial odometer values as already mentioned above. I noticed that some members in the
to:
And then recompiling the turtlebot3_node with:
Now the turtlebot always starts with values that are very close to zero, which is good enough for our lab. My assumption is that the robot_pose is used as the starting value which might explain why they are not exactly zero, but I don't know enough about ros to be sure if that is actually the case. Hope this helps |
ISSUE TEMPLATE ver. 0.4.0
Which TurtleBot3 platform do you use?
Which ROS is working with TurtleBot3?
Which SBC(Single Board Computer) is working on TurtleBot3?
Which OS you installed on SBC?
Which OS you installed on Remote PC?
Specify the software and firmware version(Can be found from Bringup messages)
Specify the commands or instructions to reproduce the issue.
Copy and Paste the error messages on terminal.
Please describe the issue in detail.
I have also searched for a ros2 service to be used, but couldn't find any. Maybe there is something I'm missing on how turtlebot3 provides its position. If you could help me on this, it would be really appreciated.
The text was updated successfully, but these errors were encountered: