Installation

To program robotics applications, BT Studio requires the following dependencies.

Installation over Ubuntu 22.04 LTS:

  • ROS Humble: Desktop-Full Install recommended, includes Gazebo. Link.
  • Gazebo 11

Full ROS package:

 sudo apt install ros-noetic-desktop-full

Current Dependencies

Python 3.8 and above, pip3 and NPM:
sudo apt install npm python3-vcstool python3-pip python3-rosdep python3-colcon-common-extensions python3-autopep8 -y

Setup

Download Direct .zip Package:

You can download the .zip package from here

Alternative Method:

  1. Clone the repo and enter it
    git clone https://github.com/JdeRobot/bt-studio
    cd bt-studio
    
  2. Install the necessary packages
    sudo apt update
    sudo apt install npm python3-vcstool python3-pip python3-rosdep python3-colcon-common-extensions python3-autopep8 -y
    
  3. Install the backend dependencies
    cd backend
    pip install virtualenv
    virtualenv backend_env
    source backend_env/bin/activate
    pip install django djangorestframework
    
  4. 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

A new window in the browser should have opened. If not, go to BT Studio

Running the Tool:

Remember to launch both the backend and the frontend in two different terminals as explained above