Skip to content

Tutorial 1: Installation

Robert edited this page Apr 25, 2023 · 12 revisions

Installing TeMoto

TeMoto is comprised of different subsystems which, if needed, can be installed separately, e.g., if you only need temoto_action_engine then you can set it up individually. If you want to get the whole TeMoto framework, then follow the instructions below:

1) Set up ROS and create a catkin workspace:

You can skip this part if you already have ROS and catkin workspace set up, but only if you set it up with catkin_tools installed.

2-a) git clone temoto repository:

# Navigate to your catkin workspace
cd <your-catkin-ws-dir>/src

# Clone TeMoto
git clone --recursive https://github.com/temoto-framework/temoto

2-b) git clone temoto_tutorials repository:

Clone the temoto_tutorials repository if you are planning to go through the tutorials:

# Navigate to your catkin workspace
cd <your-catkin-ws-dir>/src

# Clone TeMoto tutorials
git clone --recursive https://github.com/temoto-framework-demos/temoto_tutorials

3) Install the dependencies

# Source ROS if you haven't yet
source /opt/ros/<your-ros-distro>/setup.bash

# Install python-is-python3
sudo apt install python-is-python3

# Install the dependencies
cd ..
rosdep install --from-paths src --ignore-src -r -y

4) Build your catkin workspace:

cd <your-catkin-ws-dir>
catkin build

# Note when the build is finished you are 
# reminded to source your catkin workspace
source devel/setup.bash  

Updating TeMoto

TeMoto is updated every now and then, and thus the tutorials might assume a different version of TeMoto you might have installed earlier. Currently TeMoto has no release management and the updating process happens on the source code level. So in order to update TeMoto, along with all of its submodules:

# navigate to the TeMoto repository
cd <your-catkin-ws-dir>/src/temoto

# pull the changes
git pull

# update the submodules
git submodule update --init --recursive

Next: Tutorial 2 - "TeMoto Config"

Clone this wiki locally