Commit Graph

791 Commits

Author SHA1 Message Date
Simone Guscetti ee0ae079ff tests: test_hrt modernize NULL with nullptr 2018-03-19 14:15:52 +01:00
Simone Guscetti e140c37fe3 systemcmds: tests update to cpp file for test_hrc 2018-03-19 14:15:52 +01:00
ksschwabe 6d445cf5a6 Adds ability for generate_listener.py to process out-of-tree uORB message definitions as well (#9097) 2018-03-16 12:44:25 -04:00
Beat Küng 17cb5c4d58 hardfault_log: fix comment 2018-02-27 21:01:29 +01:00
Julian Oes 4cac6d1a44 tune_control: added define for tune strength
This adds a define for the tune strength instead of hard-coding it with
a magic number.
2018-02-22 15:24:46 +01:00
Beat Küng 0c6280ba45 tune_control: fix clang-tidy errors 2018-01-31 07:57:52 +01:00
Daniel Agar 59fd22be1b parameters import/export test 2018-01-30 09:17:56 -05:00
Martina 3e09f6309e tune_control: add string library after rebase 2018-01-29 09:45:59 -05:00
Martina 9611641bb7 tune_control: add silence to tune_control message 2018-01-29 09:45:59 -05:00
Simone Guscetti 915f728145 libtunes: Separate the default tunes from tunes.cpp 2018-01-29 09:45:59 -05:00
Simone Guscetti 6e712876a4 tune_control: Add checks for the strength 2018-01-29 09:45:59 -05:00
Simone Guscetti 61b3827962 tune_control: Modify tune_control to use new lib functions 2018-01-29 09:45:59 -05:00
Simone Guscetti 5214642bc3 tunes lib: Minor changes 2018-01-29 09:45:59 -05:00
Simone Guscetti 546a92af1e tune_control: add usage and strength option 2018-01-29 09:45:59 -05:00
Simone Guscetti 9c2480e534 tune_control: clean up 2018-01-29 09:45:59 -05:00
Simone Guscetti dcfd2f1579 tune_control: add max iteration count for the string and lib test calls 2018-01-29 09:45:59 -05:00
Simone Guscetti f7aad844a3 tune control: added the possibility to set tunes with a string
minor changes
2018-01-29 09:45:59 -05:00
Simone Guscetti 1714deeb94 system cmd: add first iteration of the new CLI interface for tune control 2018-01-29 09:45:59 -05:00
Lorenz Meier 7888acf087 Reboot command: Documentation fix
Pure comment edit
2018-01-08 09:27:22 +01:00
Lorenz Meier 1cab556ddb Topic listener: Depend on messages, not just on headers
This ensures that the listener is re-built when the message spec changes.
2017-12-26 16:01:11 -05:00
Julien Lecoeur 89642a9203 Move src/module/systemlib/mixer to src/lib/mixer 2017-11-15 09:56:10 +01:00
garfieldG cddea6f4b3 Fixed version firmware type (#8250)
* Fixed the version tag to number and version tag to vendor version number to return dev version in case of any local modifications or in case there's a dash before firmware type in tags that support vendor  version.
2017-11-11 20:04:16 -05:00
Julien Lecoeur 4e7bd576cb generate_listener.py: generate one function per topic to fit function sizelimit 2017-11-09 10:54:35 +01:00
Julien Lecoeur 8f2759ba79 topic_listener: allow multi-topic messages 2017-11-09 10:54:35 +01:00
Daniel Agar 5436801435 esc_calib properly cleanup on failure
- fixes CID 139514
2017-10-31 08:10:51 +01:00
acfloria 3929afd617 Fix format in test_mixer.cpp 2017-10-12 12:03:22 +02:00
acfloria 9d2da611f6 Fix mixer issue with undefined return in callback and non value initialized variables. 2017-10-12 12:03:22 +02:00
Dario Röthlisberger 3edc5942e4 versioning: fix style 2017-10-09 14:41:58 +02:00
Dario Röthlisberger e3b8c0512e versioning: refactor unit tests
Use one function which tests flight and vendor version tag parsing.
2017-10-09 14:41:58 +02:00
Dario Röthlisberger 3dd4454a87 version: include FIRMWARE_TYPE in vendor version 2017-10-09 14:41:58 +02:00
Dario Röthlisberger bb644ee087 unittests: add versioning test 2017-10-09 14:41:58 +02:00
Beat Küng e1b970c30d ver hwcmp: allow to specify multiple hardware identifiers
E.g: ver hwcmp PX4FMU_V4 PX4FMU_V5
2017-10-09 09:34:31 +02:00
David Sidrane 391d103bfd hardfault_log:Not having a ulog file to append to is not an error
The hardfault keeps track of the number of reboot without a
   commit to disk. A commit to disk is the act of writing the
   fault data from the bbsram to the hardfault file, not the
   ulog file. The sucessful commit rearms the hardfault system.

   When ulog appending was added it treated the lack of a ulog
   file as an error. This prevented the hardfault_log reset
   from being called because the hardfault_log commit returned
   an error.

   	if hardfault_log check
	then
		if hardfault_log commit
		then
			hardfault_log reset
		fi
	fi

   This change treats the lack a a ulog as a non error.
2017-10-06 12:16:08 -10:00
Beat Küng cdf17c5447 led: add MODE_FLASH 2017-10-06 20:40:02 +02:00
Daniel Agar 48f1e3ed1c uORB generation move to msg/ 2017-09-29 10:13:51 -04:00
David Sidrane e967e02c4d HW Rev & Ver:0 for no value, -1 for not supported 2017-09-29 10:13:51 -04:00
David Sidrane cb21aced5e PX4 System: Upstream NuttX defconfig changes
was:CONFIG_STM32_STM32F40XX is:CONFIG_STM32_STM32F4XXX
2017-09-29 10:13:51 -04:00
David Sidrane f4992e64f7 mtd:24xxxx_mtd add AT24C02 - AT24C16 2017-09-29 10:13:51 -04:00
David Sidrane 1af3ea322c BUGFIX:mtd hardfault in no SPI
NULL check needed to be done before SPI_XXXX calls
2017-09-29 10:13:51 -04:00
David Sidrane 25c8ceaf91 mtd:spi_dev_e is now uint32_t in NuttX
Using new type of uint32_t for spi device
2017-09-29 10:13:51 -04:00
David Sidrane 7a4c5c3475 Added board_read_VBUS_state to board_common API 2017-09-29 10:13:51 -04:00
Daniel Agar 28a9e32753 test perf use stdout, not stdin 2017-09-28 16:50:47 +01:00
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