Docker with the repository with the assignments of the Research Track 2 course.
1.5K
This image contains everything needed to run my solution at the 1st assignment for the Research Track course held by Professor Carmine Recchiuto at the MSc in Robotics Engineering at University of Genoa for the academic year 2020-2021.
The image can be run with
docker run -dit -p 6080:80 -p 5900:5900 -p 8888:8888 -p 3000:3000 -p 9090:9090 --name rt2_a1 hypothe/rt2_a1:doxy
Where the ports are opened to allow for it to be visualized either on a web browser or on a VNC.
The full description of the content is provided in the github repository where the code is originally stored, so here notions will be given as granted.
Inside this image there are a ROS Noetic and ROS2 Foxy distributions, used to run 4 different pacakages:
Moreover, CoppeliaSim is also installed and can be used for the simulations (already managed by teh QOL scripts, see next section).
To ease in the process of testing (and evaluation) three bash scripts are presented in the ROOT folder of the system. Everything described in the assignment is already carried out by them, although things can be still manually launched if one prefers.
~/bridge_launch.sh [-a][-k]
~/sim_gazebo.sh [-a][-d]
By default the version used is the service one, but by passing the flag -a tha action package will instead be used. By passing -d instead, the doxy package will be used.
~/sim_coppelia.sh [-a][-d][-k]
By default the version used is the service one, but by passing the flag -a tha action package will instead be used. By passing -d instead, the doxy package will be used. Similarly, the default scene uses a Pioneer p3dx mobile robot, while by specifying the -k flag a scene with a Robotnik Summit XL140701 will be loaded.
Together with the launch file from rt2_assignment1_doxy, or with any of the last two QOL scripts by passing the -d flag, a User Interface through a Jupyter Notebook can be used. Further description is presented in the notebook itself. To start the notebook run
of the assignment).
source ~/my_ros/devel/setup.bash
jupyter notebook --allow-root --ip 0.0.0.0
Then take note of the token, open a web browser in the host (the one in the image seems unstable) at localhost:8888, and insert the token in the appropriate field.
Now navigate through the directories until you reach the notebook, which is at
~/my_ros/src/rt2_assignment1_doxy/notebooks/interface_jptr.ipynb
After opening it read the documentation provided, and start the Interface with Kernel -> Restart & Run All.
Content type
Image
Digest
Size
1.8 GB
Last updated
over 5 years ago
docker pull hypothe/rt2_a1