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

Using TF odometry instead of /odom #1817

Open
aalbaali opened this issue Apr 1, 2024 · 0 comments
Open

Using TF odometry instead of /odom #1817

aalbaali opened this issue Apr 1, 2024 · 0 comments

Comments

@aalbaali
Copy link

aalbaali commented Apr 1, 2024

I am using Cartographer for 2D SLAM using a single lidar and wheel encoders. I have my map frame set to map and tracking frame set to base. The issue I have is that the /tf: map -> odom produced by cartographer is jittery, and I'm not certain what's the cause.

I have two sources of odometry, so that may be the reason why this issue is taking place. Specifically, I have odometry being published on /odom (child frame being base_link and not base), and I have odometry published on tf: odom->base. Furthermore, the odometry on the /odom topic is noisier than the one on the /tf topic. My questions are as follows:

  1. Is it possible to configure Cartographer so that it uses the /tf: odom->base topic instead of using /odom (when setting use_odometry: true?
  2. Given that the odometry on the /odom topic is from the odom frame to the base_link (and not base) frame, does Cartographer take that into account (i.e., does it compute the odom->base transform using the base_link->base from the /tf tree) or does it automatically assume that the /odom messages are to the base frame?

I appreciate your help.

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

1 participant