-
Notifications
You must be signed in to change notification settings - Fork 0
1. Setup
The steps here assume that you use the espdrone
Docker image for this project. Continue to "Steps to perform" if that is the case for you.
If you would like to install natively instead of using Docker, make sure that you have ROS Noetic setup in your system. If you have not done so, check out how to install ROS in the official Wiki, then run these to create a Catkin workspace:
source /opt/ros/noetic/setup.bash
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws
catkin build
# Automatically source setup.bash for convenience.
echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc
source ~/.bashrc
For the espdrone
Docker image, the Catkin workspace will be in the root directory of your Docker volume (i.e. /catkin_ws
) instead of ~/catkin_ws
. Hence, for native system install, replace any related commands (e.g. do cd ~/catkin_ws/src
instead of cd /catkin_ws/src
). Also, please pay attention to special notes with "For native system setup".
Steps to perform:
- Make sure that you have
espdrone-ros
setup on your system. -
For native system setup (skip this if you use Docker):
Download thearuco-3.1.12
library from here, then put it in your home directory (i.e.~
). Do NOT runmake
andmake install
; just put the library there. - Clone this repository to your Catkin workspace's
src
folder.cd /catkin_ws/src git clone https://github.com/AndrianH18/espdrone-aruco-ros.git
- Build the workspace:
cd /catkin_ws catkin build
For native system setup:
Since the ArUco library is in the home directory for your case, you need to modify line 6 inaruco_lib_integration/CMakeLists.txt
to reflect the correct path to the ArUco library, i.e.SOURCE_DIR /home/$ENV{USER}/aruco-3.1.12
instead ofSOURCE_DIR /aruco-3.1.12
.