You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. First I would like to thank you for the development of flatland. It's a very interesting project.
Unfortunately I am unable to use the Laser plugin.
The laser rays do not appear in the simulator and when I use it on the robot, even when I move it around the map (teleop via twist messages) the values of the scan topic never change. If I change the robot's initial position, the values change. It's as if the laser isn't moving with the robot after initializing on the map.
Any tips for beginners? I've read the site's documentation but haven't found anything that I could be doing wrong.
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:
Hello. First I would like to thank you for the development of flatland. It's a very interesting project.
Unfortunately I am unable to use the Laser plugin.
The laser rays do not appear in the simulator and when I use it on the robot, even when I move it around the map (teleop via twist messages) the values of the scan topic never change. If I change the robot's initial position, the values change. It's as if the laser isn't moving with the robot after initializing on the map.
Any tips for beginners? I've read the site's documentation but haven't found anything that I could be doing wrong.
I am attaching my world and robot files (just renamed to .txt for upload purpose). Maybe it can help.
turtlebot2.model.yaml.txt
world.yaml.txt
Thanks in advance.
The text was updated successfully, but these errors were encountered: