> For the complete documentation index, see [llms.txt](https://theiotlearninginitiative.gitbook.io/bitol/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://theiotlearninginitiative.gitbook.io/bitol/virtual-drone-solution/uses-cases/tasks.md).

# 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
...
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://theiotlearninginitiative.gitbook.io/bitol/virtual-drone-solution/uses-cases/tasks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
