From 61ee3bf1be66b8cf5d5e2346aeab4154f2bf91bc Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Wed, 29 Nov 2017 00:19:40 +0100 Subject: [PATCH] Readme: add help for cog --- mavros/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mavros/README.md b/mavros/README.md index aa1b8a43d..4ff3a3236 100644 --- a/mavros/README.md +++ b/mavros/README.md @@ -255,6 +255,17 @@ Contributing - with `catkin tools`, issue `catkin run_tests`; 11. If everything goes as planned, push the changes (`git push -u `) and issue a pull request. +NOTE: cog.py can be use to generate/update enum from mavlink. +To install it : + + sudo pip install --user cogapp + +Then fill the behaviour you when between the [[[cog:]]] [[[end]]] balise (take example on existing files) +and invoke cog like this : + + cog.py -cr your_file.h/cpp + +Your file will be updated by cog. Glossary --------