Home | Tutorials | Wiki | Issues
Ask Your Question
0

Plugin error when accessing a smart pointer. [closed]

asked 2013-03-24 19:10:48 -0600

lugd1229 gravatar image

updated 2013-04-08 15:34:27 -0600

nkoenig gravatar image

when I use

this->lContactUpdateConnection=event::Events::ConnectWorldUpdateStart( boost::bind(&AnimatePose1::OnLContactUpdate, this));

and when load the gazebo , the error will appear:

gazebo: /usr/include/boost/smartptr/sharedptr.hpp:418: T* boost::shared_ptr<t>::operator->() const [with T = gazebo::physics::World]: Assertion `px != 0' failed.

why happen this question, how to solve it?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by nkoenig
close date 2013-09-19 10:14:23.004755

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-03-25 02:19:33 -0600

AndreiHaidu gravatar image

Could we see more of the plugin? Or run it with gdb and get a bit more info about where the error occurs. You usually get this error when trying to access an object that is NULL.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-03-24 19:10:48 -0600

Seen: 94 times

Last updated: Apr 08 '13