The code in this repository was made to work with:
- Ubuntu 20.04.3 LTS
- ROS Noetic
- UR10e manipulator (Universal Robot 10 e-series)
- 2 Astra Pro RGB-D cameras
-
Install ROS Noetic.
-
(Optional) Install Docker to train machine learning models inside a container or to run the probability-based decision making node.
-
Follow the instructions in the following repositories to install them:
-
Clone this repository into your catkin workspace:
cd ~/catkin_ws/src git clone https://github.com/pedromiglou/MRSI_Thesis_Action_Anticipation.git
-
Install additional system dependencies:
sudo apt install libpq-dev python3-pip
-
Compile the catkin workspace:
cd ~/catkin_ws && catkin_make
-
Install python requirements:
cd ~/catkin_ws/src/MRSI_Thesis_Action_Anticipation pip install -r requirements.txt
-
Launch the system:
roslaunch pamaral_bringup pamaral_bringup_all.launch
-
Launch one of the decision making node:
roslaunch pamaral_decision_making_block base_controller.launch
or
roslaunch pamaral_decision_making_block probabilities_controller.launch
or
roslaunch pamaral_decision_making_block rule_based_controller.launch
or
roslaunch pamaral_decision_making_block rule_based_controller+mediapipe.launch