-
Notifications
You must be signed in to change notification settings - Fork 75
LIDAR returns only minimum range in TB4 simulation without GPU #240
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When turtlebot4 is launched in a Gazebo simulation, if GPU is not enabled then the LiDAR rays are capped at its minimum range
System Description
Software:
OS: Ubuntu 24.04
Gazebo version: Harmonic
ROS: ROS2 Jazzy
System:
Nvidia graphic card: RTX 4080
Processor: Intel(R) Core(TM) i9-14900HX
RAM: 64GB
To Reproduce
Steps to reproduce the behavior:
- Open Nvidia X server settings
- Set PRIME Profiles to NVIDIA On-Demand
- Execute the tb4 simulation launch file: ros2 launch turtlebot4_gz_bringup turtlebot4_gz.launch.py
- echo the /scan topic or visualize the LiDAR scan data in Gazebo or rviz2
Expected behavior
Correct measurement values in /scan topic
Screenshots
Additional context
It works as expected in two instances:
- If the PRIME Profiles is set to NVIDIA (Performance Mode) which allows to use the GPU
- If the render engine is set to ogre2 instead of ogre here:
create3_sim/irobot_create_common/irobot_create_description/urdf/create3.urdf.xacro
Line 301 in c3cbc51
<render_engine>ogre</render_engine>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

