Skip to content
This repository has been archived by the owner on Aug 15, 2019. It is now read-only.

sourcebots/robot-api

Repository files navigation

Robot

CircleCI

This is the userspace API for the robot, which is what students will interface with to program their robots.

Installation instructions

Building the debian package

# Install build tools:
sudo apt install build-essential devscripts debhelper equivs

# cd to the root of this project
cd path/to/robot-api

# Install dependencies
sudo mk-build-deps -ir

# Build the package:
debuild -uc -us

Installing the debian package

After building, the .deb file should appear in the parent directory, just run

# Go up a directory (there should be a .deb file here)
cd ..
# Install the package
sudo dpkg -i robot-api_0_all.deb

to install the package

Testing

The robot-api tests require robotd installed.

To run the tests, run python3 -m unittest and it will run all tests.