Commit Graph

749 Commits

Author SHA1 Message Date
Daniel Agar 4e5b223a08 hrt test decrease time 2017-09-28 16:50:47 +01:00
Daniel Agar af9690cf08 add simple posix tests to SITL 2017-09-28 16:50:47 +01:00
Daniel Agar 414b4d4a40 ver silence hwcmp 2017-09-25 10:30:22 -04:00
Daniel Agar 4e6ca271e7 more px4fmu-v1 cleanup (#7981) 2017-09-20 00:04:23 -04:00
Daniel Agar 26f00609ac multirotor_motor_limits only publish for MC 2017-09-19 02:25:30 +01:00
Daniel Agar a031552756 systemcmds remove extra semicolons 2017-09-16 21:29:52 +01:00
Daniel Agar 7e90716661 motor_ramp remove unreachable code (#7973) 2017-09-16 14:50:28 -04:00
Daniel Agar 9b5fe8c476 ignore -Wsign-compare per module 2017-09-07 10:27:36 +02:00
CarlOlsson 6135179202 generate_listener: Add support for uint16, int32 and int16 arrays
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
2017-08-26 22:34:25 +02:00
CarlOlsson 49c0947cc2 generate_listener: Add space in array output
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
2017-08-26 22:34:25 +02:00
Daniel Agar c8bc6f961f topic_listener move generator to same directory 2017-08-23 08:07:36 +02:00
Daniel Agar a02caff1bc unit_test inline implementation and remove module build 2017-08-23 08:06:55 +02:00
Daniel Agar b70b8288b9 px4_includes cleanup incomplete list 2017-08-20 20:42:42 +02:00
sanderux 220bd82b93 Per channel PWM disarmed values 2017-08-09 22:28:05 +02:00
Peter Duerr b845edba64 Yet another erroneous call to px4_close instead of close
* As indicated by @bkueng
2017-08-07 22:05:17 +02:00
Peter Duerr 6e808ad0a6 Fix additional erroneous px4_close call
* As indicated by @bkueng
2017-08-07 22:05:17 +02:00
Peter Duerr 73ef772537 Fix erroneous use of px4_close
* Close handle opened with `open` with `close` as indicated by @bkueng
2017-08-07 22:05:17 +02:00
Peter Duerr 5be23060e7 Fix resource leaks identified by cppcheck
* Where possible rearrange error checks to avoid branching
* Otherwise add missing `fclose`, `close`, `px4_close` calls before return
2017-08-07 22:05:17 +02:00
David Sidrane 4832ad3191 ver:Add support for HW versioning
1) Add hwtypecmp command to allow rc to further enumerate PX4FMU_V2
      for sub types of 'V2' -FMUv2  'V2M' PixhawkMini, 'V30' Cube

   2) Extend hw to report to display
      HW type
      HW version
      HW revision
2017-08-05 19:26:20 +02:00
Beat Küng 9d924bea3f reboot command: add lock/unlock commands to test the shutdown lock
If needed it could be used in scripts as well.
2017-07-29 23:10:47 +02:00
Beat Küng 5a2723ab9c test_mixer.cpp: remove bogus comments 2017-07-21 19:59:45 +02:00
Julien Lecoeur 61d6903b40 Fix -Werror=stringop-overflow on gcc 7
The error was:
Firmware/src/systemcmds/hardfault_log/hardfault_log.c:312:7: error: specified bound 30 equals the size of the destination [-Werror=stringop-overflow=]
       strncat(marker, sp_name, sizeof(marker));
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2017-07-18 08:24:37 +02:00
David Sidrane 4349f49610 PX4 System:Expunge the nuttx adc structure from the system
This PR is preliminary ground work for FMUv5.

   PX4 does not use the NuttX adc driver. But used the same format
   for the data returned by the nuttx ADC driver.

   There was a fixme:in src/platforms/px4_adc.h "this needs to be
   a px4_adc_msg_s type" With this PR the need for
   src/platforms/px4_adc.h goes away as the driver drv_adc.h now
   describes the px4_adc_msg_t.
2017-07-17 22:28:29 +02:00
Beat Küng 913cbc773e px4moduledoc: extend validation: limit max line length to 120 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 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 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