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

Gazebo plugin-Failed to resolve RegisterPlugin error+ Gazebo topic visualization

asked 2015-05-08 06:46:11 -0500

Haz88 gravatar image

BH

I'm trying to attach a plugin to a launch file. When launching the file, I keep getting this error: Error [Plugin.hh:158] Failed to resolve RegisterPlugin: /home/hayim/buildworldtutorial/build/libwall1world.so: undefined symbol: RegisterPlugin[ INFO] [1431075019.325996696]: Starting plugin Kobuki(ns = //)!

Must mention,The plugin is attached according to the [Overview of Gazebo Plugins tutorial] while the names are changed and also the helloworld.cc file.

Generally, the code should move the turtlebot forward and I wish to see that in gazebo.

By the way, how come I can't see the cmd_vel_mux topic by picking the topic visualization tab on Gazebo?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-05-13 10:03:11 -0500

dudds4 gravatar image

I had the same problem, which in my case was caused by forgetting to include the macro "GZ_REGISTER_MODEL_PLUGIN(MyPlugin)" in the gazebo namespace.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-05-08 06:46:11 -0500

Seen: 740 times

Last updated: May 08 '15