Skip to content

LaserScan points is not rendered in Unity gamemode #311

@chwu-rwth

Description

@chwu-rwth

Describe the bug
LaserScan points is not rendered in Unity gamemode.
RViz is running perfectly fine as well as game mode in Unity. /map and /costmap can be rendered without any problem but the LaserScan is somewhat missing even when enabled from the UI.

To Reproduce
Steps to reproduce the behavior:

  1. Exactly as tutorials and instructions.
  2. Uses the DefaultVisualizationSuite/sensor_msgs/LaserScan child for the rendering of the points.
  3. Run "ros2 launch unity_slam_example unity_slam_example.py" in terminal.

Expected behavior
The points from the LaserScan are rendered in Unity during play mode.

image

Environment (please complete the following information, where applicable):

  • Unity Version: Unity 2021.3
  • Unity machine OS : Ubuntu 22.04
  • ROS machine OS : Humble

Additional context

Points in Rviz are rendered properly.
image

OccupancyGrid from /map is also working fine.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions