Skip to content

ROS2 Humble application lidar data not working properly in container environment #471

@bahademircioglu

Description

@bahademircioglu

Description
We are running a ROS2 Humble-based application locally, and it works as expected. However, when running the same application inside a container with all dependencies installed, lidar data does not function correctly.

After troubleshooting, we found a workaround:

Run apt remove ros-humble-pcl-* inside the container.
Run apt install ros-humble-pcl-* immediately after.
After performing these commands, the previously non-functional lidar packages start working as expected. Unfortunately, this process has to be repeated every time the container is restarted.

Expected Behavior
Lidar data should work correctly in the container without needing to reinstall ros-humble-pcl-* packages after each container restart.

Current Behavior
Lidar data does not work correctly inside the container until the ros-humble-pcl-* packages are reinstalled.

Environment
ROS2 Distribution: Humble
Container Base Image: nvidia/cuda:12.2.0-base-ubuntu22.04
Host OS: Ubuntu 22.04

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