How to change Laser Scan frame for Gazebo Robot

asked 2017-09-14 16:02:57 -0500

Hi, I am simulating two husky robots in ros. Odometry and others are working for the simulation but for some reason I cannot pass by tf prefix I set for each controller to the Laser Scan. As a result two Laser Scan on each robot use the same frame (base_laser) instead of separate frames (something like tf_pre/base_laser). Is there a way to solve this issue?

I was trying to solve this problem by adding laser plugin to my urdf file but somehow I get a error message

Error [Model.cc:745] Model[Husky_h1] is attempting to load a plugin, but detected an incorrect plugin type. Plugin filename[libgazebo_ros_laser.so] name[laser_controller] Segmentation fault (core dumped)

Do anyone have experience with this issue? Thanks

edit retag flag offensive close merge delete