wiki
Getting startedGuidesFAQ
1.0.0
1.0.0
  • b-it-bots wiki
  • @home
    • Getting started
      • First steps
      • Setting up your development environment
        • Configuring your editor
        • Using ssh
      • Adding your first contribution
    • Tutorials
      • Architecture
    • Guides
      • git
        • Making good commits
        • Branching model
        • Adding git aliases to make your life easier
        • Creating a release
      • SSH
      • ROS
        • Creating a new package
          • Creating a new node
        • Creating a new message, service or action
        • Testing in ROS
        • Linting
      • Coding conventions
        • C++
        • Python
      • Toolkit
        • CLion
        • Atom configuration
        • Using vim
        • TMUX - Terminal Multiplexer
    • Resources
    • FAQ
      • git
  • @work
    • 2018-05-06-navigation-atwork
    • 2018-05-06-simulation_mapping
    • How to use the RealSense2 camera
    • Getting the classifier from a data set
Powered by GitBook
On this page
  • Setting up a catkin workspace
  • Get the code and dependencies
  • Building your workspace

Was this helpful?

  1. @home
  2. Getting started

Setting up your development environment

PreviousFirst stepsNextConfiguring your editor

Last updated 4 years ago

Was this helpful?

If you are an @home member, you can setup your by using the scripts as described in the dev-env README.

Setting up a catkin workspace

After following the instructions for , you should create a catkin workspace. By convention, we recommend naming your workspace kinetic

mkdir -p ~/kinetic/src && cd ~/kinetic

Next we'll use to specify which b-it-bots repositories should be cloned your workspace. In the case of @home, for example:

wstool init src
wstool merge -t src https://raw.githubusercontent.com/b-it-bots/mas_domestic_robotics/devel/mas-domestic.rosinstall

Get the code and dependencies

Using wstool, we clone all the repositories to your workspace:

  wstool update -t src

Next we use rosdep to install all the dependencies required by the packages to your system:

  rosdep install --from-paths src --ignore-src --rosdistro=kinetic -y

Building your workspace

You'll first need to install and finally compile the repository:

cd ~/kinetic
catkin build

In order to be able to run what you just compiled, you should source your catkin workspace:

source ~/kinetic/devel/setup.bash

The last command should be added to the ~/.bashrc file so that they do not need to be executed every time you open a new terminal.

development environment
wstool
catkin-tools
installing the requirements