Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

TransformBroadcaster and Gazebo plugins

Hi, I have been wanting to get various Gazebo plugins working with ROS, starting with Differential Drive plugin. I would like to get sdf files working with gazebo plugins. I had some small success getting Twist messages to change joint states, but now I want to get odometry working. I have just pieced together what I could from erratic_gazebo_plugins and the DRCSim plugins.

DiffDriveROSPlugin.cpp

Any time I want to declare a TransformBroadcaster type I get this error: gazebo: symbol lookup error:

this->transformBroadcaster = new tf::TransformBroadcaster();

/home/thelegace/fuerte_workspace/ales_robot/ales_msgs/lib/libDiffDriveROSPlugin.so: undefined symbol: _ZN2tf20TransformBroadcasterC1Ev

If I comment out the transform broadcaster instantiation my plugin loads fine. The pioneer2dx model file.

Please let know if there any issue with the code or anything else that I am doing.

TransformBroadcaster and Gazebo plugins

Hi, I have been wanting to get various Gazebo plugins working with ROS, ROS using SDF format, starting with Differential Drive plugin. I would like to get sdf files working with gazebo plugins. I had some small success getting Twist messages to change joint states, but now I want to get odometry working. I have just pieced together what I could from erratic_gazebo_plugins and the DRCSim plugins.

DiffDriveROSPlugin.cpp

Any time I want to declare a TransformBroadcaster type I get this error: this->transformBroadcaster = new tf::TransformBroadcaster();

gazebo: symbol lookup error:

this->transformBroadcaster = new tf::TransformBroadcaster();

/home/thelegace/fuerte_workspace/ales_robot/ales_msgs/lib/libDiffDriveROSPlugin.so: undefined symbol: _ZN2tf20TransformBroadcasterC1Ev

If I comment out the transform broadcaster instantiation my plugin loads fine. The pioneer2dx model file.

Please let know if there any issue with the code or anything else that I am doing.

TransformBroadcaster and Gazebo plugins

Hi, I have been wanting to get various Gazebo plugins working with ROS using SDF format, starting with Differential Drive plugin. I had some small success getting Twist messages to change joint states, but now I want to get odometry working. I have just pieced together what I could from erratic_gazebo_plugins and the DRCSim plugins.

DiffDriveROSPlugin.cpp

this->transformBroadcaster = new tf::TransformBroadcaster();

Any time I want to declare a TransformBroadcaster type I get this error: this->transformBroadcaster = new tf::TransformBroadcaster();error:

gazebo: symbol lookup error:

/home/thelegace/fuerte_workspace/ales_robot/ales_msgs/lib/libDiffDriveROSPlugin.so: undefined symbol: _ZN2tf20TransformBroadcasterC1Ev

If I comment out the transform broadcaster instantiation my plugin loads fine. The pioneer2dx model file.

Please let know if there any issue with the code or anything else that I am doing.