Git Product home page Git Product logo

Comments (4)

mjeronimo avatar mjeronimo commented on July 26, 2024

Both navigator classes now get the current robot pose from the Robot class, which receives it from AMCL via the amcl_pose topic.

from navigation2.

SteveMacenski avatar SteveMacenski commented on July 26, 2024

@mjeronimo that's not the current pose, you should be checking TF for the current pose. That will only run every once in awhile (every 20cm or so) which isn't up to date or particularly accurate at any given time.

This is why folks use robot_pose_ekf, robot_localization, etc in order to get high rate accurate (according to model) pose estimates

from navigation2.

mikeferguson avatar mikeferguson commented on July 26, 2024

I'm just going to add a comment here for clarity: AMCL itself will only update every so often -- which means that the odom->map transform only gets updated occasionally. In theory, the odom->map shouldn't change quickly (unless you are slipping wheels/etc).

The base_link->odom should be updating at the rate of the base controller odom/tf publication, which should be much higher (alternatively, the base controller might not publish TF, but rather let something like robot_localization fuse the base odometry and IMU to get a more accurate base_link->odom TF publication).

TF is still the right way to get the base_link->map transformation though.

from navigation2.

mkhansenbot avatar mkhansenbot commented on July 26, 2024

Let's open a new issue for the change to use TF for the initial starting pose

from navigation2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.