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

it is possible to increase the frequency of map -> icp_odom/odom to 200 or more!!! or increase the frequency of localization. i can't do path follow on the correct path. #1279

Open
qetuo105487900 opened this issue May 9, 2024 · 2 comments

Comments

@qetuo105487900
Copy link

Screenshot from 2024-05-09 00-09-54
based on rtabmap the frequency map -> icp_odom/odom only 20 that too slow

at least, like cartographer the frequency map -> icp_odom/odom only has 195
Screenshot from 2024-05-09 00-09-24

@qetuo105487900 qetuo105487900 changed the title it is possible to increase the frequency map -> icp_odom/odom it is possible to increase the frequency of map -> icp_odom/odom to 200 or more!!! May 9, 2024
@qetuo105487900 qetuo105487900 changed the title it is possible to increase the frequency of map -> icp_odom/odom to 200 or more!!! it is possible to increase the frequency of map -> icp_odom/odom to 200 or more!!! i can't do path follow on the correct path. May 9, 2024
@qetuo105487900 qetuo105487900 changed the title it is possible to increase the frequency of map -> icp_odom/odom to 200 or more!!! i can't do path follow on the correct path. it is possible to increase the frequency of map -> icp_odom/odom to 200 or more!!! or increase the frequency of localization. i can't do path follow on the correct path. May 9, 2024
@qetuo105487900
Copy link
Author

this is set Rtabmap/DetectionRate as default 1
Screenshot from 2024-05-10 00-40-11
the rate only 0.8 hz

this is set Rtabmap/DetectionRate as 30
Screenshot from 2024-05-10 00-40-29

the rate only 4.x hz

@matlabbe
Copy link
Member

matlabbe commented May 12, 2024

With Rtabmap/DetectionRate=30, if output is ~4Hz, it means rtabmap node requires ~250 ms to process on your system.

for icp_odom -> odom, icp_odometry won't publish faster than input data or could be limited by computer power. If you use a lidar at 10Hz, if icp_odometry is 10 Hz, it means it doesn't drop any frame and is processing as fast as it can.

For map->icp_odom, the default is 20 Hz, but you can make it arbitrary any rate by setting tf_delay to 0.005 for 200 Hz (default 0.05 or 20 Hz). See also answer here: #1277 (comment)

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