Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/development/wireshark.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ The de facto standard network packet capture format is libpcap (pcap), which is
To tell the CFLIB to generate a PCAP file of what it thinks the CRTP traffic looks like you can go:

```bash
$ CRTP_PCAP_LOG=filename.pcap python3 examples/swarm/hl_commander_swarm.py
$ CRTP_PCAP_LOG=filename.pcap python3 <path-to-your-script>.py
$ wireshark filename.pcap
```
and on Windows based computers in a shell window:

```bash
> set CRTP_PCAP_LOG=filename.pcap
> python3 examples/swarm/hl_commander_swarm.py
> python3 <path-to-your-script>.py
> wireshark filename.pcap
```
To generate a PCAP file and open it with Wireshark. You can also use the text based `tshark` tool, and you can add a filter, for instance, only shoow CRTP port 8 (Highlevel setpoint):
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guides/python_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ If you are interested in more details look in the PyDoc in the code or:
[logging](https://www.bitcraze.io/documentation/repository/crazyflie-firmware/master/functional-areas/crtp/crtp_log/) or
[parameters](https://www.bitcraze.io/documentation/repository/crazyflie-firmware/master/functional-areas/crtp/crtp_parameters/)
- [Automated documentation for Python API](https://www.bitcraze.io/documentation/repository/crazyflie-lib-python/master/api/cflib/)
- Examples: See the [example folder of the repository](https://github.com/bitcraze/crazyflie-lib-python/tree/master/examples).
- Examples: See the [example folder of the repository](https://github.com/bitcraze/crazyflie-lib-python/tree/master/examples) for basic examples, or [crazyflie-demos](https://github.com/bitcraze/crazyflie-demos) for more advanced demos.


## Structure of the library
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guides/sbs_swarm_interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,4 +474,4 @@ if __name__ == '__main__':
You’re done! The full code of this tutorial can be found in the `example/step-by-step/` folder.

## What is next?
Now you are able to control a swarm of Crazyflies and you can experiment with different behaviors for each one of them while maintaining the functionality, simplicity of working with just one since the parallelism is handled internally and you can just focus on creating awesome applications! For more examples and inspiration on the Swarm functionality, you can check out the `examples/swarm/` folder of the cflib.
Now you are able to control a swarm of Crazyflies and you can experiment with different behaviors for each one of them while maintaining the functionality, simplicity of working with just one since the parallelism is handled internally and you can just focus on creating awesome applications! For more examples and inspiration on the Swarm functionality, you can check out the [crazyflie-demos](https://github.com/bitcraze/crazyflie-demos) repository.
16 changes: 16 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Examples

This folder contains basic examples for getting started with the Crazyflie Python library. They cover the core building blocks: connecting, logging, parameters, and simple autonomous flight.

## What's here

| Folder | Description |
|--------|-------------|
| `logging/` | Read sensor data and log variables from the Crazyflie |
| `parameters/` | Read and write parameters, including persistent parameter storage |
| `autonomy/` | Basic autonomous flight using different commanders |
| `step-by-step/` | Step-by-step tutorial scripts that accompany the [user guides](https://www.bitcraze.io/documentation/repository/crazyflie-lib-python/master/user-guides/) |

## More examples

For more complete and advanced demos see the **[crazyflie-demos](https://github.com/bitcraze/crazyflie-demos)** repository.
298 changes: 0 additions & 298 deletions examples/aideck/fpv.py

This file was deleted.

Loading
Loading