Matthias Grob
38cf89ee9c
mc_pos_control: also use vertical smoothing in altitude
...
Smoothing can be configured by MPC_POS_MODE parameter
put before only for position mode and not for altitude mode.
2018-11-29 08:19:58 +01:00
Daniel Agar
48d9484ceb
commander fix and enforce code style
2018-11-28 20:42:03 -05:00
Paul Riseborough
2c97054d40
commander notify user if EKF fails compass ( #10919 )
2018-11-28 13:12:35 -05:00
Daniel Agar
85c5fb4295
muorb test move to modules/muorb/test
2018-11-26 14:40:14 -08:00
Daniel Agar
3e0a3559a9
cmake use standard mechanisms for settings flags
2018-11-26 14:40:14 -08:00
Daniel Agar
ec4c9da253
remove BOARD_NAME from board_config.h and set automatically
2018-11-26 14:40:14 -08:00
Daniel Agar
abb3817d31
boards new split VENDOR_MODEL naming convention
2018-11-26 14:40:14 -08:00
Daniel Agar
f692ad04d0
boards organization
2018-11-26 14:40:14 -08:00
Daniel Agar
d4f713b286
commander cleanup home position handling
2018-11-25 21:00:51 +00:00
Roman Bapst
bef8b6b949
mavlink hash check: return early in case of hash check parameter ( #10861 )
...
* a request for setting the '_HASH_CHECK' parameter is handled differently
than the same request for a standard parameter. Make sure we don't actually
try to set the parameter.
Signed-off-by: Roman <bapstroman@gmail.com >
2018-11-25 14:01:23 -05:00
Mara Bos
e9fb17c51a
Always use FILE* for standard output.
...
The threads running commands for clients through the Posix daemon used
to write to a char buffer through snprintf (etc.) which was then written
directly to the file descriptor, whereas in the other case printf
(etc.) was used to write to stdout (FILE*). Both versions used some
macro's and repeated code to have the same output.
This change unifies these two cases by using a FILE* in both cases. The
(line) buffering is done by the standard C library's implementation
(just like with stdout), and px4_log.c now uses the same code in all
cases (using fprintf, etc.) for printing (colored) output.
2018-11-23 12:15:41 +01:00
bresch
20f870137b
FW auto - Add parameter for flaps setting during landing
2018-11-23 10:40:27 +01:00
Daniel Agar
a6684c6f9a
uORB orb_exists use internal linked list instead of file path
2018-11-23 08:15:48 +01:00
Daniel Agar
023e267e9b
uORB replace ORBMap with linked list
2018-11-23 08:15:48 +01:00
Daniel Agar
180cd94978
uORBDeviceNode mark all overrides
2018-11-23 08:15:48 +01:00
Daniel Agar
f1bf7172e7
make vdev file flags and priv consistent with nuttx
2018-11-23 08:15:48 +01:00
Daniel Agar
f9a3235709
remove unused parameter VT_AIRSPD_RULE ( #10897 )
...
- fixes #10896
2018-11-22 17:43:33 -05:00
Michael Schaeuble
43034922e2
Mavlink: Incorporate changes in UTM_GLOBAL_POSITION message
2018-11-22 16:55:30 +01:00
Michael Schaeuble
a154282fef
Mavlink: Use UUID for identifier in UTM_GLOBAL_POSITION
2018-11-22 16:55:30 +01:00
Michael Schaeuble
33a9eb946a
Mavlink: Reduce rate of UTM_GLOBAL_POSITION stream
2018-11-22 16:55:30 +01:00
Michael Schaeuble
fa4156c3d0
Mavlink: Include UTM_DATA_AVAIL_FLAGS_*_VELO_AVAILABLE flag
2018-11-22 16:55:30 +01:00
Michael Schaeuble
ae4654f36a
Mavlink: Include new UTM_DATA_AVAIL_FLAGS_RELATIVE_ALTITUDE_AVAILABLE flag
2018-11-22 16:55:30 +01:00
Michael Schaeuble
15439fcc0b
Mavlink: Add UTM_GLOBAL_POSITION stream
2018-11-22 16:55:30 +01:00
Michael Schaeuble
30dbfd99fb
EKF: Estimate WGS84 altitude with filtered AMSL offset
2018-11-22 16:55:30 +01:00
Roman Bapst
90bfdb6f0a
VTOL rate control architecture improvements ( #10819 )
...
* attitude and rate setpoint message: use 3D array for thrust demand
* FixedWingAttitudeControl: rework airspeed scaling
* move airspeed and scaling calculation into separate method
* if vtol in hover and airspeed disabled use minimum airspeed instead of trim airspeed
2018-11-21 20:32:40 -05:00
TSC21
adc81aaab5
position_estimator_inav: fix covariance check logic
2018-11-21 12:21:16 +01:00
TSC21
20b3adebf4
attitude_estimator_q_main: remove epsilon comparison; fix logic
2018-11-21 12:21:16 +01:00
baumanta
f5369db245
Put parameters inside library. Get rid of unnecessary activation logic
2018-11-20 14:11:33 +01:00
baumanta
dd45fa6541
change feature name from CollisionAvoidance to CollisionPrevention
2018-11-20 14:11:33 +01:00
Matthias Grob
81ec6c5b1e
ColisionAvoidance: move instantiation to FlightTask
2018-11-20 14:11:33 +01:00
Matthias Grob
7e276bc163
CollisionAvoidance: move activation logic to library
2018-11-20 14:11:33 +01:00
baumanta
27dc60a419
Improve comments
2018-11-20 14:11:33 +01:00
baumanta
ce7dc85450
Change wrong comment
2018-11-20 14:11:33 +01:00
baumanta
db514fe441
Add a collision avoidance library which uses range data
2018-11-20 14:11:33 +01:00
David Sidrane
1d12827408
Commander:Replace color based LED manipulators with logical ones.
2018-11-19 14:32:47 -05:00
Daniel Agar
bba475aca1
logger limit trajectory_setpoint rate
2018-11-19 09:59:22 -05:00
TSC21
05d9932f6c
logger: limit vehicle_*_odometry topics to 30hz on default logging
2018-11-16 09:44:32 +01:00
TSC21
2c111222cf
logger: fix vision topics naming
2018-11-16 09:44:32 +01:00
bresch
7779c0bd69
MPC - Update velocity integrator definition
2018-11-15 22:08:00 +01:00
bresch
d852ce20e6
MPC - Increase max velocity integral gain to 3.0
2018-11-15 22:08:00 +01:00
bresch
0863e95a2c
Add "Tracking Anti-Reset Windup" in velocity PID controller
2018-11-15 22:08:00 +01:00
Julian Oes
d7c34ddee4
mavlink: fix yawing to North for LOITER_TIME ( #10828 )
...
* mavlink: yaw should wrap at 2 pi, not pi
* mavlink: use newer rad/deg conversion
2018-11-13 14:32:40 -05:00
Beat Küng
b3afa6ddac
mc_pos_control: fix task activation failure for Transition
2018-11-13 09:30:18 +01:00
Beat Küng
c9e52d4386
MPC_MAN_TILT_MAX: increase max limit from 90 to 180 degrees
...
This is especially useful for testing (the vehicle must behave correctly
even at high tilt angles).
2018-11-13 09:30:18 +01:00
Beat Küng
adf1fea554
mc_att_control: fix for Rattitude mode
...
When switching back from rate to attitude control, the code depended on a
vehicle_control_mode topics update, but the publication frequency of that
is low. So the switch was noticeably delayed.
2018-11-13 09:30:18 +01:00
Beat Küng
ca7acae904
mc stabilized mode: move from mc_pos_control to mc_att_control
...
- better in terms of dependencies:
- the position controller code depended on position topics for yaw
- mc_pos_control does not have to be run for Stabilized mode
- the code path is much simpler, and thus less error prone. This is
especially important since Stabilized is often used as a fail-safe flight
mode.
2018-11-13 09:30:18 +01:00
Beat Küng
f31f63fff7
mc_att_control: use orb_publish_auto
...
use nullptr for instance to make sure we always get the first instance.
2018-11-13 09:30:18 +01:00
Beat Küng
00c2086dd6
mc_pos_control: simplify weathervane logic
2018-11-13 09:30:18 +01:00
Beat Küng
1946f043f1
mc_pos_control: print active flight task for 'mc_pos_control status' cmd
2018-11-13 09:30:18 +01:00
Beat Küng
e7e06dfe38
fix mc_pos_control: disable flight tasks if none of them should be running
...
Previously when switching e.g. from stabilized from acro, the stabilized
flight task kept running and publishing setpoints.
Luckily it caused no problems, but the log showed arbitrary attitude
setpoints.
2018-11-13 09:30:18 +01:00