Dennis Mannhart
6110ddc8b1
math Functions constrain X_in of exponentialFromLimits function
2018-11-30 09:30:00 -05:00
Dennis Mannhart
c97b2a3071
FlightTaskAuto: move method getVelocityFromAngle to FlightTaskAutoLine
2018-11-30 09:30:00 -05:00
Dennis Mannhart
23afb939f0
math Functions: exponential function with constraints
2018-11-30 09:30:00 -05:00
Dennis Mannhart
80193cd227
math Functions: replace float with T
2018-11-30 09:30:00 -05:00
bresch
be2e80c186
MPC_YAW_MODE - Change max to 3 to enable trajectory alignment
2018-11-30 09:27:40 -05:00
Daniel Agar
02c34763f0
tone_alarm_sim readd to sitl and drop DriverFramework
...
- fixes #10925
2018-11-29 07:40:22 -05:00
Dennis Mannhart
370371767f
FlightTaskAutoLine: ensure that desired speed along track does not exceed maximum speed at threshold to target
2018-11-29 12:32:56 +01:00
Matthias Grob
d76aec4eb2
mc_pos_control: refactor switch case logic for modes
2018-11-29 08:19:58 +01:00
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
48df19c8df
move dyn_hello to examples and restore testing
2018-11-26 14:40:14 -08:00
Daniel Agar
fecdfe5fbc
move posix/tests/hrt_test to systemcmds/tests/hrt_test
2018-11-26 14:40:14 -08:00
Daniel Agar
e45e7aa8a6
move posix/tests/hello to examples/hello and include everywhere
2018-11-26 14:40:14 -08:00
Daniel Agar
85c5fb4295
muorb test move to modules/muorb/test
2018-11-26 14:40:14 -08:00
Daniel Agar
c3448c19c4
make vcdevtest a generic cdev 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
David Sidrane
2d052c02fa
board_common:Use new PX4IO FW name on SD card and remove legacy V1 name
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
David Sidrane
b80fa5f2f5
px4fmu-v5:Remove old comment
2018-11-25 21:02:42 +00: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
CUAVcaijie
eb8a3de987
add rgbled_ncp5623c driver ( #10889 )
...
Co-Authored-By: CUAVcaijie <caijie@cuav.net >
2018-11-25 13:40:51 -05:00
Mara Bos
3c660acca8
Add unit test for dynamically loading modules on posix.
2018-11-24 01:58:09 +01:00
Mara Bos
d13836eb1e
Add dynamic modules on Posix.
...
You can now add `DYNAMIC` as an option to `px4_add_module`, which will
cause that module to no longer be compiled into the px4 executable, but
instead produce a separate shared library file, which can be loaded and
executed with the new `dyn` command:
pxh> dyn ./hello.px4mod start
This will load the shared object file `hello.px4mod` if it wasn't
already loaded, and execute its main function with the given arguments.
2018-11-24 01:58:09 +01: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
PX4 Build Bot
7d54913f80
Update submodule matrix to latest Wed Nov 21 00:38:27 UTC 2018
...
- matrix in PX4/Firmware (4005de7b9600db8a310d52f9bf7a47a0019868d8): https://github.com/PX4/Matrix/commit/0d3bff5e006cfaa358b51e3a6d11984e3782a90e
- matrix current upstream: https://github.com/PX4/Matrix/commit/9c0acfba36a928b7b002eea3a9dca54a5a0c1250
- Changes: https://github.com/PX4/Matrix/compare/0d3bff5e006cfaa358b51e3a6d11984e3782a90e...9c0acfba36a928b7b002eea3a9dca54a5a0c1250
9c0acfb 2018-11-20 Matthias Grob - Matrix: remove unsafe copyToRaw method
2018-11-20 20:35:15 -05:00
Beat Küng
1e17a86a39
collisionprevention: fix typo in param description & minor code style
2018-11-20 14:14:13 +01:00
baumanta
053494c535
use only one parameter and enable parameter change in flight. clean up code
2018-11-20 14:11:33 +01:00
baumanta
efa7e0ba77
clean up
2018-11-20 14:11:33 +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