Comments (4)
I tried your bag:
ros2 bag play rosbag2_2024_05_28-18_34_14/rosbag2_2024_05_28-18_34_14_0.db3
ros2 run rtabmap_odom icp_odometry --ros-args -r scan:=/sick_tim_left/scan -p frame_id:=sick_tim_left
I don't see odometry getting lost in this one:
One thing I discovered this weekend is that on some machines icp can be super slow. Here the typical performance you should get:
[1717388334.118019026] Odom: ratio=0.680203, std dev=0.008103m|0.002562rad, update time=0.005686s
[1717388334.123897000] Odom: ratio=0.680203, std dev=0.008103m|0.002562rad, update time=0.005381s
[1717388334.185096811] Odom: ratio=0.679901, std dev=0.007922m|0.002505rad, update time=0.005960s
[1717388334.191052915] Odom: ratio=0.679901, std dev=0.007922m|0.002505rad, update time=0.005136s
[1717388334.251740149] Odom: ratio=0.658537, std dev=0.008134m|0.002572rad, update time=0.006070s
[1717388334.258144095] Odom: ratio=0.658537, std dev=0.008134m|0.002572rad, update time=0.005889s
[1717388334.318447767] Odom: ratio=0.681013, std dev=0.007983m|0.002525rad, update time=0.005901s
[1717388334.323697519] Odom: ratio=0.681013, std dev=0.007983m|0.002525rad, update time=0.004749s
[1717388334.385156413] Odom: ratio=0.680798, std dev=0.007840m|0.002479rad, update time=0.005346s
If you have some updates with processing time way higher than other updates, you may try setting export OMP_WAIT_POLICY=passive
before launching icp_odometry
.
from rtabmap_ros.
Can you share a small rosbag of the scan topic /sick_tim_left/scan
till icp_odometry
fails? Is the robot navigating in large empty space (out of range of the lidar)?
from rtabmap_ros.
rosbag2_2024_05_28-18_34_14.zip
I attached the rosbag. Yes, there are spaces which are out of range. But if that's the problem, then the node should stop immediately after launching, as there are out of range spaces as well.
In case it's relevant, my ros-humble-rtabmap
version is 0.21.4-1jammy.20240517.170731
and for ros-humble-rtabmap-odom
it's 0.21.4-2jammy.20240522.172901
.
from rtabmap_ros.
I think it's indeed a hardware performance issue. I couldn't reproduce the issue after setting that flag.
Not related to this issue, but I mentioned that my visual odometry also stops (setting itself to maximum covariance and some random value for yaw velocity). I got that fixed by following this guide for increasing speed/reducing accuracy.
To summarize, it's likely that both odometry nodes stopped due to performance issues.
Thank you for your help!
from rtabmap_ros.
Related Issues (20)
- Detected not valid consecutive stamps HOT 3
- /map frame is rotating randomly. HOT 7
- Bad time in TF messages HOT 1
- How can I combine a realsense d455 camera with a lidar ? HOT 2
- Ubuntu20.04 Noetic uses the problem of RTAB.librtabmap_rviz_plugins.so HOT 1
- Monocular camera and imu HOT 1
- Using a different frame for mapping HOT 1
- Tune localization with 2d lidar. HOT 1
- ICP Odometry stops and resumes HOT 1
- rtabmap create map not properly HOT 1
- Slow ICP odometry with high CPU usage (100%) HOT 1
- Creating RTABMAP from Ground Truth Poses HOT 1
- Extracting Poses From RTABMAP HOT 1
- Inlier Visualization HOT 4
- Please help me. OpenCV xfeatures2d: true, but the results seem to be the same even if different feature algorithms are used. HOT 1
- Odom topic in python HOT 1
- 2d Map Editor in database viewer save issue HOT 1
- Fusing RGBD odometry and wheel odometry on ROS2 Humble HOT 4
- D435+ROS Noetic+RTABMap does not start HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtabmap_ros.