-
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
Odometry value suddenly becomes large. #926
Comments
I was able to solve the error of the large initial value of odometry when starting turtlebot3_bringup by referring to the comments in the following link: #880 issuecomment-1166455498 .However, even if I set the initial value of odometry to 0, I still get errors like this one and cannot try self-position estimation or navigation using navigation2. |
Hi @kgallowa any idea of when will the fix be available? or any workaround you can recommend? highly appreciated. thanks a lot! |
Hi @foxydevelby , unfortunately I don't know of any fix yet. Thanks for posting, because I want to keep attention on this issue. As far as a workaround, here's what I've done so far.:
|
This issue looks like the OpenCR doesn't correctly handle the exceptional position reading from the DYNAMIXEL. |
Thank you for the reply @ROBOTIS-Will . Looking forward to the release! |
Thanks so much, @ROBOTIS-Will! I appreciate your work on this and look forward to the release! |
I confirmed that the present position data read from the OpenCR and saved in the |
Thanks @ROBOTIS-Will! Your work on that is much appreciated, and I'm glad to wait for a fix that gets to the root cause. I'm hoping it will fix both issues, i.e. 1) oddly large odom values at startup, and 2) odometry jumping in the middle of operation. |
@ROBOTIS-Will , Any update on the fix and release ? |
Hi, DYNAMIXEL saves data with little endian which causes FF FF FD sequence which happens to be identical to the packet header of DYNAMIXEL 2.0 protocol. We finally found the root of the problem, so this will very soon be fixed. FYI, the reason only ROS2 have this issue is because ROS firmwares don't request the entire control table to the OpenCR. I'll keep updated with the progress. |
Thanks for the update @ROBOTIS-Will. Nice to find the root cause. Sounds related to what @jobst-n found in #901 (comment). Looking forward to the fix. Thanks for your work on this! |
I'm reviewing the below hotfix. |
An updated OpenCR ROS2 firmware V220127R1 (0.2.1) is released. |
Thanks, @ROBOTIS-Will! Sorry for the slow response; I've been out of the office the last few days but will be back in tomorrow and plan to download and test out the new firmware then. |
Thanks for your work on this @ROBOTIS-Will! I had a chance to download and test the new firmware today. It does look like it has fixed the odometry jumps, which is great. I drove around for a while and didn't have any jumping. However, as mentioned in #880 (comment), I am still occasionally getting the extreme large odometry values at startup, i.e. the issue raised in #880. The problem here is that slam-toolbox crashes if I try to run it with these large odometry values ("terminate called after throwing an instance of 'karto:Exception'"). Is it possible to get a fix for this issue as well? Thanks! |
Thanks, @ROBOTIS-Will! Sorry for the late reply. Same as @kgallowa, I sometimes get errors with very large odometry values on startup and still setting odometry values by referring to #880 issuecomment-1166455498. |
Hi all, |
Hello @ROBOTIS-Will, I appreciate your help with these matters. "I sometimes get errors with very large odometry values on startup and still setting odometry values by referring to #880 issuecomment-1166455498." Please let us know when you have a solution. I'm using Turtlebot Burger, ROS 2 Foxy Fitzroy, Raspberry Pi 3B+ |
Hi @ROBOTIS-Will, just checking if there was any progress towards a fix for the large odometry data at initialization. Thanks! |
Hi @ROBOTIS-Will, just checking in again to see if there was progress on the firmware fix to initiatilze odometry at 0 instead of having the random large number described in the comments here. Thanks! |
Hi, I ran into the same issue where the turtlebot would have very large x and/or y positions. This happened on foxy with a rpi4 board. I fixed this by initializing the pose member in the |
This issue will be closed due to prolonged inactivity. Please try again with the Humble or Noetic versions, and if the issue persists, feel free to reopen it. |
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.
turtlebot3_bringup robot.launch.py
turtlebot3_navigation2 navigation2.launch.py
and move the robot.
Copy and Paste the error messages on terminal.
Please describe the issue in detail.
The text was updated successfully, but these errors were encountered: