Docs, http://wiki.ros.org
Another note. Instead of ROS in Linux VM on Windows, now with Ubuntu being main OS, I can use ROS in Docker. Since it's not a VM, it's much faster.
Noetic version is recommended for Ubuntu 20, but seems like it's changed quite a bit and certain commands are not available any more. For my use (learning ROS and integrate with Gazebo), I'm going to use Melodic version.
For installation (not Docker), see:
http://wiki.ros.org/ROS/Installation
http://wiki.ros.org/noetic/Installation
manual set up, http://wiki.ros.org/noetic/Installation/Ubuntu
For docker, installing Melodic version:
http://wiki.ros.org/docker/Tutorials/Docker
https://registry.hub.docker.com/_/ros/
The container cannot run as a daemon,
$ docker pull ros:melodic
$ docker run -it --name rosdev ros:melodic
From another shell session or terminal, connect to the ROS container,
$ docker exec -it rosdev bash
Inside of the container, run this:
$ source /opt/ros/<distro>/setup.bash
And follow rest of the tutorial,
http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment
http://wiki.ros.org/ROS/Tutorials
My goal is to run Gazebo UI on host, ROS in docker container. Seems like it's not straight forward. That'll be a posting for next time once I figure it out.
REFERENCES
- ROS core, http://wiki.ros.org/ros_core
- A metapackage to aggregate the packages required to use publish / subscribe, services, launch files, and other core ROS concepts.
- ROS base, http://wiki.ros.org/ros_base
- A metapackage which extends ros_core and includes other basic non-robot tools like actionlib, dynamic reconfigure, nodelets, and pluginlib.
- Distributions (versions), http://wiki.ros.org/Distributions
- ROS2,
- ROS1 vs ROS2, https://roboticsbackend.com/ros1-vs-ros2-practical-overview/
- Gazebo, http://gazebosim.org
No comments:
Post a Comment