Commit Graph

20757 Commits

Author SHA1 Message Date
Daniel Agar b1d537c603 launchdetection initiailize motorDelayCounter 2017-01-04 16:08:20 -05:00
Daniel Agar a7e38e1119 Makefile rename checks_alt to alt_firmware 2017-01-04 11:16:28 -05:00
Lorenz Meier 45c1ad830f Autostart: Do not abort boot if sensor driver fails to start 2017-01-04 10:44:08 +01:00
Lorenz Meier 36ba5eb741 Control lib: Fix string handling corner cases
strncpy() does not enforce NUL-termination, but snprintf() does. So we need to ensure all strings are terminated. Another issue was the use of the wrong length parameter for these functions, resulting in the limiting arguments not being applied to the right length.
2017-01-04 10:14:25 +01:00
Daniel Agar d5082251d9 controllib decrease blockNameLengthMax to 40 2017-01-04 10:04:30 +01:00
Daniel Agar b3c741715a controllib block use consistent name length
- coverity CID 12524, 12542, 12548, 12550
2017-01-04 10:04:30 +01:00
Lorenz Meier 256222d44d HMC5883: Remove output on driver level. Reporting should be done by the caller, not inside the driver. 2017-01-04 09:40:50 +01:00
mazahner 6b0a6fb38f again remove unrequired output 2017-01-04 09:29:52 +01:00
mazahner f0c393baf6 remove unnecessary printfs 2017-01-04 09:29:52 +01:00
mazahner 4e9c986806 remove optional_files dependency
This is a remainder of a rebase onto master
2017-01-04 09:29:52 +01:00
mazahner 6fe9b8e543 use CmakeLists scope to generate te XML file
- the only difference really is, that scope (the configuration.cmake) is already passed
  to px_process_params via the argument --scope. The Paths in --scope are evaluated w.r.t
  the path to src provided via the -s /--src-path argument.
- if no --scope is proveided. the Old scheme by simply walking the full --src-path directory
  is applied
2017-01-04 09:29:52 +01:00
Lorenz Meier c72de874d6 Chance airframe and parameter meta generation to FMUv4 2017-01-04 09:29:19 +01:00
Andreas Antener cc1989b180 Convergence: updated param from todays flights 2017-01-03 20:32:33 -05:00
Andreas Antener 2416e523e4 Convergence: normalize the mixer 2017-01-03 20:32:33 -05:00
Andreas Antener 1de7636fad Tiltrotor: gradually reduce roll control with time or airspeed instead of simply switching it off 2017-01-03 20:32:33 -05:00
Andreas Antener f2db8d0106 VTOL: added missing open loop time parameter 2017-01-03 20:32:33 -05:00
Andreas Antener 364a57016f VTOL: added config for the E-flite Convergence 2017-01-03 20:32:33 -05:00
Andreas Antener c416fc3fa0 Tiltrotor:
- added open-loop transition time for airspeed-less flying
- added ramping down the back motors during forwards transition
2017-01-03 20:32:33 -05:00
Andreas Antener 35740b0b59 Mixer test: fix paths for nuttx 2017-01-03 20:32:33 -05:00
Lorenz Meier 3229c4183a Mixer test: Condition strncpy properly 2017-01-03 20:32:33 -05:00
Lorenz Meier 9e95d88574 Use system define for path length buffer 2017-01-03 20:32:33 -05:00
Lorenz Meier 2cabc4866a PX4IO: Use mixer header for buffer length 2017-01-03 20:32:33 -05:00
Lorenz Meier c6b6d04a19 UART tests: Move shell and fix config restore command 2017-01-03 20:32:33 -05:00
Lorenz Meier 0d5089e3bf Mixer test: Improve portability 2017-01-03 20:32:33 -05:00
Lorenz Meier 5247f17576 Mixer test: use real defines from IO firmware
We use the real defines now and test them against every mixer on the system. This means we should catch transfer errors now before even hitting master.
2017-01-03 20:32:33 -05:00
Lorenz Meier d401252c9e IO firmware: Convert magic numbers to defines
This is necessary to allow more and better unit testing.
2017-01-03 20:32:33 -05:00
Lorenz Meier e395c1f3d7 ROMFS: Limit test mixer to max 4 inputs 2017-01-03 20:32:33 -05:00
Andreas Antener a5a5694a5e Mixer tests: updated vtol2 test mixer to the one that actually failed before 2017-01-03 20:32:33 -05:00
Lorenz Meier d0dbddea1b Extend mixer test case with complex mixer 2017-01-03 20:32:33 -05:00
Lorenz Meier 51a89b74fb VTOL mixer: Use formatting without workarounds for system test 2017-01-03 20:32:33 -05:00
Lorenz Meier b3ce3cbaff Simple mixer: Remove incorrect pre-parser and replace with fixed central implementation 2017-01-03 20:32:33 -05:00
Lorenz Meier dd05ff5156 Multirotor mixer: Remove incorrect pre-parser and replace with fixed central implementation 2017-01-03 20:32:33 -05:00
Lorenz Meier ff18140cf4 Mixer: add string wconditioning check.
This introduces a correctly designed pre-check for the input parsers. This fixes the mixer unit test and should fix all issues occuring on real hardware.
;
2017-01-03 20:32:33 -05:00
Lorenz Meier 0810bcfe8e Polish mixer test, remove any too verbose output 2017-01-03 20:32:33 -05:00
Lorenz Meier c27728a7aa Test VTOL test mixers 2017-01-03 20:32:33 -05:00
Lorenz Meier 2eda90906d Add VTOL2 test mixer 2017-01-03 20:32:33 -05:00
Lorenz Meier 01bbd3976b Add VTOL1 test mixer 2017-01-03 20:32:33 -05:00
Lorenz Meier fb8243d5e1 Mixer test: Fix test, failing right now but showing the real issues 2017-01-03 20:32:33 -05:00
Lorenz Meier 8cc261a148 Slight improvements in unit tests 2017-01-03 20:32:33 -05:00
Daniel Agar bae3f36900 circleci temporarily disable code coverage (#6248) 2017-01-03 18:16:10 -05:00
Bart Slinger a7eed46062 Update vtol_att_control_main.cpp
Fixes https://github.com/PX4/Firmware/issues/6246
2017-01-04 00:02:53 +01:00
Dennis Mannhart d124de5045 px4.config: add spektrum_rc to startup
added line at the end
2017-01-03 20:54:06 +01:00
Beat Küng ab3b68cf18 ORB_PRIO: set ORB_PRIO_MIN to 1 instead of 0
This is needed as the sensors app assumes a value of 0 means uninitialized.

Follow-up to 'Sensors app: Fix consistency checks', a6696d339d
2017-01-03 20:53:26 +01:00
Beat Küng 000d965a5e fix test_uart_loopback: 0 is a valid file descriptor 2017-01-03 14:44:45 +01:00
Daniel Agar a9d3f0dc73 update gps driver submodule 2017-01-03 14:44:45 +01:00
Lorenz Meier 750ab87303 GPS Sim: Fix destructor 2017-01-03 14:44:45 +01:00
Lorenz Meier 9cfd46b87c Airspeed sim: Fix reset function 2017-01-03 14:44:45 +01:00
Lorenz Meier 4fcb4cf0fd MAVLink: Fix FTP file path handling
This was a real issue for long paths and not a flight safety issue for regular users, but could have been an issue for developers trying to use FTP on very deep nested file systems
2017-01-03 14:44:45 +01:00
Lorenz Meier 66226fb754 Land detector: Harden string handling
Due to known input this was not a real issue, but bad style.
2017-01-03 14:44:45 +01:00
Lorenz Meier 1a1522d3ff Fix RC unit test 2017-01-03 14:44:45 +01:00