turtlebot / turtlebot4

Turtlebot4 common packages.
Apache License 2.0
92 stars 43 forks source link

Dummy names for gazebo plugin is valid? #435

Open AltinayGrass opened 5 days ago

AltinayGrass commented 5 days ago

Robot Model

Turtlebot4 Standard

ROS distro

Humble

Networking Configuration

Simple Discovery

OS

Ubuntu 22.04

Built from source or installed?

Installed

Package version

ros-humble-turtlebot4-simulator

Type of issue

LIDAR

Expected behaviour

scan topic and data

Actual behaviour

yes topic but not logical data

Error messages

No error message

To Reproduce

ros2 launch turtlebot4_ignition_bringup turtlebot4_ignition.launch.py slam:=true nav2:=true rviz:=true

Other notes

There are below line in "turtlebot4_description/urdf/sensors/rplidar.urdf.xacro"

  <gazebo reference="${name}_link">
    <xacro:ray_sensor sensor_name="${name}" gazebo="${gazebo}" 
                  update_rate="62.0" visualize="1" 
                  h_samples="640" h_res="1.0" h_min_angle="${-pi}" h_max_angle="${pi}" 
                  r_min="0.164" r_max="12.0" r_res="0.01">
                  <plugin name="dummy" filename="dummyfile"></plugin>
    </xacro:ray_sensor>
    <xacro:material_darkgray/>
  </gazebo>

Should we correct plugin name and filename?

RustyCPR commented 4 days ago

Hi @AltinayGrass Can you please confirm the PC hardware you are running the simulation on? do you have a GPU?  Please provide package versions, an example of data and/or error and screenshot from Gazebo including the visualization of the lidar rays.

Thank you, Rusty

AltinayGrass commented 3 days ago

Hi RustyCPR,

Thank you for your questions, I think that these are for solving my problem. However I still haven't got an answer to my question. Can you please confirm whether "dummy" means nonfunctional or need to be filled?

AltinayGrass commented 3 days ago

image