Applications
1
$ docker run -it user/copter 1 20.6072093 -103.4177344 5
Copied!

Attributes

1
$ docker build -t user/a_attributes .
Copied!
1
$ docker run user/a_attributes tcp:172.17.0.2 5762 1
2
+ IPADDRESS=tcp:172.17.0.2
3
+ PORT=5762
4
+ VEHICLEID=1
5
+ cd /home/user/
6
+ python attributes.py --connect=tcp:172.17.0.2:5762 --id=1
7
...
Copied!

TakeOff

1
$ docker build -t user/a_takeoff .
Copied!
1
$ docker run xe1gyq/takeoff tcp:172.17.0.2 5762 1 10
2
+ IPADDRESS=tcp:172.17.0.2
3
+ PORT=5762
4
+ VEHICLEID=1
5
+ ALTITUDE=10
6
+ cd /home/user/
7
+ python takeoff.py --connect=tcp:172.17.0.2:5762 --id=1 --alt=10
8
...
Copied!

GoTo

1
$ docker build -t user/a_goto .
Copied!
1
$ docker run user/a_goto tcp:172.17.0.2 5762 1 20.6083093 -103.4187344 10 5
2
+ IPADDRESS=tcp:172.17.0.2
3
+ PORT=5762
4
+ VEHICLEID=1
5
+ LATITUDE=20.6083093
6
+ LONGITUDE=-103.4187344
7
+ ALTITUDE=10
8
+ SPEED=10
9
+ cd /home/user/
10
+ python goto.py --connect=tcp:172.17.0.2:5762 --id=1 --lat=20.6073093 --lon=-103.4177344 --alt=10 --speed=5
11
...
Copied!

Square

1
$ docker build -t user/a_square .
Copied!
1
$ docker run user/a_square tcp:172.17.0.2 5762 1 20.6
2
083093 -103.4187344 2
3
+ IPADDRESS=tcp:172.17.0.2
4
+ PORT=5762
5
+ VEHICLEID=1
6
+ LATITUDE=20.6083093
7
+ LONGITUDE=-103.4187344
8
+ ALTITUDE=2
9
+ cd /home/user/
10
+ python square.py --connect=tcp:172.17.0.2:5762 --id=1 --lat=20.6083093 --lon=-103.4187344 --alt=2
11
...
Copied!

Circular

1
$ docker build -t user/a_circular .
Copied!
1
$ docker run user/a_circular tcp:172.17.0.2 5762 1 20.6083093 -103.4187344 10
2
+ IPADDRESS=tcp:172.17.0.2
3
+ PORT=5762
4
+ VEHICLEID=1
5
+ LATITUDE=20.6083093
6
+ LONGITUDE=-103.4187344
7
+ ALTITUDE=10
8
+ cd /home/user/
9
+ python circular.py --connect=tcp:172.17.0.2:5762 --id=1 --lat=10 --lon=20.6098606 --alt=-103.4188124
10
...
Copied!