ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

Laser_geometry ROS2 Eloquent python

asked 2020-05-17 07:53:49 -0500

svintissen gravatar image

Hi, I am trying to convert a laserscan to pointcloud using the laser_geomtry package. Ive made sure the package is installed by running " sudo apt install ros-eloquent-laser-geometry".

When I try to import the package using python it returns: "no module named 'laser_geometry' ". Does this package support python? If so, why does it not import?

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-02-09 14:03:01 -0500

jannkar gravatar image

I faced the same problem in ROS2 Foxy. Got it working by installing the package from source using ros2-branch: https://github.com/ros-perception/las...

I believe that the same branch would also work in Eloquent.

When installing from source I had to also install ros-foxy-sensor-msgs-py dependency on Foxy:

sudo apt-get update && sudo apt-get install ros-foxy-sensor-msgs-py
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-05-17 07:53:49 -0500

Seen: 376 times

Last updated: Feb 09 '22