About

BT Studio

alt_text

License

BT Studio is an open-source tool crafted for the development of robotic applications. Its primary objective is to facilitate the quick deployment of behavior tree-based robotic applications within ROS 2. In BT Studio, a robotic app is defined as an graphical tree coupled with actions scripted in Python, which the tool then translates into a ROS 2 package. This process circumvents the unnecessary complexities often associated with ROS-specific configurations, offering developers a more streamlined approach.

Supported Platforms

  • Python-3 + ROS-Humble
  • Might support future ROS Distributions

Installation

Check the Documentation for more information.

Development

Download

git clone https://github.com/JdeRobot/bt-studio.git
cd bt-studio

Install

  1. Install the necessary packages
    sudo apt update
    sudo apt install npm python3-vcstool python3-pip python3-rosdep python3-colcon-common-extensions python3-autopep8 -y
    
  2. Install the backend dependencies
    cd backend
    pip install virtualenv
    virtualenv backend_env
    source backend_env/bin/activate
    pip install django djangorestframework
    
  3. Launch the backend
python3 manage.py runserver

Do not close the terminal where this is executing!. Django provides the necessary backend funcionalities. For continuing the process, simply open a new terminal.

  1. Install the appropiate nodejs version
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
source ~/.bashrc
nvm install 16
nvm use 16
  1. Install Yarn
sudo npm install --global yarn
  1. Setup the frontend

From the bt_studio folder:

cd frontend
yarn install
yarn start

Documentation

Troubleshooting

Roadmap

We use the GitHub issues to track the work and schedule our new features and improvements.

Development Team

Credits

License

Licensed under GPL 3.0.