Commit Graph

24183 Commits

Author SHA1 Message Date
Timothy Scott 714c90b9db Updated code style to fix confusing if conditions 2019-06-13 10:04:26 +02:00
Timothy Scott a134da6e12 Removed is_rotor_wing, replaced with vehicle_type 2019-06-13 10:04:26 +02:00
Timothy Scott 2ca40bfc65 Changed navigator to properly separate xy and z distance to waypoint 2019-06-13 10:04:26 +02:00
Daniel Agar 6816f2a4ce commander force offboard control update when first entering mode
- fixes #12241
2019-06-12 20:25:05 -04:00
Matthias Grob 048cca7bc4 vtol_att_control: apply multicopter takeoff hotfix also for vtol (#12250)
Please see reference:
https://github.com/PX4/Firmware/issues/12171
2019-06-12 13:59:29 -04:00
Mark Sauder ae6fed4f29 Migrate remaining variable initializations from constructor list to declarations in mavlink_main.cpp/h. 2019-06-12 12:53:09 -04:00
Martina Rivizzigno 7a586d2b60 ObstacleAvoidance: hysteresis on failsafe 2019-06-12 16:42:02 +02:00
Daniel Agar 79d4c09d59 uORB::Publication simplify and cleanup
- base class is now template
 - drop linked list
 - virtualization no longer required
2019-06-12 08:48:19 -04:00
PX4 Build Bot 57fc6eb4b8 Update submodule devices to latest Tue Jun 11 20:38:48 EDT 2019
- devices in PX4/Firmware (96e8e25a85a334872f2e46786d7c2f546ed846df): https://github.com/PX4/GpsDrivers/commit/a4999f111d13bcb209754823a3c503fa659a0d15
    - devices current upstream: https://github.com/PX4/GpsDrivers/commit/69e38ecc846df03f0bb71aa136bcc830dd3316a9
    - Changes: https://github.com/PX4/GpsDrivers/compare/a4999f111d13bcb209754823a3c503fa659a0d15...69e38ecc846df03f0bb71aa136bcc830dd3316a9

    69e38ec 2019-06-06 Andreas Antener - sbf: report vertical velocity DOWN (converted from UP)
c803bad 2019-06-05 Andreas Daniel Antener - SBF Updates (#43)
2019-06-12 08:01:31 +02:00
Bharat Tak 1ebf5d04d9 logger: add Ulog sync bytes at 1Hz and tagged log message definition (#12144) 2019-06-11 11:00:54 +02:00
PX4 Build Bot 736a1c4778 Update submodule ecl to latest Mon Jun 10 12:38:13 UTC 2019
- ecl in PX4/Firmware (e80050ce8c261e9b5c1cf7e1e8c62f32db08099f): https://github.com/PX4/ecl/commit/54ac147ae8930f1c280a0bd5c25fa90eaf4c6e0d
    - ecl current upstream: https://github.com/PX4/ecl/commit/0f49eb34a08e499a26d749ed981429047f2100ff
    - Changes: https://github.com/PX4/ecl/compare/54ac147ae8930f1c280a0bd5c25fa90eaf4c6e0d...0f49eb34a08e499a26d749ed981429047f2100ff

    0f49eb3 2019-05-24 RomanBapst - fixed method which calculates validity of terrain estimate
cd34ab8 2019-05-24 Daniel Agar - mathlib delete floorf in favor of math.h
340d85a 2019-05-27 Robert de Vries - EKF: fix variable names in estimator_interface.h
90b4c7c 2019-05-24 Matthias Grob - mathlib: fix floorf indentation
710c529 2019-05-23 Sebastian Verling - fixed calculation of magentic table values by using floor instead of int casting
2019-06-10 10:42:37 -07:00
Daniel Agar 32a89a1834 rename empy templates (*.template) to proper file extension (.em) 2019-06-10 10:42:00 -07:00
Daniel Agar 8a0beb83db templates/module move print_usage() to bottom of file 2019-06-08 03:23:50 -07:00
Daniel Agar 910e938943 tune_control move usage() to bottom of file 2019-06-08 03:23:50 -07:00
Daniel Agar cfa58dfc36 led_control move usage() to bottom of file 2019-06-08 03:23:50 -07:00
Daniel Agar c223de8a50 vmount move usage() to bottom of file and format 2019-06-08 03:23:50 -07:00
Daniel Agar 933dd1357e navigator move print_usage() to bottom of file 2019-06-08 03:23:50 -07:00
Daniel Agar d9c5fb0500 mc_att_control move print_usage() to bottom of file and format 2019-06-08 03:23:50 -07:00
Daniel Agar 97c2dba2fa logger move print_usage() to bottom of file and format 2019-06-08 03:23:50 -07:00
Daniel Agar e428829b84 drivers/heater move print_usage() to bottom of file and format" 2019-06-08 03:23:50 -07:00
Daniel Agar 6c495bc4a3 leddar_one move help to bottom and format 2019-06-08 03:23:50 -07:00
Daniel Agar 63d582464e mc_pos_control move print_usage() to bottom of file and format 2019-06-08 03:23:50 -07:00
Julian Oes d2c824c534 gpssim: don't advertize uninitialized data
According to valgrind uninitialized bytes were being advertized.
2019-06-07 17:10:35 -04:00
Daniel Agar 90bf26b239 CollisionPrevention move orb subscriptions to uORB::Subscription 2019-06-07 09:22:35 -04:00
Daniel Agar 5669df4ca4 mc_pos_control move orb subscriptions to new uORB::Subscription 2019-06-07 09:22:35 -04:00
Daniel Agar be02ad3514 fw_att_control move orb subscriptions to uORB::Subscription 2019-06-06 20:02:02 -04:00
Daniel Agar 4bef573497 fw_pos_control_l1 move to new uORB::Subscription 2019-06-06 20:00:02 -04:00
Daniel Agar 528d2f61a0 sensors partially move to new uORB::Subscription 2019-06-06 19:07:17 -04:00
Daniel Agar 55c9786157 PX4Magnetometer implement MAGIOCGSCALE (copy out scale)
- fixes #12193
2019-06-06 14:10:13 -04:00
Beat Küng 73102dc3c4 SYS_MC_EST_GROUP: add q estimator only option and activate on omnibus 2019-06-06 11:11:44 -04:00
Beat Küng 5c715978e8 param compare/greater: do not print 'parameter not found' message
Reduces clutter in the boot output (now that we have it in the log).
On omnibus for example we see:
ERROR [param] Parameter SENS_EN_BATT not found
ERROR [param] Parameter SENS_EN_LL40LS not found
ERROR [param] Parameter SENS_EN_LL40LS not found
ERROR [param] Parameter SENS_EN_MB12XX not found
ERROR [param] Parameter SENS_EN_PGA460 not found
ERROR [param] Parameter SENS_EN_SF1XX not found
ERROR [param] Parameter SENS_EN_TRANGER not found
2019-06-06 09:16:49 -04:00
Daniel Agar 3796dda209 ekf2 move most orb subscriptions to uORB::Subscription 2019-06-06 08:22:15 +02:00
Daniel Agar cecd009ddc mc_att_control: fix vehicle_rates_setpoint_poll() error due to merge timing 2019-06-05 21:18:02 -04:00
Daniel Agar ca5651bd8b heater move to new WQ and uORB::Subscription 2019-06-05 20:38:42 -04:00
Daniel Agar 4c42cac380 mc_att_control move most orb subscriptions to uORB::Subscription 2019-06-05 20:37:47 -04:00
Daniel Agar c0e735c88a vtol_att_control move to new uORB::Subscription 2019-06-05 20:33:20 -04:00
Daniel Agar 71d58c9278 wind_estimator move to new WQ (lp_default) and uORB::Subscription 2019-06-05 20:31:16 -04:00
Daniel Agar e4ad994763 navigator move to new uORB::Subscription 2019-06-05 20:28:44 -04:00
David Sidrane 79eb74be3f Fix bmp280 on FMUv4 2019-06-05 15:43:53 -04:00
Daniel Agar 9d726cb0c4 bmi160 move to PX4Accelerometer and PX4Gyroscope and cleanup (#12128) 2019-06-05 11:25:18 -07:00
bresch ac4458460d FailureDetector - update hysteresis to comply with new interface 2019-06-05 16:53:08 +02:00
bresch 57c2085ce4 IO driver - Recover flight termination state from IO after FMU reboot in air 2019-06-05 16:53:08 +02:00
bresch c75f71abc2 IO failsafe - apply failsafe values to outputs when in failsafe.
This is required because otherwise, IO would output disarmed values if
FMU goes into a disarmed state.
2019-06-05 16:53:08 +02:00
bresch 96da46d1aa Failsafe - cosmetic changes 2019-06-05 16:53:08 +02:00
bresch 776b1a28de IO mixer - cleanup FMU timeout check (comments and indentation) 2019-06-05 16:53:08 +02:00
bresch c576c57d7b protocol.h - comment style update 2019-06-05 16:53:08 +02:00
bresch 4b8febf558 Flight termination IO - reword flight termination flag description 2019-06-05 16:53:08 +02:00
bresch 158463d0a0 Flight termination - Rename "flightterm" variables and defines to "flighttermination". 2019-06-05 16:53:08 +02:00
bresch 5becc24a1f Failure detector - in failure detector preflight check, get
vehicle_status as const type. Also use FAILURE_NONE enum to check for a
failure
2019-06-05 16:53:08 +02:00
bresch 33a94c8191 Failure detector - change snake_case function names to camelCase 2019-06-05 16:53:08 +02:00