Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When compiling with catkin, your source files should be in ~/catkin ws/src/ and you run catkin make in the  ~/catkin ws/ folder.

Startup scripts

~/start_scripts/sequences.py

~/start_scripts/start.py

~/start_scripts/arnl_start.sh

~/start_scripts/controller_start.sh

~/start_scripts/roscore_start.sh

These files are used for starting the communication with the Startup Box and starting the correct sequence of modules based on the user input from the Startup Box.

start.py

This file initiates the communication with the startup box and parse the response. This should not need to be modified unless the startup box’ USB port number changes.

sequences.py

This file contains the correct starting sequences for all the sequences. Modify this to change a sequence or add a new one.

The shell scripts

The shell scripts have to be used to initiate the correct setup for ROS and catkin upon opening a new terminal to run the modules. If the correct source commands are not present in the shell scripts, the modules will fail to start:

source /opt/ros/kinetic.setup

source  ̃/catkin_ws/devel/setup.bash

If you follow the ROS tutorial these commands will have been added to run automatically upon opening a terminal, but for some reason it is not the case when a terminal is opened from a Python script. Hence these shell scripts are necessary.

Startup Box Files

~/startbox/

~/startbox/main.c

~/startbox/flash

~/startbox/README