I have two ROS packages, each running a websocket server on the same PORT.

Is that's what's throwing this boost:: error?

node: /usr/include/boost/smart_ptr/shared_ptr.hpp:734: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = gazebo::transport::Publication; typename boost::detail::sp_member_access<T>::type = gazebo::transport::Publication*]: Assertion `px != 0' failed.

Is there a websocket server configuration that can allow two different ROS nodes to listen on the same PORT?

Thank you

1

There are 1 best solutions below

0
On

I had the same problem, using this command worked for me.

source /usr/share/gazebo/setup.sh