Ask Your Question

contact sensor has no member named contacts

asked 2016-08-29 05:51:26 -0500

dinesh gravatar image

updated 2016-08-29 16:05:20 -0500

I was following this tutorial , but as i try to build the code i get theis error msg:

/usr/include/boost/asio/detail/impl/socket_ops.ipp:266:5: note:   ‘boost::asio::detail::socket_ops::bind’
 int bind(socket_type s, const socket_addr_type* addr,
/home/rob/Documents/gazebo_contact_tutorial/ In member function ‘virtual void gazebo::ContactPlugin::OnUpdate()’:
/home/rob/Documents/gazebo_contact_tutorial/ error: ‘class gazebo::sensors::ContactSensor’ has no member named ‘Contacts’
   contacts = this->parentSensor->Contacts();

How to remove it? I am using ros indigo.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2016-08-30 12:38:46 -0500

dinesh gravatar image

Ans: enter

edit flag offensive delete link more


I really appreciate you reporting back on the answer to this question, but cross-posting to is really bad style, especially if your only motivation is "to get answer quickly." (as you wrote in error launching world file in gazebo.

gvdhoorn gravatar image gvdhoorn  ( 2016-08-30 14:36:25 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-08-29 05:51:26 -0500

Seen: 182 times

Last updated: Aug 30 '16