Commit Graph

14647 Commits

Author SHA1 Message Date
Beat Küng 5923a2e9d0 src/mainpage.dox: remove this file, it's not used anymore & completely outdated 2017-07-14 11:57:11 +02:00
Beat Küng a43f135ad4 minor documentation updates to some commands 2017-07-14 11:57:11 +02:00
Beat Küng 05c3b711f3 fix bl_update: move definition of print_usage into the ifdef
fixes the compile error:
error: 'print_usage' defined but not used [-Werror=unused-function]
2017-07-14 11:57:11 +02:00
Beat Küng a4ca3fc607 ver: add documentation 2017-07-14 11:57:11 +02:00
Beat Küng 68d754b65e usb_connected: add documentation 2017-07-14 11:57:11 +02:00
Beat Küng 8e965a7a2a topic_listener: add documentation 2017-07-14 11:57:11 +02:00
Beat Küng 1b4467f674 sd_bench: add documentation 2017-07-14 11:57:11 +02:00
Beat Küng 06178392ce reboot: add documentation 2017-07-14 11:57:11 +02:00
Beat Küng 16e0e1f7ca perf: add documentation 2017-07-14 11:57:11 +02:00
Beat Küng ba1a483cd6 nshterm: add documentation 2017-07-14 11:57:11 +02:00
Beat Küng 65b11d39a9 mtd: add documentation & do cleanup (remove err(), ...) 2017-07-14 11:57:11 +02:00
Beat Küng e362f760c4 motor_test: add documentation & do cleanup (remove err(), ...) 2017-07-14 11:57:11 +02:00
Beat Küng 4839ed8498 motor_ramp: add documentation 2017-07-14 11:57:11 +02:00
Beat Küng 3a880a09d6 mixer: add documentation 2017-07-14 11:57:11 +02:00
Beat Küng b18a148129 led_control: add documentation 2017-07-14 11:57:11 +02:00
Beat Küng 50d1ed99b0 i2c commmand: remove errx 2017-07-14 11:57:11 +02:00
Beat Küng 6b99b3412e esc_calib: add documentation 2017-07-14 11:57:11 +02:00
Beat Küng 0fdd2b9fea dumpfile: add documentation & do cleanup (remove err(), ...) 2017-07-14 11:57:11 +02:00
Beat Küng 7893623d75 fix dumpfile: specify stack size 2017-07-14 11:57:11 +02:00
Beat Küng 4ea44e51b7 config.c: add documentation & do cleanup (remove err(), ...)
Also changes the order of the arguments for consistency.
2017-07-14 11:57:11 +02:00
Beat Küng be25c337f9 bl_update: add documentation & do cleanup (remove err(), ...) 2017-07-14 11:57:11 +02:00
Beat Küng 35aa95c25f perf_counter.c: mention that the latency buckets are in us 2017-07-14 11:57:11 +02:00
Beat Küng 872049dc57 pwm.cpp: extend documentation for Oneshot 2017-07-14 11:57:11 +02:00
Beat Küng fac6a829c4 pwm.cpp: fix issues by clang tidy (nullptr & void) 2017-07-14 11:57:11 +02:00
Beat Küng 37ff267b68 param.cpp: fix issues by clang tidy (nullptr & void) 2017-07-14 11:57:11 +02:00
Beat Küng b32b0d9b17 hardfault_log: add documentation 2017-07-14 11:57:11 +02:00
Beat Küng 488bc9d7f3 hardfault_log.h: fix comments 2017-07-14 11:57:11 +02:00
Beat Küng d309617998 param.c: rename to cpp and add module documentation
use c++ so that raw string literals can be used
2017-07-14 11:57:11 +02:00
Beat Küng 647bdef855 pwm.c: rename to pwm.cpp and add module documentation
use c++ so that raw string literals can be used
2017-07-14 11:57:11 +02:00
Beat Küng 3f6769d41e uorb: add module documentation 2017-07-14 11:57:11 +02:00
Beat Küng f25549169c fmu: wait until running, and handle mode_rcin properly
when the fmu was already running in a pwm mode, changing to mode_rcin would
not have any effect.
2017-07-14 11:57:11 +02:00
Beat Küng 3b64be44f4 ModuleBase: add wait_until_running() method 2017-07-14 11:57:11 +02:00
Beat Küng 6778be2c6e mavlink: remove 'p' from px4_getopt()
It is not handled and not documented.
2017-07-14 11:57:11 +02:00
Beat Küng 0909b58981 fmu.cpp: fix wrong command usage mode_pwm3cap2 -> mode_pwm2cap2 2017-07-14 11:57:11 +02:00
Beat Küng 053eb12329 Module documentation: switch to Markdown 2017-07-14 11:57:11 +02:00
Beat Küng c22b79ece5 pwm.c: fix wrong comment 2017-07-14 11:57:11 +02:00
Beat Küng 63af349bba px4_module.h: include <cstring> for strcmp() 2017-07-14 11:57:11 +02:00
Beat Küng 59bde454b5 ModuleBase: instanciate -> instantiate 2017-07-14 11:57:11 +02:00
Beat Küng f691ae2a4f mavlink: update usage & module description 2017-07-14 11:57:11 +02:00
Beat Küng 2ad7194ed3 pwm command: update usage 2017-07-14 11:57:11 +02:00
Beat Küng 9e4d1235ac pwm command: fix -e param (it was just ignored)
to keep the behavior the same, remove the -e flags from all pwm commands
that use it in the scripts.
2017-07-14 11:57:11 +02:00
Beat Küng 317c8bf557 uorb: update usage 2017-07-14 11:57:11 +02:00
Beat Küng 7b7836de05 param command: update usage 2017-07-14 11:57:11 +02:00
Beat Küng c1788c4e43 top: add module description & usage 2017-07-14 11:57:11 +02:00
Beat Küng 6ea9762117 fmu: convert to ModuleBase
Sorry for the large patch :)

- move cleanup into destructor (this was done on the wrong task before)
- move init into init() method
- sensor & peripheral reset do not start/stop fmu anymore
- remove err & errx (they do not release the lock and could lead to dead-
  locks)
2017-07-14 11:57:11 +02:00
Beat Küng 2da0ae45e5 fmu: some cleanup
g_port_mode was never changed.
2017-07-14 11:57:11 +02:00
Beat Küng 16740dd5cd io timers: fix some typos 2017-07-14 11:57:11 +02:00
Beat Küng 7361244359 logger: convert to use ModuleBase 2017-07-14 11:57:11 +02:00
Beat Küng 5bdbfa9b5c send_event: convert to use ModuleBase 2017-07-14 11:57:11 +02:00
Beat Küng 04c4339ca3 module: add a common module base class with usage printf methods
Provides:
- thread-safety for module start/stop
- some shared code for module start/stop. Should also be less prone to
  errors.
- constructor & destructors are called from within the new module thread
- can be used for work queue & thread modules
- strutured & formal way for module printf usage & module documentation

Limitation:
- supports only modules with one instance (eg. not mavlink)
2017-07-14 11:57:11 +02:00