Docker environment to use pytorch_ros
make build
- Build (
catkin build
)
docker-compose up catkin-build
- Launch
roscore
docker-compose up master
- Run a ROS node (
roslaunch pytorch_ros pytorch_enet_ros.launch
)
docker-compose up pytorch-ros
-
(Optional) Run
source docker_ros_setup.sh
to set the environment variables in the host.If you want to run other nodes in the host and let them communicate with the nodes in the container, this is necessary.