Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MicroCART
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Distributed Autonomous Networked Control Lab
MicroCART
Commits
16852b65
Commit
16852b65
authored
8 years ago
by
dawehr
Browse files
Options
Downloads
Patches
Plain Diff
Added README with instructions for gen_diagram
parent
a446ae85
No related branches found
No related tags found
1 merge request
!8
Controller network
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
quad/sw/modular_quad_pid/gen_diagram/README.md
+10
-0
10 additions, 0 deletions
quad/sw/modular_quad_pid/gen_diagram/README.md
with
10 additions
and
0 deletions
quad/sw/modular_quad_pid/gen_diagram/README.md
0 → 100644
+
10
−
0
View file @
16852b65
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment