Robotics StackExchange | Archived questions

How to change Laser Scan frame for Gazebo Robot

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 (baselaser) instead of separate frames (something like tfpre/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[Huskyh1] is attempting to load a plugin, but detected an incorrect plugin type. Plugin filename[libgazeboroslaser.so] name[lasercontroller] Segmentation fault (core dumped)

Do anyone have experience with this issue? Thanks

Asked by ryanyoon on 2017-09-14 16:02:57 UTC

Comments

Answers