RoboticBase / kcse2019-controller

This repository deploys some business logics to control an autonomous mobile robot using RoboticBase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ksce2019-controller : An example business logics of RoboticBase

This repository is an example business logics of "RoboticBase-core".

Docker badge TravisCI Status

Description

"RoboticBase" is a robot management platform based on FIWARE which enables you to manage and operate many kinds of robots and IoT devices as interactions of contexts.

This repository deploys some business logics to control an autonomous mobile robot through "RoboticBase".

This example requires the RoboticBase/core version 0.4.4 or higher.

Requirements

  • python 3.6 or higher
  • node 10.16 or higher

Evironment Variables

The API server requires some Environment Variables like below:

Environment Variable Summary Default
LOG_LEVEL log level(DEBUG, INFO, WARNING, ERRRO, CRITICAL) INFO
LISTEN_PORT listen port of this service 3000
ORION_ENDPOINT endpoint url of orion context broker ''
FIWARE_SERVICE the value of 'Fiware-Service' HTTP Header ''
MOBILE_ROBOT_SERVICEPATH the value of 'Fiware-Servicepath' HTTP Header ''
MOBILE_ROBOT_TYPE the type specified when registering robot entity to orion ''
MOBILE_ROBOT_ID the id specified when registering robot entity to orion ''
ZAICO_TOKEN the authentication token of zaico.co.jp ''

Getting started

  1. compile WebUI

    $ docker run -it -v $(pwd)/vue-app:/opt/vue-app -w /opt/vue-app node:10.16-alpine /bin/ash -c 'rm -rf dist && rm -rf node_modules && npm install && npm audit fix && npm run build'
    
  2. set the environment variables

  3. start API server

    $ cd flask-app && ./main.py
    

License

Apache License 2.0

Copyright

Copyright (c) 2019 TIS Inc.

About

This repository deploys some business logics to control an autonomous mobile robot using RoboticBase

License:Apache License 2.0


Languages

Language:Python 47.4%Language:JavaScript 40.9%Language:Vue 9.4%Language:Dockerfile 1.1%Language:HTML 0.7%Language:Shell 0.5%