Skip to content

Simple Mockup Classes to test the Vapor Drone Control System

License

Notifications You must be signed in to change notification settings

Watly/vapor-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vapor-test

Simple Mockup Classes to test the Vapor Drone Control System

This is a simple Java Maven project

It just contains a Itinerary JSON file converter and executes command through a drone mockup that prints command status on the main console.

To test the code:

  1. you must download all the 4 repositories

  2. run the following maven command

mvn clean install

In each project folder in this order:

  • vapor-model

  • vapor-dsl/co.watly.vapor.dsl <-- this tooks very long time, so every time (except first) you edit its code, you better run mvn -o clean install, if you did not introduce any new dependency to download

  • vapor-controller

  • vapor-test

2a. The project vapor-dsl/co.watly.vapor.dsl.ui is just useful to run the Vapor DSL's editor as Eclipse Plugin

  1. Create a JSON file reporting star and end coordinates like this:
{
	"start" : {
		"latitude": 45.798651,
		"longitude" : 13.212938,
		"height" : 300
	},
	"end" : {
		"latitude": 45.799940,
		"longitude" : 13.212957,
		"height" : 0
	},
	"maxHeight" : 800,
	"weight" : 30
}
  1. run the vapor-test code using the following command:

java -javaagent:./bin/ea-async-1.2.0.jar -cp "./*;bin/*" co.watly.vapor.test.Main path/to/itinerary.json

About

Simple Mockup Classes to test the Vapor Drone Control System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages