From left to right : Anthony Breton; Jonathan Oreste Maruca; Diego-Alonso Leblanc-Romero; Charles Vuong; Mathias Bourgault; Olivier Fournier
- Ubuntu 20.04 LTS
- ROS Noetic
- Gazebo
- Pybullet
- Gym
- Scipy
- Numpy
- ROS Joy
- ROS Control
- ROS Noetic Ninjemys: Installation documentation
- Gazebo/Rviz : Choose Desktop-Full Install option when installing ROS
-
Install Terminator
sudo apt-get update
sudo apt-get install terminator
-
Install all dependencies for Kinematics
sudo apt install python3-pip
sudo apt install python-is-python3
sudo apt install ros-noetic-joy
sudo apt install ros-noetic-rosserial
sudo apt install ros-noetic-rosserial-python
sudo apt install ros-noetic-rosserial-arduino
pip3 install pybullet
pip3 install gym
-
Install all dependencies for control
sudo apt install ros-noetic-ros-control
sudo apt install ros-noetic-robot-state-publisher
sudo apt install ros-noetic-control-msgs
-
Create and initialize a catkin workspace
mkdir -p ~/quadrus_ws/src
cd ~/quadrus_ws/src
catkin_init_workspace
-
Clone the git repository into the src folder
git clone --recurse-submodules https://github.com/olivierfournier2/S4H2021-QuadrUS.git
-
Build the ROS workspace
cd ~/quadrus_ws
catkin_make
. ~/quadrus_ws/devel/setup.bash
At this point, the ROS environment should be set up and ready to work with.
-
Start by launching a terminal
-
Access the GUI sub-folder:
cd ~/quadrus_ws/src/S4H2021-QuadrUS/PyQt5
-
Create the executable :
chmod +x quadrus.py
-
In this folder launch the GUI with:
./quadrus.py
-
Start by launching terminator and splitting into two terminals (T1 and T2)
-
Launch roscore, the main ros node in T1:
roscore
-
To view the robot model in Rviz, execute the following command in T2:
roslaunch qd_master qd_master.launch mode:=sim sim_mode:=kin
-
To start the dynamic simulation in Gazebo, execute the following command in T2:
roslaunch qd_master qd_master.launch mode:=sim sim_mode:=dyn
- RaspberryPi 4
- Ubuntu 20.04.2 LTS, 64 bit
- ROS Noetic Ninjemys: Installation documentation