Skip to content

Prototype of a distributed delivery system which main agents are drones.

Notifications You must be signed in to change notification settings

bonomip/DroneDelivery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup REST and MQTT

  • Otherwise, take care to import the project as a Gradle Project
  • If required, trust the project and accept the Gradle auto-import
  • Wait until the Gradle indexing process ends (it may take a few seconds)

REST

  • Run StartServer.java located in: REST_MQTT_example/src/main/java/REST/
    • Don't worry about the red INFO console prints
  • Use a REST Client application (i.e., Advanced REST Client) to test if the server works correctly
  • For example you can run the following request:

MQTT

  • Dowload and install the Mosquitto broker from here: https://mosquitto.org/download/

  • Run the Mosquitto broker:

    • MacOS
      • brew services start mosquitto
      • mosquitto_sub -h localhost -v -t ‘#’ (Instead ‘#’ specify the topics of interest)
    • Windows
      • Run the file mosquitto.exe
  • Run SubExample.java and PubExample.java located in REST_MQTT_example/src/main/java/MQTT/

About

Prototype of a distributed delivery system which main agents are drones.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages