Giter VIP home page Giter VIP logo

Comments (1)

josephduchesne avatar josephduchesne commented on June 29, 2024

Hi,

Are you using ros1 or the ros2 branch?

The laser scan is not currently visualized in Flatland Viz, however if you launch rviz you should be able to see it if you set the "Fixed Frame" to "base" or "laser_front".

The TF tree is probably missing a map->base transform (I believe rviz defaults its fixed frame to map), so it can't plot the laser scan since it doesn't know where it is in the map.

You can fix this by either launching another node to publish map to base, or map->odom->base depending. An alternative (not recommended if you're also using ros navigation to drive the robot around the simulation) is using the model tf publisher plugin to publish map->base. This is normally the job of the localization system you're using, but if you're just trying to simulate moving the bot around in flatland, you can do this for now.

There are also more options in the diff drive plugin described here:

https://flatland-simulator.readthedocs.io/en/latest/included_plugins/diff_drive.html

from flatland.

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.