Skip to content

andreas-bauer/amos-ss16-proj2

 
 

Repository files navigation

# The Mobile Robot Framework Project

The Mobile Robot Framework Project is conducted by students as a project work at the Friedrich-Alexander University Erlangen-Nürnberg.
The Goal of this project is to develop a framework for a Raspberry Pi powered robot. The framework should serve the purpose of being a demonstrable and convincing proof of the possibilities of platform-independent mobile apps. It enables a broad variety of devices to interact physically and virtually with their surrounding environment through the robot.

Requirements

Setup the raspberry pi

To get the video stream to work on the raspberry pi please have a look at our setup video stream wiki page.
If the backend should be started as systemd service please have a look at our systemd service wiki page.

Install Dependencies

Global packages:

$ npm install -g bower  
$ npm install -g copyfiles

We have preconfigured npm to automatically run bower so we can simply do:

$ npm install

Build the Application

Build the complete project

on Linux and OSX

$ npm run build

or on Windows

$ npm run build:win

creates a jar file in backend/target/

You can start the jar with following arguments:

-m or --use-mocks     -> mockup gpio ports
-d or --dev           -> developer mode, jetty port = 8000
-h or --help          -> show all available arguments

Additional NPM Tasks

Run unittests for webapp

$ npm test

or as a single run

$ npm run test-single-run

Run end to end tests (Application must be running before starting tests)

$ npm run protractor

Execute maven package build

$ npm run backend:build

Build docker image with the current jar file in target folder

$ npm run docker:build

Wiki

Need more information? See the wiki.

About

Mobile Robot Framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 68.9%
  • JavaScript 21.9%
  • HTML 7.9%
  • Other 1.3%