Commit Graph

18758 Commits

Author SHA1 Message Date
Beat Küng 92bf761bf1 PreflightCheck: do not check for primary mag & inconsistencies if system has no mag 2018-09-24 13:24:38 +02:00
Martina 5a57e82072 navigator: clarify NaN return for get_yaw_acceptance 2018-09-24 11:23:01 +02:00
Martina b220e74219 navigator_main: add comment to explain yaw_acceptance usage 2018-09-24 11:23:01 +02:00
Martina 5b8ae9fb29 rename position_controller_status field from altitude_acceptance_radius
to altitude_acceptance
2018-09-24 11:23:01 +02:00
Martina 40650ee2c7 FlightTaskAuto: check avoidance progress only for multicopter 2018-09-24 11:23:01 +02:00
Martina 07eb0b697e FlightTaskAuto: don't create vectors from pointers 2018-09-24 11:23:01 +02:00
Martina ba4e633bd4 FlightTaskAuto: check avoidance progress only if avoidance is active 2018-09-24 11:23:01 +02:00
Martina cef7673969 FlightTaskAuto: calculate the new altitude acceptance radius if the vehicle
is inside the xy acceptance radius but not inside the z acceptance radius
2018-09-24 11:23:01 +02:00
Martina fffb479edf navigator_main: use the altitude acceptance radius from the pos control if
it is greater than the one in the mission item
2018-09-24 11:23:01 +02:00
Martina 7031bb5a6d navigator: add yaw_acceptance getter to incorporate feedback from position
controller. The yaw acceptance is defined by the mission item. If the pos
control sets it to NAN, then the yaw at a waypoint is ignored.
2018-09-24 11:23:01 +02:00
Martina a5a204004b FlightTaskAuto: add check for xy mission progress 2018-09-24 11:23:01 +02:00
Daniel Agar 38aa9a20f6 parameters delete unused scope 2018-09-23 13:56:04 -04:00
MaEtUgR 2c7c876c38 mavlink_receiver: parse all 18 channels from rc_override 2018-09-21 16:26:27 +02:00
MaEtUgR 4f0e090e88 drv_rc_input: replace useless rc_input_values define 2018-09-21 16:26:27 +02:00
TSC21 5c386a737c make generation of micro-RTPS agent CMakeLists.txt optional 2018-09-21 15:55:17 +02:00
TSC21 6eda4feb20 use os.path.join() when possible 2018-09-21 15:55:17 +02:00
TSC21 43f78705ab add option to set the msg IDL dir 2018-09-21 15:55:17 +02:00
TSC21 e3560795a1 make 'build' dir creation optional 2018-09-21 15:55:17 +02:00
TSC21 1ee6c03627 add --generate-yaml option 2018-09-21 15:55:17 +02:00
TSC21 5c80fe25f5 small typo fix 2018-09-21 15:55:17 +02:00
TSC21 bb835382dd use a yaml file description instead of json; minor improvements and cleanup 2018-09-21 15:55:17 +02:00
TSC21 a323073456 load RTPS msg IDs from a JSON file and remove uorb_rtps_message_ids.py 2018-09-21 15:55:17 +02:00
Daniel Agar cfac2cc38e uORB advertise through uORBDeviceMaster directly 2018-09-19 10:00:45 +02:00
Roman ad88ef14e1 weathervane: use a single parameter to enable
- in auto mode we always run weather vane
- in manual model we just use it in position control mode

Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-19 08:27:07 +02:00
Roman ee5007e886 weathervane params: added unit tag and minor comment update
Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-19 08:27:07 +02:00
Roman 96f3feb088 weathervane: get rid of passive strategy
Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-19 08:27:07 +02:00
Roman 0e835cb498 Weathervane: pass quaterionon as constant reference
Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-19 08:27:07 +02:00
Roman ccaeb58708 WeatherVane lib: address review comments 2018-09-19 08:27:07 +02:00
Roman ce7272a39c WeatherVane: calculate rotation matrix directly when updating
Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-19 08:27:07 +02:00
Roman d6b6a1d0b3 addressed comments from review
Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-19 08:27:07 +02:00
Roman 4ad11484ca mc_pos_control: moded weathervane parameters to weathervane lib
Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-19 08:27:07 +02:00
Roman 8abcf2defa mc_pos_control: use weathervane library to make vehicle turn into relative wind
Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-19 08:27:07 +02:00
Roman 6038c22174 added a weathervane library
- computes a yaw-rate setpoint that tries to rotate the nose of the vehicle
into the relative wind.

Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-19 08:27:07 +02:00
Daniel Agar b1c6701f01 px4io driver use common error string 2018-09-19 08:26:32 +02:00
Daniel Agar 878bd43ad1 heater driver use common error string 2018-09-19 08:26:32 +02:00
Daniel Agar 67f1e63362 drivers don't print accel and gyro filter frequency 2018-09-19 08:26:32 +02:00
garfieldG f14125c160 Mavlink NuttX network support (#10200) 2018-09-18 23:29:58 -04:00
Daniel Agar c7e572d2c2 commander preflight check sensors via uORB instead of IOCTL
- remove all platform defines
2018-09-18 22:24:03 +02:00
ChristophTobler f72e9e4385 pmw3901: set quality to zero if flow below threshold 2018-09-18 18:37:44 +02:00
PX4 Build Bot a4a9b02ff1 Update submodule matrix to latest Tue Sep 18 12:37:50 UTC 2018
- matrix in PX4/Firmware (6a217407806bac38328cd12903ee3aff52df14b0): https://github.com/PX4/Matrix/commit/dc3af8097798881b9b2e72a029a3c6c10abd059b
    - matrix current upstream: https://github.com/PX4/Matrix/commit/30d5a794326f41286b387581f7c21f4bdb8fa696
    - Changes: https://github.com/PX4/Matrix/compare/dc3af8097798881b9b2e72a029a3c6c10abd059b...30d5a794326f41286b387581f7c21f4bdb8fa696

    30d5a79 2018-09-14 Bart Slinger - testing float/double with Type template
707e288 2018-09-13 Bart Slinger - explicit casting
480c5f1 2018-09-13 Bart Slinger - static assert M>=N. floats to Type, arguments as const reference
7495794 2018-09-12 Bart Slinger - test zero divisions
3f2d3cf 2018-09-12 Bart Slinger - fix a div/0 condition
983a3f0 2018-09-12 Bart Slinger - use Matrix and Vector class for A and tau
98b8e2d 2018-09-12 Bart Slinger - formatting
0009328 2018-09-09 Bart Slinger - least squares solver for MxN matrices using QR householder algorithm
2018-09-18 18:36:51 +02:00
Oleg Kalachev 9887c463fd mavlink_receiver: fill some missing fields in OPTICAL_FLOW_RAD handler 2018-09-18 09:53:35 +02:00
TSC21 f0c231778f fix format 2018-09-18 09:52:33 +02:00
TSC21 9566804f8c fix small typo on PX4_ISFINITE covariance verification 2018-09-18 09:52:33 +02:00
TSC21 095cdeb4b0 add a local frame of reference field to vehicle_odometry 2018-09-18 09:52:33 +02:00
TSC21 cc73f214d1 add covariance matrices index aliases 2018-09-18 09:52:33 +02:00
TSC21 1cfaccfd7b mavlink_receiver: use typedef dcmf for DCM matrices 2018-09-18 09:52:33 +02:00
TSC21 6329f1a38a small fix on cov passing loop 2018-09-18 09:52:33 +02:00
TSC21 746250d86d use static_assert over covariance matrices URT array size 2018-09-18 09:52:33 +02:00
TSC21 7db57bedb7 assert over the covariance matrices URT size matching 2018-09-18 09:52:33 +02:00
TSC21 eeca8d4efe position_estimator_inav: fix inverted logic for data validation check 2018-09-18 09:52:33 +02:00