Commit Graph

15642 Commits

Author SHA1 Message Date
TSC21 691c35f47e lpe: small fixes 2017-11-03 23:45:43 +01:00
TSC21 e6efb5ec0a lpe: update _sensorTimeout and _sensorFault to handle support of more sensors 2017-11-03 23:45:43 +01:00
TSC21 392999c2df lpe: fix innovation covariance publishing 2017-11-03 23:45:43 +01:00
avinash-palleti 76fcd99241 Fix protocol_splitter compilation issues (#8230)
Fixing compilation warnings which are treated as errors.
2017-11-03 15:35:46 +05:30
Beat Küng 459a71a6f1 mavlink_receiver: directly pass the result to acknowledge()
And use denied in case ulog streaming fails.
2017-10-31 22:16:06 +01:00
Beat Küng a2db639289 mavlink_receiver: disable ulog streaming via Telemetry links
Telemetry links don't have enough bandwidth for that feature. The vehicle
will return a NACK when trying to enable log streaming on such a link.
2017-10-31 22:16:06 +01:00
Beat Küng 8f7a5d0e0c mavlink_receiver: merge handle_message_command_{long,int} into a common method 2017-10-31 22:16:06 +01:00
Beat Küng 29af2343e1 fix NAV_TRAFF_AVOID param definition: needs a ;
Without that the parameter was not in parameters.xml, producing the error:
ERROR [lib__controllib] error finding param: NAV_TRAFF_AVOID
2017-10-31 11:18:49 +01:00
Lorenz Meier a1a002f9b6 Navigator: Add the ability to do a low-altitude RTL to avoid traffic
This is a first baseline implementation for collision avoidance with aircraft equipped with transponders. Since the drone-to-drone and drone-to-airplane system will be regulated by a standard, we do carefully avoid to do anything too fancy. This implementation allows to reduce altitude to get close to ground and land immediately or RTL. This is similar to what a human pilot would do and allows to get out of manned airspace which is at higher altitudes.
2017-10-31 09:10:32 +01:00
Daniel Agar 14fefca85e vmount delete InputTest on error
- fixes CID 139488
2017-10-31 08:12:12 +01:00
Daniel Agar 0931efb3f0 vmount initialize params
- fixes CID 199479
2017-10-31 08:12:12 +01:00
Daniel Agar ce78f254c2 mavlink parameters initialize struct
- fixes CID 141890
2017-10-31 08:11:18 +01:00
Daniel Agar 5436801435 esc_calib properly cleanup on failure
- fixes CID 139514
2017-10-31 08:10:51 +01:00
Daniel Agar 21995bd4b7 sensors ignore invalid failover index
- fixes CID 199478
2017-10-31 08:10:04 +01:00
sanderux dd9179efc9 Adaptive QuadChute disabled in manual modes 2017-10-30 20:57:47 +01:00
sanderux fc16a31f89 Adaptive quadchute 2017-10-30 20:57:47 +01:00
Beat Küng 9c8dc3941d commander: fix 'commander arm' not working in HIL mode
This got introduced with 61b0a81bf9. Due to the removed startup_in_hil flag,
this check does not work anymore, so remove it completely.
2017-10-30 20:53:58 +01:00
davidaroyer f6693f1f17 drivers: remove ocpoc_sbus_rc_in 2017-10-30 20:53:28 +01:00
Lorenz Meier afc8503260 PX4IO Firmware: Fix usage of new operator in IRQ
The mixer was creating a new class in interrupt context, which is not valid use in NuttX. This change copies the mixer into the buffer and runs the mixer management section of the code outside of interrupt context in the normal task.
2017-10-30 20:03:19 +01:00
Paul Riseborough b3d045d4d0 Revert "add boolean parameters to enable/disable each sensor"
This reverts commit 9fde19259e.
2017-10-30 20:49:36 +11:00
Paul Riseborough 3a57712d2b ecl: Use commit on master
This is a non-functional change that point to a commit on master instead of the merged branch.
2017-10-30 08:21:09 +01:00
Paul Riseborough 589d58ce87 ekf2: Fix bug preventing first IMU failover bias reset 2017-10-30 08:21:09 +01:00
Paul Riseborough 0c9e07c95a ekf2: repeat IMU bias reset until successful 2017-10-30 08:21:09 +01:00
Daniel Agar 9fde19259e add boolean parameters to enable/disable each sensor 2017-10-29 16:24:31 +01:00
Daniel Agar e1e3c9fca9 sensors split accel/gyro/mag calibration parameters 2017-10-29 16:24:31 +01:00
Daniel Agar 8b7de092a2 sensors delete unused CAL_BOARD_ID 2017-10-29 16:24:31 +01:00
Daniel Agar 2a1ecaa13e sensors reduce priority of a failed sensor 2017-10-29 16:24:31 +01:00
Daniel Agar e5ead354f0 EKF2 reset IMU bias if the accel or gyro changes 2017-10-29 16:24:31 +01:00
Julian Oes 6d8d6323cb navigator: bring follow me back to life
The function `mission_item_to_position_setpoint()` is called in
`FollowTarget::update_position_sp()`. The nav_cmd is a
NAV_CMD_DO_FOLLOW_REPOSITION as set earlier in `set_follow_target_item`.

Since `mission_item_to_position_setpointi` returns early because the item
presumably contains no position, the lat/lon of the mission_item are
not copied over to the position_setpoint and therefore the vehicle will
never move in follow me position mode.
2017-10-29 12:58:00 +01:00
Julian Oes 10de946cdf navigator: remove leftover debug variable 2017-10-29 12:58:00 +01:00
Matthew Dailey bcb8852c99 Use fabsf instead of fabs for floats 2017-10-29 12:57:10 +01:00
Matthew Dailey e95410882b Fix type of MNT_OB_LOCK_MODE and MNT_OB_NORM_MODE parameters
Fixes issue #8178
2017-10-29 12:57:10 +01:00
Beat Küng 9b85b39c07 syslink_main: fix int type passed to param_get() 2017-10-27 10:43:15 +02:00
Beat Küng a2fd9ef2d0 PreflightCheck: use correct type for params (int -> int32_t) 2017-10-27 10:43:15 +02:00
Beat Küng 207fdc0f12 mc_att_control_main: use correct type for params (int -> int32_t) 2017-10-27 10:43:15 +02:00
Beat Küng c3b47b71de temperature_compensation: use correct type for params (int -> int32_t) 2017-10-27 10:43:15 +02:00
Beat Küng 96616d831e sensors: fix parameter type int -> int32_t 2017-10-27 10:43:15 +02:00
Beat Küng 8a693fa13d param: undefine CHECK_PARAM_TYPE after it's used 2017-10-27 10:43:15 +02:00
Beat Küng dbb0414e01 commander: remove unused SYS_AUTOSTART param 2017-10-27 10:43:15 +02:00
Beat Küng 8cbd772489 commander: fix wrong parameter types (these are defined as float, not int) 2017-10-27 10:43:15 +02:00
Beat Küng d74f792784 commander: fix type passed to param_get() 2017-10-27 10:43:15 +02:00
Beat Küng f9dedd627f camera_feedback: fix type passed to param_get() 2017-10-27 10:43:15 +02:00
Beat Küng ca7e6fc918 camera_trigger: fix type passed to param_get() 2017-10-27 10:43:15 +02:00
Beat Küng 530fdb0b61 arm_auth: make type passed to param_get() explicit 2017-10-27 10:43:15 +02:00
Beat Küng 861f5a3d11 mag_calibration: fix type passed to param_get() 2017-10-27 10:43:15 +02:00
Beat Küng 0dcf9775f1 LandDetector: make type passed to param_get() explicit 2017-10-27 10:43:15 +02:00
Beat Küng 41a4d07e4f logger: make type passed to param_get() explicit 2017-10-27 10:43:15 +02:00
Beat Küng c997698030 mavlink: fix type passed to param_get() 2017-10-27 10:43:15 +02:00
Beat Küng 07d7b29729 simulator_mavlink: fix type passed to param_get() 2017-10-27 10:43:15 +02:00
Beat Küng c35b0aa270 param: redefine type-safe versions for param_get() when used in C++ code 2017-10-27 10:43:15 +02:00