clearpathrobotics / clearpath_simulator

BSD 3-Clause "New" or "Revised" License
8 stars 6 forks source link

Warehouse.sdf world physics restricting 2d lidars #16

Closed bartoszOlewinski closed 8 months ago

bartoszOlewinski commented 9 months ago

Please provide the following information:

To Reproduce Provide the steps to reproduce:

  1. Fresh install of ROS2 Humble
  2. Following tutorial steps to carry out simulation provided on the website: https://docs.clearpathrobotics.com/docs/ros/tutorials/simulator/install/
  3. Set up the Husky A200 with either one of supported 2d lidars
  4. Launch the simulation with the default world - the warehouse
  5. Turn on 'Lidar Visualization tool'
  6. Optionally can run echo on the scan topic, or use built-in tool to view the messages and see it sending 0.0 ranges.

Other notes I have changed the render engine tag in the warehouse.sdf file from: "ogre" to "ogre2" That has fixed the issue on my machine.

arthurgomes4 commented 9 months ago

yes you're right, changing line 12 of warehouse.sdf to use ogre2 with: <render_engine>ogre2</render_engine> fixes this issue. Although I've noticed that in its original state, the lidar visualization tool in fortress occasionally works erratically.