Behavior Studio

1 minute read


  • Get more familiar with Behavior Studio.
  • Write concepts related to Behavior Studio.
  • Install Behavior Studio.
  • Try some examples from Behavior Studio

Behavior Studio is a set of tools written in python that uses the JdeRobot toolkit for comparing different autonomous driving networks [1].

Jderobot Base

The Jderobot Base repository maintains the open source code implementation of the Jderobot toolkit that contains many tools and libraries to bring hardware abstraction, develop computer vision and many more. [2].

Jderobot Assets

This Jderobot Assets provides all the necessary worlds and models needed by the examples and exercises from Jderobot toolkit [3].


Behavior Studio uses the Jderobot’s base and assets which can be installed following this instructions.

ROS and Gazebo

sudo sh -c 'echo "deb $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver 'hkp://' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
sudo apt update
sudo apt install ros-melodic-desktop-full

Jderobot base and assets

sudo sh -c 'echo "deb [arch=amd64] `lsb_release -cs` main" > /etc/apt/sources.list.d/jderobot.list'
sudo apt-key adv --keyserver --recv 24E521A4
sudo apt update
sudo apt install jderobot
sudo apt install jderobot-assets
sudo apt install ros-melodic-jderobot-assets
echo "source /opt/jderobot/share/jderobot/gazebo/" >> ~/.bashrc
echo "source /opt/jderobot/share/jderobot/gazebo/" >> ~/.bashrc
echo "source /opt/jderobot/setup.bash" >> ~/.bashrc 
source ~/.bashrc

Behavior Studio

pip install virtualenv
virtualenv -p python3 bstudio_env
source bstudio_env/bin/activate
git clone -b reboot
cd BehaviorStudio
pip install -r requirements.txt

Problems encountered

The could not import colors.

$ python
Traceback (most recent call last):
  File "", line 22, in <module>
    from pilot import Pilot
  File "/root/BehaviorStudio/behavior_suite/", line 22, in <module>
    from utils.logger import logger
  File "/root/BehaviorStudio/behavior_suite/utils/", line 5, in <module>
    from colors import Colors
ModuleNotFoundError: No module named 'colors'

Adding utils. in the import of colors fixed the problem for me.

from colors import Colors
from utils.colors import Colors


In progress …


[1] Jderobot, BehaviorStudio (BehaviorSuite)

[2] Jderobot, Base

[3] Jderobot, Assets