ros-drivers / vrpn_client_ros

VRPN ROS Client
http://wiki.ros.org/vrpn_client_ros
59 stars 78 forks source link

It couldn't work in docker #19

Open FlyLineGM opened 3 years ago

FlyLineGM commented 3 years ago

My environment is MacBook Pro M1, Docker for M1. I pulled a docker image , ros:melodic,from docker hub, and installed ros-melodic-vrpn and this code. but this code can't working. It stoped at " connect established " for comparing, I running it at Jetson Nano Native OS and Docker in the Jetson Nano which the image was same with the MacBook, ros:melodic. The result showed it can connect the Movite when it running in the Jetson Nano Native OS and can not connect in the Docker in the Jetson Nano either.

then, the other software needed using network in the two docker containers could running normally, such as ssh, apt-get, curl and so on, and running "ping" to Movite's IP in the two docker containers could success.

peakyet commented 8 months ago

Hi, I have the same problem, do you have any idea to work with docker now?

EceChaik commented 2 months ago

Possible duplicate of this issue: https://github.com/ros-drivers/vrpn_client_ros/issues/28#issue-2120759457

In that case, the solution is simply:

sudo apt install netbase