piebat / Inrae

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

INRAE

Source code for DKE - STS4IoT paper

Note: Action to do before run the code

* At line 1 of main.js file, you need to put your Token for [api.mapbox.com](https://docs.mapbox.com/help/getting-started/).
  • In ssdemo2.php, set your Kafka server:

    • $KafkaServer = "KAFKA ADDRESS";
    • $Topic_Position = 'position_data';
    • $Topic_Alert = 'delay_alert';

Installation

Save the all to a web server with PHP. That's all.

SIMULATOR

The shell script run_producer_2.sh publish at regular interval simulated robot coordinate.

USAGE: sh run_producer_2.sh kafka_broker_address:port

About


Languages

Language:JavaScript 82.1%Language:PHP 12.1%Language:CSS 2.8%Language:Python 1.5%Language:HTML 1.2%Language:Shell 0.2%