- Sep 12, 2017
-
-
Beat Küng authored
param save is an expensive operation that can take several 100ms. And previously it was possible that a param_get() caller was blocked on a save operation. If this happened due to a param change notification, important modules, such as sensors, could have been blocked for a longer period (and affecting the flight performance). With this patch, this situation is not possible anymore, because a param save now uses the reader lock and a separate file lock. However it is still possible that a param_set() needs to wait for a save operation, thus blocking for a longer time. param_set() thus needs to be avoided in important modules when the system is armed. In the case of mavlink it works, since it does not affect the flight if the mavlink receiver is blocked over a longer time. It is only problematic if a joystick is used as input or in offboard control.
-
- Sep 11, 2017
-
-
James Goppert authored
-
Karl Schwabe authored
The magnetomer raw values were not being rotated in the same direction as the scaled values. This meant that if the rotation was set to ROTATION_NONE, the raw values and scaled values were off by 180 degrees.
-
sanderux authored
-
sanderux authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
mc_pos_control auto: replace min_cruise_speed with cruise_speed_90; take care of case when cruise_speed_90 is exactly in the middle of max and min
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Dennis Mannhart authored
-
Lorenz Meier authored
-
Lorenz Meier authored
The previous method made too optimistic assumptions about the resolution of 32 bit floating point numbers.
-