Can't get a plugin to work on my model

asked 2019-03-27 22:26:23 -0500

mukund24 gravatar image

http://gazebosim.org/tutorials?cat=gu...

Based on these tutorials, I've tweaked a bit so that I can implement a plugin for Polaris Ranger (https://bitbucket.org/osrf/gazebo_mod...), and controlling it using the plugin.

On running it using gazebo --verbose ../polaris.world command, I get the following error: gzserver: /usr/include/boost/smart_ptr/shared_ptr.hpp:648: typename boost::detail::sp_member_access<t>::type boost::shared_ptr<t>::operator->() const [with T = gazebo::physics::Joint; typename boost::detail::sp_member_access<t>::type = gazebo::physics::Joint*]: Assertion `px != 0' failed.

I went through the shared_ptr.hpp file, and some forums online, but I couldn't find much help. Could someone please tell me where I'm going wrong? (I've attached the plugin and the world file as well.)

C:\fakepath\polaris.world

C:\fakepath\throttle_plugin.cc

Running gazebo 7 and ubuntu 16.04

edit retag flag offensive close merge delete