Commit Graph

25400 Commits

Author SHA1 Message Date
bresch 5da2842dbc Multicopter mixer - Always unsaturate low-saturated motors when possible 2018-03-23 10:35:08 +01:00
Martin Trgina 01f5f8862a Support of HITL simulation for Intel Aero FC (#9132)
* Adding pwm_out_sim
* pwm_out_sim driver will be by default part of Aero FC PX4 Nuttx drivers
* tap_esc is off when SYS_HITL 1
2018-03-22 16:47:58 -04:00
Daniel Agar dffb4f23b3 Jenkins add px4fmu bloaty comparison to last successful master build (#9142) 2018-03-22 13:42:24 -04:00
Daniel Agar 44e3bd6c1c navigator follow_target move to matrix lib 2018-03-22 11:16:34 -04:00
Beat Küng d75087572c jMAVSim: update submodule
Fixes a mavlink 2 parsing bug
2018-03-22 08:27:27 +01:00
Beat Küng a8ddd9ef64 syslink_bridge: include <cstring> to fix compilation issue
GCC error:
error: 'memcpy' was not declared in this scope
2018-03-22 08:19:08 +01:00
Beat Küng b512d11e54 refactor fw_pos_control_l1: replace BlockParam* with Param* classes
Also change naming convention: add _ prefix to class attributes
2018-03-22 08:19:08 +01:00
Beat Küng 51ca01ce04 FixedwingAttitudeControl: remove SuperBlock dependency 2018-03-22 08:19:08 +01:00
Beat Küng 0fdd53f4c2 refactor simulator: replace BlockParam* with Param* classes 2018-03-22 08:19:08 +01:00
Beat Küng 7937f9e82c refactor Battery: replace BlockParam* with Param* classes 2018-03-22 08:19:08 +01:00
Beat Küng e32d8ea8b6 ModuleParams: add setParent() method 2018-03-22 08:19:08 +01:00
Beat Küng 408cfd6ce1 err.h: remove unused declarations 2018-03-22 08:19:08 +01:00
Beat Küng cd4eb9a1de pwm_out_sim: fix comment & add missing return 2018-03-22 08:19:08 +01:00
Beat Küng dff7cf687a pwm_out_sim: fix documentation & task name 2018-03-22 08:19:08 +01:00
Beat Küng 68ce62f173 Commander.hpp: remove usage of BlockParam & SuperBlock 2018-03-22 08:19:08 +01:00
Beat Küng e3d653d9a7 md25: remove used source files BlockSysIdent.{cpp,hpp} 2018-03-22 08:19:08 +01:00
Daniel Agar 3a0a896a9c sensors move to matrix lib 2018-03-22 08:17:32 +01:00
Daniel Agar ad2b96b523 mavlink move to matrix lib 2018-03-22 07:46:16 +01:00
Daniel Agar 7830d3503e posix sitl standard_vtol lower MPC_THR_MIN 2018-03-21 20:49:41 -04:00
Daniel Agar b5aded0db2 update vtol mission tests to increase length 2018-03-21 20:49:41 -04:00
Daniel Agar fd0f31ef50 FW Phantom FPV Flying Wing fix FW_R_RMAX 0 2018-03-21 18:34:52 -04:00
Daniel Agar 0e972fc6c2 Jenkins run bloaty on px4fmu nuttx builds 2018-03-21 17:07:03 -04:00
Daniel Agar 21ea27f7f6 camera_trigger replace math::Vector with matrix::Vector 2018-03-21 15:35:00 -04:00
Daniel Agar 5b6fda2e4b uuv_example_app move to matrix lib 2018-03-21 15:15:41 -04:00
Daniel Agar ac7242987c delete unused tailsitter_recovery library (#9103) 2018-03-21 14:09:36 -04:00
Daniel Agar b7bfeb442e fw_att_control move to matrix lib math 2018-03-21 14:08:47 -04:00
Daniel Agar 1b174eeca2 drivers replace math::Vector<3> with matrix::Vector3f 2018-03-21 13:48:45 -04:00
Roman e504dc86b7 fw & vtol startup scripts: don't start wind estimator for now
- need to make some flash space for fmuv2 to avoid user confusion about
why it wind estimator only runs on some platforms

Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-21 18:46:58 +01:00
Roman d9fbf85c20 ekf2: remove early advertising of wind estimate topic
- if it's not estimating wind it won't publish it below (was fixed)

Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-21 18:46:58 +01:00
Roman 372a519ac4 wind estimator: added airspeed and sideslip gate sizes for innovation tests
Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-21 18:46:58 +01:00
Roman 32a848d312 updated ecl for airdata module 2018-03-21 18:46:58 +01:00
Daniel Agar 3600225ed4 wind_estimator trim module documentation to fit in limit 2018-03-21 18:46:58 +01:00
Daniel Agar f1bb61769f wind_estimator fix LPWORK/HPWORK confusion and cleanup 2018-03-21 18:46:58 +01:00
Roman 8400d42988 wind estimator: fixed minor comments
Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-21 18:46:58 +01:00
Roman 86b525ad2c wind_estimator: use ModuleParams class to handle parameters
Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-21 18:46:58 +01:00
Roman 1fd1a426bb cmake configs: don't build wind estimator for fmu-v2 due to lack of flash space
Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-21 18:46:58 +01:00
Roman d2ebb0c7a2 ekf2: advertise wind topic early to make sure ekf2 get the first instance
Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-21 18:46:58 +01:00
Roman 5b067df01e wind_estimator: cleanup
Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-21 18:46:58 +01:00
Roman 33c1bcb983 wind_estimator: set missing task_id
Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-21 18:46:58 +01:00
Roman 53e22661d4 wind_estimator: unsubscribe from topics and unadvertise wind topic
Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-21 18:46:58 +01:00
Roman df3a3daa0f start wind estimator for relevant platforms
Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-21 18:46:58 +01:00
Roman 9dc7d1dd74 cmake configs: added wind estimator to relevant configs
Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-21 18:46:58 +01:00
Roman 7c0f043116 added module which implements wind & airspeed scale factor estimator via
work queue

Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-21 18:46:58 +01:00
Roman 9e1089a4fc wind estimate msg: added more relevant data
- true airspeed innovation and variance
- sideslip angle innovation and variance

Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-21 18:46:58 +01:00
Karl Schwabe d952fe028e MPU6000: unadvertises the accel and gyro uORB topics in destructor 2018-03-21 13:07:01 -04:00
Roman cb30d66cef convergence config: increase multirotor idle speed
- increase the minimum pwm value for multirotor mode since we experienced
the rear motor stalling in certain situations when throttle was low

Signed-off-by: Roman <bapstroman@gmail.com>
2018-03-20 21:00:34 -04:00
sanderux d87b7ac7f4 Fix scale application on FW throttle baro compensation 2018-03-20 00:13:36 +01:00
Daniel Agar b6b7fddb9f TECS and L1 switch to matrix math library (#9101) 2018-03-19 18:09:54 -04:00
Daniel Agar e63f9d9bf6 mathlib Limits move radians/degrees to header (#9102) v1.7.4beta 2018-03-19 12:45:42 -04:00
Alessandro Simovic cd250831d5 commander: removed duplicated startup tune
Addressing review comments in PR #9096
2018-03-19 14:15:52 +01:00