Commit Graph

1588 Commits

Author SHA1 Message Date
Matthias Grob bee6a6b8b0 Refactor: Use new matrix::Vector2f constructor 2018-10-01 08:10:21 -04:00
Matthias Grob ada0179cda matrix lib: update to latest version 2018-10-01 08:10:21 -04:00
Daniel Agar b83cb79596 Update submodule DriverFramework to latest Sun Sep 30 08:37:23 EDT 2018 (#10604)
- DriverFramework in PX4/Firmware (1ce7e8d89a16262afe07d7487e55a2ec05985627): https://github.com/PX4/DriverFramework/commit/721ace3e797f141f0950144bace6a30f6aa1325a
    - DriverFramework current upstream: https://github.com/PX4/DriverFramework/commit/9f456acb3c8d70df3cd8906123388935dd6303f6
    - Changes: https://github.com/PX4/DriverFramework/compare/721ace3e797f141f0950144bace6a30f6aa1325a...9f456acb3c8d70df3cd8906123388935dd6303f6

    9f456ac 2018-09-30 Bart Slinger - Increase DriverFramework priority to SCHED_PRIORITY_MAX
2018-09-30 10:28:52 -04:00
Bart Slinger 77d053ba65 Bebop 2: update DriverFramework with MPU6050 fix 2018-09-26 21:34:22 +02:00
Beat Küng dae292631c Tools/serial: use per-module serial port config params, instead of per-port 2018-09-25 07:53:29 +02:00
Beat Küng dc412e4cd5 px_process_params.py: fix default argument for --inject-xml 2018-09-25 07:53:29 +02:00
Beat Küng c237221a81 cmake: add serial param & ROMFS generation to the build system
- only a few configs done yet
2018-09-25 07:53:29 +02:00
Beat Küng eac8f8813a flight tasks: minor cleanup (avoid using *= for assignment) 2018-09-24 13:57:37 +02:00
Beat Küng afada8ddb5 FlightTaskManualStabilized: allow attitude control with 0 throttle
With minimum throttle set to 0, it was not possible to control the attitude
anymore at 0 throttle, the vehicle would just stay level.
2018-09-24 13:57:37 +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 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
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 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
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
Dion Gonano c68146c510 Update src/lib/ecl submodule tracking for required hgtErr changes 2018-09-16 21:30:20 -04:00
Hamish Willee dc878f43a8 Param docs explain how create (#10439)
This adds text to markdown output to explain how params are generated
2018-09-10 09:38:41 -04:00
Beat Küng 8e563c29cb DriverFramework: update submodule
MPU6050: fix implicit float to double conversion
2018-09-06 18:10:35 +02:00
PX4 Build Bot 039221fa93 Update submodule DriverFramework to latest Thu Sep 6 04:08:26 EDT 2018
- DriverFramework in PX4/Firmware (060463e8a7): https://github.com/PX4/DriverFramework/commit/b439556d54aa53532586e69de87cc720af4543c2
    - DriverFramework current upstream: https://github.com/PX4/DriverFramework/commit/c85f446f3ae3aa7707b4dfaf20486b0b75897042
    - Changes: https://github.com/PX4/DriverFramework/compare/b439556d54aa53532586e69de87cc720af4543c2...c85f446f3ae3aa7707b4dfaf20486b0b75897042

    c85f446 2018-09-06 Daniel Agar - mpu6050 fix abs double promotion
2018-09-06 01:36:06 -07:00
Daniel Agar 060463e8a7 parameters lib convert to c++ (#10267) 2018-09-04 09:18:28 -04:00
Daniel Agar af6098b9ea uORB print_message add device_id pretty print 2018-09-02 21:13:10 +02:00
PX4 Build Bot 4630b60c41 Update submodule ecl to latest Sat Sep 1 18:41:45 UTC 2018
- ecl in PX4/Firmware (e421c254e2): https://github.com/PX4/ecl/commit/3c74dc2ce1002db5b68a833fdd0aa964210e91f5
    - ecl current upstream: https://github.com/PX4/ecl/commit/b861594d0b2f8c476cb758f9ae22c83e14920dfe
    - Changes: https://github.com/PX4/ecl/compare/3c74dc2ce1002db5b68a833fdd0aa964210e91f5...b861594d0b2f8c476cb758f9ae22c83e14920dfe

    b861594 2018-09-01 Paul Riseborough - EKF:  enable optical flow use to bootstrap
2018-09-01 15:05:39 -04:00
PX4 Build Bot cbd1636d8d Update submodule matrix to latest Fri Aug 31 21:31:02 UTC 2018
- matrix in PX4/Firmware (468f28463eabc30843e606546d642adc1a62fe10): https://github.com/PX4/Matrix/commit/b815fc97c4e686a93a8074f27d1830a031b0d38d
    - matrix current upstream: https://github.com/PX4/Matrix/commit/dc3af8097798881b9b2e72a029a3c6c10abd059b
    - Changes: https://github.com/PX4/Matrix/compare/b815fc97c4e686a93a8074f27d1830a031b0d38d...dc3af8097798881b9b2e72a029a3c6c10abd059b

dc3af80 2018-08-27 Daniel Agar - constructors use array size rather than pointers
f1bee77 2018-08-27 Daniel Agar - use default constructors and skip unnecessary initialization
1bcf48b 2018-08-30 Daniel Agar - Quaternion from_dcm don't pass by value
2018-08-31 18:48:58 -04:00
PX4 Build Bot ee51fcb3c0 Update submodule ecl to latest Fri Aug 31 21:30:56 UTC 2018
- ecl in PX4/Firmware (95b83ba29715c067a30cb9501cab51264db502f1): https://github.com/PX4/ecl/commit/56b8bb08a16f0e86f7c7dfe458f0d2d3082e92e4
    - ecl current upstream: https://github.com/PX4/ecl/commit/3c74dc2ce1002db5b68a833fdd0aa964210e91f5
    - Changes: https://github.com/PX4/ecl/compare/56b8bb08a16f0e86f7c7dfe458f0d2d3082e92e4...3c74dc2ce1002db5b68a833fdd0aa964210e91f5

    3c74dc2 2018-08-30 Daniel Agar - ECL_Controller base needs virtual destructor
0d39072 2018-08-30 Daniel Agar - EKF add missing header guards
a6a1edb 2018-08-30 Kabir Mohammed - EKF : Fix type of flow data navigation variable (#499)
a53ad9c 2018-08-25 Paul Riseborough - EKF: Add missing optical flow ground motion protection
2018-08-31 18:47:11 -04:00
Daniel Agar a6dabbbae7 Landing slope move to standalone library
- this is shared by both the FW position controller and navigator's
   missiong feasibility checker
2018-08-31 14:43:51 -04:00
Daniel Agar 223dacee64 multicopter position controller use const references 2018-08-31 14:37:49 -04:00
Beat Küng 1a4396c15e param_shmem: rename exit to do_exit 2018-08-31 18:11:58 +02:00
Beat Küng 4e6139d9fb Posix: add '#pragma GCC poison exit'
Generally exit() should not be used on Posix, because it exits the whole
program instead of only the task.
2018-08-31 18:11:58 +02:00
David Sidrane ab26bd76ff tunes:Refactor for maintenance
Adds a single file definition to provide a single point to add
    new tunes and clearly understand, the useage: it need to be
    stopped will it not allow interruption.
2018-08-30 19:11:17 +02:00
Daniel Agar d11c6af923 FlightTaskAuto don't pass position setpoint by value 2018-08-30 19:04:13 +02:00
Daniel Agar d131fea899 vehicle trajectory limit unnecessary updates and reduce logging (#10347)
- fixes #10345
2018-08-30 09:21:13 -04:00
Dennis Mannhart 16ca0be4e5 FlightTaskAuto: set reference to 0 if auto is requested but no global position available 2018-08-30 09:44:54 +02:00
Dennis Mannhart 3222f583c8 use matrix .zero 2018-08-30 09:27:48 +02:00
Dennis Mannhart a24fdb93c3 FlightTaskManual: increase rc timeout to 1.5 x COM_RC_LOSS_T 2018-08-30 09:27:48 +02:00
Dennis Mannhart 1f1c9fde01 FlightTaskAuto: lock yaw once within acceptance radius 2018-08-30 09:27:48 +02:00
Dennis Mannhart 8714b216b0 FlightTaskFailsafe: comments and land with land speed if velocity in z is valid but altitude not 2018-08-30 09:27:48 +02:00
Dennis Mannhart 3d250b3b83 FlightTaskAutoLine: don't update yaw if waypoints are too close together 2018-08-30 09:27:48 +02:00
Dennis Mannhart 4d9f96bfbd FlightTaskFailure: will hover if position available, will land if velocity valid and
will land with 0.3 of hover thurst if position nor velocity is valid
2018-08-30 09:27:48 +02:00
bresch b0bbc56d12 NullMixer - Send NAN instead of 0. NAN is mapped to disarmed in fmu and io. A Null mixer can now be used to set a fixed value: "disarmed" if the system is operational or "failsafe" in failsafe mode 2018-08-28 11:23:25 -04:00