- Mar 02, 2019
-
-
David Sidrane authored
The cause of the stack detection fault is because of the level of nesting in the start up script. We need to determine the worst case configuration and set the bar there. This fault occurred some 42 calls deep due to script calling script (repeat). The HW stack check requires as a margin of 204 bytes. That is ISR HW stacking of CPU(8) FPU(18) registers and SW stacking of CPU(11) and FPU(16) registers. Total CPU(19) registers is 68 bytes and the total FPU(34) registers is 136 bytes. On a system with a separate ISR stack This only needs to be 104 so there is 100 bytes of headroom. But as coded the detection will give a false positive detection and fault. This does not mean that the stack will be corrupted. Adjustments to that stack can have no effect due to rounding. A stack size of 2608 and 2616 can yield the exact same size stack. So even when the failure is due to a 4 byte overflow, it can take greater than a 16 bytes increase to fix it. Because the final stack size is calculated with an 8 byte alignment after a 4 byte decrease. So 2624 becomes 2620 at runtime and will boot with SYS_AUTOSTART=4001.
-
Daniel Agar authored
- support range based for loops - add remove() method to remove a node - add clear() to empty entire list and delete nodes - add empty() helper
-
- Mar 01, 2019
-
-
Beat Küng authored
A side-effect of the previous commit is that the integral is loaded up during a flip, which leads to visible bounce-backs after a flip. Reducing the I helps, but there's a trade-off and we'll need a better solution.
-
Beat Küng authored
Except for the lower end with disabled airmode. Otherwise the rate controller would disable the integrals, which can lead to severe tracking loss in acro. It is noticeable when flying in FPV, e.g. simply when throttling straight up. Relevant part in the rate controller: https://github.com/PX4/Firmware/blob/master/src/modules/mc_att_control/mc_att_control_main.cpp#L702
-
- Feb 28, 2019
-
-
bresch authored
-
mcsauder authored
-
mcsauder authored
Cut case MAVLINK_MSG_ID_HIL_STATE_QUATERNION content and paste into handle_message_hil_state_quaternion() method.
-
mcsauder authored
Cut case MAVLINK_MSG_ID_HIL_OPTICAL_FLOW content and paste into handle_message_hil_optical_flow() method.
-
mcsauder authored
Cut case MAVLINK_MSG_ID_DISTANCE_SENSOR content and paste into handle_message_distance_sensor() method.
-
mcsauder authored
Cut case MAVLINK_MSG_ID_LANDING_TARGET content and paste into handle_message_landing_target() method.
-
Daniel Agar authored
-
Daniel Agar authored
-
- Feb 27, 2019
-
-
TSC21 authored
-
TSC21 authored
-
TSC21 authored
-
TSC21 authored
mission_feasibility_checker: takeoff: add a different log message when there's a takeoff item but it's not the first waypoint
-
TSC21 authored
-
TSC21 authored
-
TSC21 authored
mission_feasibility_checker: takeoff: accept mission when takeoff is not the first item but the previous items are not waypoints
-
TSC21 authored
-
TSC21 authored
navigator: mission feasibility checker: check for a takeoff waypoint on mission on specific conditions
-
Daniel Agar authored
-
Daniel Agar authored
-
Daniel Agar authored
- the Jenkins slave now has the gdb server already started in the background
-
- Feb 26, 2019
-
-
David Sidrane authored
nARMED is a Digital OUTPUT. GPIO will be set as input while not armed HW will have Pull UP. While armed it will be configured as a GPIO OUT set LOW.
-
David Sidrane authored
-
David Sidrane authored
This adds an optional default support for HW that does not have and external armed indiction.
-
Mark Sauder authored
Mavlink receiver: Move most variable initializations out of the constructor to the variable declarations
-
Matthias Grob authored
by comparing the configuration options that cmake reports from the cache with the ones from the current build
-
Matthias Grob authored
-
Matthias Grob authored
cleanup nuttx_, _default targets
-
mcsauder authored
Move member variable initialization out of the constructor list to variable declarations, format whitespaces/tabs in sf1xx.cpp.
-
- Feb 25, 2019
-
-
bresch authored
-
Matthias Grob authored
Before if you were above the maximum altitude you could not command to go down anymore until the position controller had overshoot to under the maximum altitude again.
-
Matthias Grob authored
-
Matthias Grob authored
-
fpvaspassion authored
-
Mohammed Kabir authored
-
Alessandro Simovic authored
-
sfalexrog authored
-