Skip to content
Snippets Groups Projects
Commit 16852b65 authored by dawehr's avatar dawehr
Browse files

Added README with instructions for gen_diagram

parent a446ae85
No related branches found
No related tags found
1 merge request!8Controller network
The gen_diagram project can create an image of the controller network. Below outlines the process of how to use it.
Within the `quad/sw/modular_quad_pid` directory:
1. Copy the `control_algorithm_init` function from `src/control_algorithm.c` into `gen_diagram/generate.c`, replacing the previous implementation.
2. Within the `gen_diagram` folder, run `make clean`. Then run `make` to build the new code.
3. Now execute the program with `./gen_diagram`
4. If you have graphviz installed, you can run `dot -Tpng network.dot -o network.png` to generate a PNG file of the graph.
Enjoy your new diagram!
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment