Skip to content

Commit 0247a07

Browse files
committed
Merge pull request #143 from diydrones/example_examples
Example -> Examples
2 parents 3a9f399 + f44083d commit 0247a07

File tree

4 files changed

+165
-165
lines changed

4 files changed

+165
-165
lines changed

Diff for: ELC.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ STABILIZE>
8888

8989
### Code to refer-to/use/edit
9090

91-
We will be running/editing [this](example/simple_goto/simple_goto.py) code.
91+
We will be running/editing [this](examples/simple_goto/simple_goto.py) code.
9292

9393
### Commands to start MAVProxy
9494

@@ -98,7 +98,7 @@ Launch the mavproxy shell (do this in a new window) that we will use to run our
9898

9999
# We downloaded the droneapi-python repo earlier, to have access
100100
# to the example code.
101-
cd dronekit-python/example/simple_goto/
101+
cd dronekit-python/examples/simple_goto/
102102

103103
# Start mavproxy - connecting to the mavlink port in the simulator
104104
mavproxy.py --master=localhost:14550 --map --console
@@ -140,13 +140,13 @@ A ground control station is one of the most critical tools for managing a drone.
140140

141141
### Code to refer-to/use/edit
142142

143-
We will be running/editing [this](example/gcs/microgcs.py) code.
143+
We will be running/editing [this](examples/gcs/microgcs.py) code.
144144

145145
### Commands to run
146146
After launching MAVProxy (see previous lesson), just run "api start microgcs.py"
147147

148148
```
149-
kevinh@kevin-server:~/development/drone/droneapi-python/example/gcs$ mavproxy.py --master=localhost:14550 --map --console
149+
kevinh@kevin-server:~/development/drone/droneapi-python/examples/gcs$ mavproxy.py --master=localhost:14550 --map --console
150150
Logging to mav.tlog
151151
Running script /home/kevinh/.mavinit.scr
152152
DroneAPI loaded
@@ -159,7 +159,7 @@ STABILIZE> api start microgcs.py
159159

160160
You should then see our small crummy GUI:
161161

162-
![screenshot](example/gcs/screenshot.png)
162+
![screenshot](examples/gcs/screenshot.png)
163163

164164
Clicking on either of the two buttons should tell the vehicle to change flight modes.
165165

@@ -179,4 +179,4 @@ vehicle it is best to have a safety pilot. Let that person use the RC controlle
179179

180180
## More resources / Next steps
181181

182-
* [@mrpollo](https://github.com/mrpollo) and [@kaitlynhova](https://github.com/kaitlynhova) have prepared a very nice site with more tutorials and our python documentation at [python.dronekit.io](http://python.dronekit.io/).
182+
* [@mrpollo](https://github.com/mrpollo) and [@kaitlynhova](https://github.com/kaitlynhova) have prepared a very nice site with more tutorials and our python documentation at [python.dronekit.io](http://python.dronekit.io/).

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For documentation on how to use this API please see:
1818
* The [python autodocs](http://python.dronekit.io/automodule.html)
1919
* The [python code](droneapi/lib/__init__.py) itself
2020
* Answers to [technical support queries](http://stackoverflow.com/questions/tagged/dronekit-python) on Stack Overflow.
21-
* Example code can be found here: ['example/'](examples/)
21+
* Example code can be found here: ['examples/'](examples/)
2222
* Beginner ['hello world'](examples/small_demo/small_demo.py)
2323
* Beginner ['simple_goto'](examples/simple_goto/simple_goto.py)
2424
* Beginner ['flight_replay'](examples/flight_replay/flight_replay.py)

0 commit comments

Comments
 (0)