Giter Club home page Giter Club logo

Comments (3)

SteveMacenski avatar SteveMacenski commented on July 28, 2024

https://github.com/SteveMacenski/slam_toolbox/blob/ros2/src/slam_toolbox_common.cpp#L645C27-L645C38

It appears that we timestamp it with the last laser reading, so if none have come in yet for the first after deserialization, then I can see how 0 happens. Any suggestions? :-)

from slam_toolbox.

marco-monforte avatar marco-monforte commented on July 28, 2024

There must be something broken in the TF tree.

The /map, /odom, and /top_laser_controller/out are publishing correctly. Also, I get a TF with ros2 run tf2_ros tf2_echo odom base_link. What I don't get is the TF from ros2 run tf2_ros tf2_echo map odom.

The lidar messages are not consumed, since I get [slam_toolbox]: Message Filter dropping message: frame 'top_laser_frame' at time XX.XXX for reason 'discarding message because the queue is full'. If I've understood correctly, this is what's causing the map to be initially timestamped with 0, but I can't understand what's the origin of the missing TF 🤔

EDIT: I'm sorry but I'm new to ROS2 and slam_toolbox, so it is all a bit confusing to me

from slam_toolbox.

marco-monforte avatar marco-monforte commented on July 28, 2024

Ok, I've found the error. The timestamp of the odometry was wrong. Once fixed, slam_toolbox worked properly 🚀

from slam_toolbox.

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.