Paul Riseborough
ee75f0eb0e
ekf2: Use updated quaternion type def
2017-07-06 22:20:48 +02:00
Daniel Agar
1c7833e3b1
airspeed calibration simplify logic
2017-07-06 10:05:07 -04:00
Daniel Agar
eb067291bf
airspeed sensors apply offset separately
2017-07-06 10:05:07 -04:00
Daniel Agar
c45d369004
ms5525 use int64 for calculation
2017-07-06 10:05:07 -04:00
Daniel Agar
936f92fd0b
airspeed verify using filtered differential pressure
2017-07-06 10:05:07 -04:00
Daniel Agar
72969f00d7
airspeed calibration error_count is uint64_t
2017-07-06 10:05:07 -04:00
Daniel Agar
7029be87c0
MS5525 differential pressure driver
2017-07-06 10:05:07 -04:00
James Goppert
66a890d428
Remove mode enum since not used and declare enum type.
2017-07-06 09:02:13 +02:00
James Goppert
9f20730d7e
Remove unused sdlog mode handle.
2017-07-06 09:02:13 +02:00
James Goppert
57e0051c42
Fix enum.
2017-07-06 09:02:13 +02:00
James Goppert
ac8ef5f338
Formatting.
2017-07-06 09:02:13 +02:00
James Goppert
16f46c15d3
Switch to class enum and cleanup log profiles.
2017-07-06 09:02:13 +02:00
James Goppert
034c0c702a
Remove estimator replay log profile.
2017-07-06 09:02:13 +02:00
Beat Küng
784cec1cae
logger: check if topic already added & if so only update the interval
2017-07-06 09:02:13 +02:00
James Goppert
15ae3a9eb7
Add estimator replay topics to default.
2017-07-06 09:02:13 +02:00
James Goppert
d10a491243
Add logging profiles to logger module.
2017-07-06 09:02:13 +02:00
imcnanie
629844adff
Dodeca mixer using the AUX channels ( #7532 )
...
* Added Dodecarotor Mixer
* fixed formatting style
* Renamed dodeca mixers to top and bottom
2017-07-05 22:17:33 +02:00
Beat Küng
1e2ce51c6d
LandDetector: fix vehicle flight time
...
The problem was signed vs unsigned mixing together with 64bit conversion:
int32_t flight_time = ...;
uint64_t _total_flight_time = ...;
_total_flight_time |= flight_time;
When flight_time is negative, the last line would first extend the sign
bit to the upper 32bits of the 64bit uint and then apply the bitwise OR.
The fix is to use an unsigned 32 bit value.
2017-07-04 14:13:18 +02:00
Lorenz Meier
f54a6c2999
VTOL Controller: Always read ready topics
...
When poll returns a ready FD we have to read it, no matter which flight mode the system is in.
2017-07-02 21:52:18 +02:00
Lorenz Meier
5724bef14d
VTOL att controller: Code style fix
2017-07-02 20:59:25 +02:00
Daniel Agar
c8189b9c23
navigator mission_block check range for loiter exit
...
- fixes #7510
2017-06-29 21:28:26 +02:00
Jan Liphardt
d5eab23f53
airspeed error message clarification ( #7497 )
...
In day to day practice, there are two reasons for fabsf(airspeed.differential_pressure_filtered_pa) > 15.0f
1/ The sensor has not been calibrated. In this case, the sensor needs to be calibrated.
2/ It's a windy day, and the operator has powered up the system without covering the pitot tube. In that case, you need to reboot with the pitot cover in place.
The original message ('Check calibration') is ok, but why not be more direct? The user does not have to "check the calibration" - the user has to (a) either calibrate the system in the first place, or (b) not forget the pitot tube cover when powering up the system.
2017-06-28 00:28:33 -04:00
Daniel Agar
d641d776f7
mc_pos_control delete unused velocity feed forwards
2017-06-26 11:31:25 -04:00
Daniel Agar
f947205cbe
delete vehicle_global_velocity_setpoint
2017-06-26 11:31:25 -04:00
Julien Lecoeur
7929287f73
Fix -Werror=format-truncation on GCC 7
...
Fix formatting
Check snprintf return for error AND overflow
2017-06-26 15:50:44 +02:00
Julien Lecoeur
407b403e68
Fix -Werror=maybe-uninitialized on GCC7
2017-06-26 15:50:44 +02:00
Julien Lecoeur
06c6a0cdec
Fix -Werror=implicit-fallthrough errors on GCC7
2017-06-26 15:50:44 +02:00
Lorenz Meier
13bf312263
Commander: Be less verbose
2017-06-21 21:43:28 +02:00
Paul Riseborough
d68dd6ae1e
ekf2: Fix parameter description typo
2017-06-21 09:28:42 +02:00
Paul Riseborough
b3ceb37272
ekf2: Add parameter to set range dependant noise
2017-06-21 09:28:42 +02:00
ChristophTobler
929ecd0e94
change to uint32 to match updated type from ecl
2017-06-21 09:28:42 +02:00
Roman
33495e8143
ekf2: added parameters to specify horizontal speed and absolute altitude
...
thresholds for range aid mode
Signed-off-by: Roman <bapstroman@gmail.com>
2017-06-21 09:28:42 +02:00
Roman
b5a94481a8
ekf2_main: support range aid feature
...
Signed-off-by: Roman <bapstroman@gmail.com>
2017-06-21 09:28:42 +02:00
Roman
68c2eb9dec
ekf2_params: added range aid parameter
...
Signed-off-by: Roman <bapstroman@gmail.com>
2017-06-21 09:28:42 +02:00
Daniel Agar
8b3fb1e999
param fix parameters.xml dependency
2017-06-19 20:24:09 +02:00
Daniel Agar
6a443765a5
cmake only include mavlink where used
2017-06-19 20:24:09 +02:00
Martina
5984e3d330
mission: clean up mavlink log messages style
2017-06-19 19:34:18 +02:00
ChristophTobler
91a94ce874
check for NAN -> use curr pos and check if first to avoid drifting
2017-06-19 13:26:11 +02:00
Lorenz Meier
7d23a52871
Commander: Remove debug output
2017-06-19 09:28:38 +02:00
Paul Riseborough
28017105f4
position_estimator_inav: publish vertical position derivative
2017-06-19 09:09:52 +02:00
Paul Riseborough
a147179ad8
local_position_estimator: publish vertical position derivative
2017-06-19 09:09:52 +02:00
Paul Riseborough
4b7ae78fda
ekf2: publish vertical position derivative
2017-06-19 09:09:52 +02:00
Beat Küng
4afa931d80
voted_sensors_update: fix mag rotation
...
fixes a wrong index for _mag_device_id: previously, driver_index was used
(the CAL_MAG param index), but the correct index is the uorb topic
instance.
2017-06-17 06:36:54 +02:00
Todd Stellanova
fd47e0cbb3
Set system real time clock once from GNSS data.
...
Fixes #7421
Tested with Pixracer and Zubax GNSS2.0
2017-06-16 07:46:39 +05:30
ChristophTobler
bc406a122e
disable min loiter altitude
2017-06-15 09:18:35 +02:00
Sean Matthews
1c56cad3b1
Uses astyle 2.06
2017-06-15 08:56:49 +02:00
Sean Matthews
08891526fd
Fixes #6484 : Bug in Offboard mode incorrect use of type_mask
2017-06-15 08:56:49 +02:00
Lorenz Meier
d5c923c7ef
Navigator: Fix RTL backtransition for VTOL
...
A recent change removed the command forwarding required for VTOL transitions. This change brings this back.
Partially reverts https://github.com/PX4/Firmware/pull/7249
2017-06-15 08:27:23 +02:00
Matthias Grob
e28f8bff67
commander: make commonly spoken strings more user friendly
...
these technical messages might not be suitable for the user of a product
2017-06-15 07:50:41 +02:00
Mohammed Kabir
5a96490c68
sensors : fix race condition triggered by slow-to-boot external sensors
2017-06-14 19:53:07 +02:00