Ask Your Question

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?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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:

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


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

Seen: 118 times

Last updated: Feb 09