![]() |
Tesseract
0.28.4
|
sudo apt-get update sudo apt-get dist-upgrade
tesseract
, tesseract_planning
, and tesseract_python
repositories are all ROS-agnostic. The tesseract_ros
and tesseract_ros2
repositories contain tools that are specific to ROS and make integrating Tesseract and ROS extremely easy.Catkin is the official build system for ROS. Catkin can also be used to build ROS-agnostic packages containing CMakeLists.txt and package.xml files.
sudo apt-get install ros-noetic-catkin python3-catkin-tools
ROSDep is the official ROS command line tool for installing system dependencies.
sudo apt-get install python3-rosdep sudo rosdep init rosdep update
WSTool is the official ROS workspace management tool.
sudo apt-get install python3-wstool
Create a workspace (in this case we'll name it tesseract_ws
):
mkdir -p ~/tesseract_ws/src
Move to the source directory:
cd ~/tesseract_ws/src
Clone Tesseract repository into your workspace:
git clone https://github.com/tesseract-robotics/tesseract
Clone Tesseract Planning repository into your workspace:
git clone https://github.com/tesseract-robotics/tesseract_planning
Clone Tesseract Qt repository into your workspace:
git clone https://github.com/tesseract-robotics/tesseract_qt
If you are using the Robot Operating System (ROS), you can also clone the Tesseract ROS repository:
git clone https://github.com/tesseract-robotics/tesseract_ros
Clone the repositories in the dependencies.rosinstall file using wstool:
wstool init ~/tesseract_ws/src/ ~/tesseract_ws/src/tesseract_planning/dependencies.rosinstall
Run the following command to automatically install all debian dependencies listed in each package.xml file:
rosdep install -y --from-paths ~/tesseract_ws/src --ignore-src --rosdistro noetic
apt-get
) each debian dependency.Build your workspace using catkin tools:
cd ~/tesseract_ws/ source /opt/ros/noetic/setup.bash catkin build
Source the catkin workspace:
source ~/tesseract_ws/devel/setup.bash
-DTESSERACT_ENABLE_CLANG_TIDY=ON
to cmake when building. This is automatically enabled if cmake argument -DTESSERACT_ENABLE_TESTING_ALL=ON
is passed.