Commit Graph

18896 Commits

Author SHA1 Message Date
David Sidrane 477152a96d Commander:Support BOARD_INDICATE_ARMED_STATE for HW that supports external armed indiction 2019-02-26 15:34:10 -05:00
David Sidrane bf8a5e9652 board_common:Add BOARD_INDICATE_ARMED_STATE
This adds an optional default support for HW that does not
   have and external armed indiction.
2019-02-26 15:34:10 -05:00
Mark Sauder c04147c53c Mavlink receiver: Move most variable initializations out of the constructor to the variable declarations 2019-02-26 11:48:02 -05:00
mcsauder ca92b8016d Move member variable initialization out of the constructor list to variable declarations, format whitespaces/tabs in sf1xx.cpp. 2019-02-26 10:42:00 -05:00
bresch f229444722 ManualSmoothVel - Split position lock condition and flag action 2019-02-25 21:41:04 +01:00
Matthias Grob db0283ef21 mc_pos_control: fix altitude limitation
Before if you were above the maximum altitude you could not command to
go down anymore until the position controller had overshoot to under the
maximum altitude again.
2019-02-25 18:53:05 +01:00
Matthias Grob 93ef70c43d vmount: add missing yaw wrap at the end of a ROI update 2019-02-25 11:03:04 -05:00
Matthias Grob 35409b4079 vmount: refactor ROI position update for readability 2019-02-25 11:03:04 -05:00
Mohammed Kabir 20e44aa320 Analog Device ADIS16497 IMU initial support 2019-02-25 09:34:58 -05:00
Alessandro Simovic d5aad58c92 navigator: reset vehicle_roi on mission update 2019-02-25 09:11:24 -05:00
sfalexrog 9355324209 mavlink/MavlinkReceiver: Use hrt_absolute_time for distance_sensor timestamps 2019-02-25 12:07:53 +01:00
bresch 8f584a1496 smooth takeoff - Support smooth takeoff triggered by jerk setpoint 2019-02-25 08:07:33 +01:00
Daniel Agar 0d170a0eaf FlightTasks VelocitySmoothing initialize member
- fixes Coverity CID 328485
2019-02-24 17:10:15 -05:00
Daniel Agar 7eca2769a7 FlightTasks AutoLineSmoothVel initialize member
- fixes Coverity CID 328492
2019-02-24 17:10:15 -05:00
Daniel Agar b2739d946c FlightTasks ManualPositionSmoothVel initialize member
- fixes Coverity CID 332544
2019-02-24 17:10:15 -05:00
Carl Olsson 447e0be250 gpssim: populate s_variance_m_s with 0.25 (#11521)
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
2019-02-24 11:23:28 -05:00
Daniel Agar e4b3c8bcc6 tests enable bezier and search_min 2019-02-22 16:23:57 -05:00
Oleg Kalachev 0b4751d031 simulator_mavlink: fix DISTANCE_SENSOR.covariance field handling 2019-02-22 18:31:27 +00:00
Oleg Kalachev fbc8d01a7e Rename distance_sensor.covariance to variance 2019-02-22 18:31:27 +00:00
Oleg Kalachev 8ba7569852 mavlink_messages: fill DISTANCE_SENSOR.covariance correctly 2019-02-22 18:31:27 +00:00
Oleg Kalachev ec3f1fd5c2 mavlink_receiver: fix DISTANCE_SENSOR covariance handling 2019-02-22 18:31:27 +00:00
mtm-oss b818b07df3 mc_att_control: Failover in case of gyroscope failure (#11516)
Problem description at: http://discuss.px4.io/t/multicopter-lock-if-primary-gyro-fails/9685
2019-02-22 12:51:40 -05:00
Daniel Agar 184aa2861a PX4_ISFINITE use builtin everywhere 2019-02-21 14:56:08 -05:00
Beat Küng 75bb3e9bac bmi055: add support for IMU_GYRO_CUTOFF and IMU_ACCEL_CUTOFF 2019-02-21 12:30:44 -05:00
Beat Küng ba6ef19314 bmi055: fixes for on-chip filter
- Accel: use cutoff of 62.5 Hz instead of 500 Hz
- Gyro: the cutoff frequency is coupled with the ODR and is fixed to 116 Hz
  at 1 kHz readout rate. So this patch does not change anything for the
  gyro.
2019-02-21 12:30:44 -05:00
mcsauder 6762f09490 Move variable initializations to header file that were no longer in the correct order in the constructor list. 2019-02-21 09:22:01 -05:00
mcsauder 8a6a5cc310 Deprecate #defines that are not needed, format whitespace and minor (incomplete) alphebetization of a few lists. 2019-02-21 09:22:01 -05:00
Alessandro Simovic cb9d483cb8 navigator: removed "using" C++ directive
There is only one occurence of the namespace specified,
so it's more readable to simply specify the full namespace in this case.
2019-02-21 09:20:06 -05:00
Alessandro Simovic 168f1a5d51 navigator: offboard_mission -> mission 2019-02-21 09:20:06 -05:00
bazooka joe 6ed5ee6865 remove check of myoptind >= argc because: [bkueng](/bkueng)
Because BATT_SMBUS is using a different structure (the ModuleBase class), and `BATT_SMBUS::task_spawn` is only called for the `start` command. This is the reason why you don't need to check for it in here.
2019-02-21 09:45:45 +01:00
bazooka joe 7bac0e03de Fixed using myoptarg instead of optarg 2019-02-21 09:45:45 +01:00
Beat Küng ae335f6bd8 Fixed using myoptarg instead of optarg
Co-Authored-By: BazookaJoe1900 <BazookaJoe1900@gmail.com>
2019-02-21 09:45:45 +01:00
Beat Küng 550710d502 Fixed using myoptarg instead of optarg
Co-Authored-By: BazookaJoe1900 <BazookaJoe1900@gmail.com>
2019-02-21 09:45:45 +01:00
Beat Küng 8e991f1878 Fixed using myoptarg instead of optarg
Co-Authored-By: BazookaJoe1900 <BazookaJoe1900@gmail.com>
2019-02-21 09:45:45 +01:00
Beat Küng e639a8834c Fixed using myoptarg instead of optarg
Co-Authored-By: BazookaJoe1900 <BazookaJoe1900@gmail.com>
2019-02-21 09:45:45 +01:00
Beat Küng 1ffacdc3c0 Fixed using myoptarg instead of optarg
Co-Authored-By: BazookaJoe1900 <BazookaJoe1900@gmail.com>
2019-02-21 09:45:45 +01:00
bazooka joe 922c19aa9c using only px4_getopt() and never the unsafe getopt()
using only <px4_getopt.h> as include, cleanup related includes
added check that all the option are valid (myoptind >= argc). if there are invalid options on some script that might now lead not to run commands
2019-02-21 09:45:45 +01:00
Anna Dai 3db901b238 add mavlink mode external vision MAVLINK_MODE_EXTVISION
the mode can be used for VIO algorithms and obstacle avoidance to close the loop
2019-02-21 09:18:23 +01:00
mcsauder b5be8d9fd1 Add perf_free() calls orb_unsubscribe and remove delete _instance in the Simulator class destructor. 2019-02-21 08:12:22 +01:00
mcsauder 437a9e0260 Move remaining variable initialization from constructor list and alphabetize/organize methods and vars ordering. 2019-02-21 08:12:22 +01:00
Daniel Agar 88fd8147fd commander auto disarm if kill switch engaged for 5 seconds
- closes #10133
2019-02-20 18:37:20 +01:00
Matej Frančeškin 9782aecc73 Added GPS reset command 2019-02-19 16:30:42 +01:00
Beat Küng ea27a03599 atxxxx: various fixes & cleanup 2019-02-19 10:55:55 +01:00
Beat Küng 7312059c29 atxxxx: refactor to ModuleBase (fixes some uorb subscription problems) 2019-02-19 10:55:55 +01:00
Beat Küng 717e52fa57 osd: rename driver to atxxxx 2019-02-19 10:55:55 +01:00
DanielePettenuzzo c3f9294b49 omnibus: initial osd driver for omnibus board 2019-02-19 10:55:55 +01:00
mcsauder 31f23c1e76 Rename tune_control_s strength to volume to match Nuttx and Linux standard nomenclature for audio (loudness) control. 2019-02-19 10:07:53 +01:00
Todd Colten 57dd1b7b45 reduced use of mixed capitalization
e.g. 
Preflight Fail: Height estimate error
Preflight Fail: Velocity estimate error
Preflight Fail: Position estimate error
Preflight Fail: Yaw estimate error
2019-02-19 09:44:42 +01:00
Todd Colten 0faba12337 re-word Preflight Fail msg, attempt 2
My recent PR exceeded the 50 char limit (apparently the last character must be null?).

This new attempt changes: "Preflight Fail: Horizontal position estimate Error"  to: "Preflight Fail: Position estimate Error"

In fact, this newest wording is more easily understood by the average user and is actually more consistent with the other COM_ARM_EKF_xxx related errors:

COM_ARM_EKF_HGT --> "Preflight Fail: Height estimate Error"
COM_ARM_EKF_VEL --> "Preflight Fail: Velocity estimate Error"
COM_ARM_EKF_POS --> "Preflight Fail: Position estimate Error"
2019-02-19 09:44:42 +01:00
Hamish Willee 4dc1503122 Fix link to EKF tuning page 2019-02-19 08:05:39 +01:00