Robotics StackExchange | Archived questions

Laser frame for robot simulation

Hi, I am simulating two husky robots in ros. When I run the simulation, the others parts work well but somehow my Laser scan uses baselaser frame instead of something like tfprefix/baselaser frame. I know I can get data from baselaser by adding statictransformpublisher between baselaser and tfprefix/base_laser frame but if I do so, since Im linking with both robots, the tf will switch between two and would not work as intended.

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-13 20:37:27 UTC

Comments

If you're using Gazebo, you may have a better chance of getting answers at http://answers.gazebosim.org/questions/

Asked by jayess on 2017-09-14 14:16:37 UTC

Thank you Jayess

Asked by ryanyoon on 2017-09-14 21:38:13 UTC

just in general how do I change the frame of which Laser Scan uses? Does anyone no how to do it?

Asked by ryanyoon on 2017-09-15 12:42:59 UTC

Answers