Tasks
$ docker run -it xe1gyq/copter 1 20.6072093 -103.4177344 5

Id

$ docker run user/t_id tcp:172.17.0.2:5762 1
+ CONNECTION=tcp:172.17.0.2:5762
+ VEHICLEID=1
+ cd /home/user/
+ python id.py --connect=tcp:172.17.0.2:5762 --id=1
...

Arm

$ docker run user/t_arm tcp:172.17.0.2:5762 1
+ CONNECTION=tcp:172.17.0.2:5762
+ VEHICLEID=1
+ cd /home/user/
+ python arm.py --connect=tcp:172.17.0.2:5762 --id=1
...

TakeOff

$ docker run user/t_takeoff tcp:172.17.0.2:5762 1 10
+ CONNECTION=tcp:172.17.0.2:5762
+ VEHICLEID=1
+ ALTITUDE=10
+ cd /home/user/
+ python takeoff.py --connect=tcp:172.17.0.2:5762 --id=1 --alt=10
...

To

$ docker run user/t_to tcp:172.17.0.2:5762 1 20.6083093 -103.4187344 10 10
+ CONNECTION=tcp:172.17.0.2:5762
+ VEHICLEID=1
+ LATITUDE=20.6083093
+ LONGITUDE=-103.4187344
+ ALTITUDE=10
+ SPEED=10
+ cd /home/user/
+ python to.py --connect=tcp:172.17.0.2:5762 --id=1 --lat=20.6083093 --lon=-103.4187344 --alt=10 --speed=10
...

Square

$ docker run user/t_square tcp:172.17.0.2:5762 1 10
+ CONNECTION=tcp:172.17.0.2:5762
+ VEHICLEID=1
+ ALTITUDE=10
+ cd /home/user/
+ python square.py --connect=tcp:172.17.0.2:5762 --id=1 --alt=10
>>> ArduCopter V3.7-dev (b15b5516)
>>> Frame: QUAD
...

Rtl

$ docker run user/t_rtl tcp:172.17.0.2:5762 1 10 10
+ CONNECTION=tcp:172.17.0.2:5762
+ VEHICLEID=1
+ ALTITUDE=20.6093093
+ SPEED=-103.4197344
+ cd /home/user/
+ python rtl.py --connect=tcp:172.17.0.2:5762 --id=1 --alt=10 --speed=10
...

Land

$ docker run user/t_rtl tcp:172.17.0.2:5762 1 10 10
+ CONNECTION=tcp:172.17.0.2:5762
+ VEHICLEID=1
+ cd /home/user/
+ python land.py --connect=tcp:172.17.0.3:5762 --id=1
...
Last modified 3yr ago