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

How to use wheel odometry as the initial position for scan matching #251

Open
SaltUhey opened this issue Jan 12, 2023 · 1 comment
Open

Comments

@SaltUhey
Copy link

SaltUhey commented Jan 12, 2023

Hey, @koide3 and all.

I want to use my own wheel odometry as the initial position for scan matchingin in your hdl_graph_slam.

How to perform SLAM using only wheel odometry has already been described in #74.
According to what was stated in #74, You have to remove scan_matching_odometry_nodelet and publish my own odometry to use my own /odom topic.

However, I want to use my own wheel odometry as the initial position for scan matchingin in your hdl_graph_slam.

I believe that I can use the wheel odometry as the initial position for scan matching by using the optional arguments in the launch file, but I don't know how to use it.
I think it has something to do with the following that exists in each launch file.

<!-- optional arguments -->
<arg name="enable_robot_odometry_init_guess" default="false" />
<arg name="robot_odom_frame_id" default="robot_odom" />

I don't understand what robot_odom_frame_id corresponds to.
If you could tell me what it is, I would appreciate it.

@SaltUhey SaltUhey changed the title How to use my own odometry How to use wheel odometry as the initial position for scan matching Jan 25, 2023
@rokusottervanger
Copy link

Same question here. I am trying to set enable_robot_odometry_init_guess to true and I set the robot_odom_frame_id to odom (whereas the output of the lidar odometry nodelet is icp_odom). However, I'm repeatedly getting this error:

[ WARN] [1700147569.776347216, 1699979736.812924720]: failed to look up transform between base_link and odom

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