Beat Küng
d1343b0ccb
calibration_routines: fix 'Command denied during calibration' error message
...
The uorb subscribe logic got changed for queued topics with
https://github.com/PX4/Firmware/pull/9436 , meaning an orb_subscribe will
return past messages as well now.
This lead to an error 'Command denied during calibration' for the previously
received calibration start command.
2018-06-18 15:06:58 +02:00
rolandash
ebc40067c7
otherwise posix_sitl_rtps fail to build (MACOS)
2018-06-16 10:13:33 +02:00
Beat Küng
ff365cad08
rtl: change "RTL: land at home" message from critical to info
2018-06-15 15:53:28 +02:00
Philipp Oettershagen
753ad0e0df
Fixed-wing autoland: Fix bug that could cause a steep pitch increase and thus aircraft stall during the flare ( #9674 )
2018-06-14 11:29:03 -04:00
Oleg Kalachev
23cd6adbe7
precland: put land precision parameter to MAVLink mission item
2018-06-13 23:32:51 -04:00
Oleg Kalachev
86d3603e2d
precland: fix landing target pose validity checking
...
In precland the copter may switch to horizontal approach state with an
old landing target pose message.
2018-06-13 23:32:51 -04:00
Beat Küng
f241e49ebf
voted_sensors_update: initialize _last_magnetometer & _last_airdata
2018-06-13 16:19:34 +02:00
Beat Küng
76c94b08f1
PositionControl: use constant references instead of pass-by-value for structs
2018-06-13 16:19:34 +02:00
Beat Küng
226d7c79da
sensors: initialize adc only if BOARD_NUMBER_BRICKS > 0
...
Fixes the SITL startup error:
ERROR [sensors] no ADC found: /dev/adc0 (9)
Introduced in 8404889098
2018-06-13 15:54:45 +02:00
Beat Küng
08064c2b71
mavlink_main: remove nonexisting streams
...
Removes SITL startup warnings:
WARN [mavlink] stream SCALED_IMU2 not found
WARN [mavlink] stream SCALED_IMU3 not found
Introduced in 9122725052
2018-06-13 15:54:45 +02:00
Ivo Drescher
42ebbd14bb
Changed the intendation to tabs
...
Signed-off-by: Ivo Drescher <ivo.drescher@gmail.com >
2018-06-13 12:46:42 +02:00
Ivo Drescher
77d4554e6d
Modified comment about feed forward of yaw setpoint rate.
...
Added more explanations regarding the coordinate transformation.
Signed-off-by: Ivo Drescher <ivo.drescher@gmail.com >
2018-06-13 12:46:42 +02:00
Daniel Agar
daa6f29b58
commander ignore failsafe transitions when in mission and disarmed
2018-06-13 08:37:00 +02:00
David Sidrane
8aa1d4d68d
BUGFIX hardfault FMUv5 List was used before being initalized.
...
_uavcan_open_request_list was accessed before it was initalized.
2018-06-12 13:44:04 -07:00
David Sidrane
b42794f3b9
Updated libuavcan to 883cba97 + NuttX IRQ patch
2018-06-12 13:01:12 -07:00
Florian Achermann
4697bf428b
Navigator Fix: Do not set the closest mission item in normal mission mode ( #9646 )
...
- fixes #9606
2018-06-12 12:11:14 -04:00
Daniel Agar
20aabd3566
move systemlib/airspeed to standalone lib
2018-06-12 09:06:30 +02:00
Daniel Agar
b23e40ca42
move systemlib/pid to standalone lib
2018-06-12 09:06:30 +02:00
Daniel Agar
e468a9bbcc
move systemlib/pwm_limit to standalone lib
2018-06-12 09:06:30 +02:00
Daniel Agar
387bc81f26
move systemlib/circuit_breaker.cpp to standalone lib
2018-06-12 09:06:30 +02:00
Daniel Agar
7eeba7b8ca
systemlib delete unused board_serial
2018-06-12 09:06:30 +02:00
Daniel Agar
965eaecf4d
systemlib printload naming consistency
2018-06-12 09:06:30 +02:00
Daniel Agar
dfb98b2a70
systemlib delete unused getopt_long
2018-06-12 09:06:30 +02:00
Daniel Agar
f913e062da
systemlib delete unused err.c
2018-06-12 09:06:30 +02:00
Daniel Agar
d3f7de6f9c
systemlib delete unused state_table.h
2018-06-12 09:06:30 +02:00
Daniel Agar
d73d20bcce
systemlib delete unused systemlib.h
2018-06-12 09:06:30 +02:00
Daniel Agar
fda25e9f3a
systemlib delete unused ppm_decode
2018-06-12 09:06:30 +02:00
Daniel Agar
d0bde9ab2a
replace geo _wrap_pi with matrix::wrap_pi
2018-06-12 09:00:52 +02:00
TSC21
518daa4a8d
fastrtps: clean up and fix template for client/agent code
2018-06-11 22:54:58 +02:00
Daniel Agar
3399ec9e73
move systemlib/rc_check to commander (the only usage) and convert to c++
2018-06-11 22:53:38 +02:00
Daniel Agar
a6883c3a0d
uORB generated header use full name in C define
2018-06-11 22:53:38 +02:00
Daniel Agar
1b33445c7b
simulator mavlink set lpos ground truth limits to infinity
2018-06-09 17:24:35 -04:00
Daniel Agar
619cc6aedc
mavlink disable conversion helpers and use Matrix
2018-06-09 21:19:33 +02:00
Daniel Agar
a99f75dde2
Mavlink set last sent timestamp to space out initial publication
...
- remove QURT defines no longer required
2018-06-09 13:38:44 +02:00
Paul Riseborough
c84d35e3d7
mc_pos_control: rework height limiter to stay in velocity mode
2018-06-09 13:38:04 +02:00
Paul Riseborough
d26da5fa3b
mc_pos_control: Improve maximum height limiter
...
Implements a better method of determining when to switch from velocity to altitude control to keep height limit from being exceeded.
This method removes the overshoot and transients in height caused by the switching of the previous algorithm.
2018-06-09 13:38:04 +02:00
Paul Riseborough
f0a1cd197e
mc_pos_control: formatting fixes
2018-06-09 13:38:04 +02:00
Paul Riseborough
b77845a3c0
mc_pos_control: Fix bug in calculation of altitude limit
...
The correction for stopping distance applied to the maximum altitude limiter uses the vertical velocity estimate and gives the same offset for both positive (down) and negative (up) velocity.
This calculation has been corrected and simplified and variable names changes to make the functionality clearer.
2018-06-09 13:38:04 +02:00
Paul Riseborough
366e36a07b
ekf2: Update parameter description
2018-06-09 13:38:04 +02:00
Mohammed Kabir
c1169eb38b
mc_pos_control : update to use new navigation limits architechture
2018-06-09 13:38:04 +02:00
Mohammed Kabir
8f5ceac936
ekf2 : use INFINITY when altitude limiting is not needed
2018-06-09 13:38:04 +02:00
Mohammed Kabir
1a2f9dd37a
land_detector : use INFINITY when altitude limiting is not needed
2018-06-09 13:38:04 +02:00
Mohammed Kabir
31aa1cbf01
simulator : publish optical flow limits over uORB
2018-06-09 13:38:04 +02:00
Mohammed Kabir
e8f1d50758
mavlink : update for compatibility with new navigation limits architechture
2018-06-09 13:38:04 +02:00
Mohammed Kabir
1d1dec0a8b
inav : update for compatibility with new navigation limits architechture
2018-06-09 13:38:04 +02:00
Mohammed Kabir
9483885ed9
lpe : update for compatibility with new navigation limits architechture
2018-06-09 13:38:04 +02:00
Mohammed Kabir
6a9377846f
ekf2 : update to use new navigation limits architechture
2018-06-09 13:38:04 +02:00
Mohammed Kabir
7f1686171b
sensors : add parameter for maximum flow rate
2018-06-09 13:38:04 +02:00
Mohammed Kabir
b3c5e53333
Unify optical flow height limiting
2018-06-09 13:38:04 +02:00
Paul Riseborough
0113212b34
mc_pos_control: Update parameter descriptions
2018-06-09 13:38:04 +02:00