11338 Commits

Author SHA1 Message Date
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
TSC21
8325724079 general fixes on VIO data access 2018-09-18 09:52:33 +02:00
TSC21
7d7ee8e4bf small rebase fix 2018-09-18 09:52:33 +02:00
TSC21
88ffd047e0 lpe: mocap and vision: set common ref timestamp 2018-09-18 09:52:33 +02:00
TSC21
7629075cae lpe: sensors: mocap: fix global ref init logic 2018-09-18 09:52:33 +02:00
TSC21
f1e0310df2 fix rebase 2018-09-18 09:52:33 +02:00
TSC21
981fd98564 position_estimator_inav: simplify validation check 2018-09-18 09:52:33 +02:00
TSC21
5865a40bf3 attitude_estimator_q: add attitude data validation check 2018-09-18 09:52:33 +02:00
TSC21
6b2fb54963 attitude_estimator_q: use vehicle_visual_odometry topic to get the heading 2018-09-18 09:52:33 +02:00
TSC21
440ebfde02 remove att_pos_mocap uORB topics 2018-09-18 09:52:33 +02:00
TSC21
8dd610ab78 replay: subscribe to vehicle_visual_odometry 2018-09-18 09:52:33 +02:00
TSC21
2f5b16a5d3 mavlink_receiver: odometry handler: simplify quaternion init 2018-09-18 09:52:33 +02:00
TSC21
607be6791c ekf2: use fmaxf instead of fmax 2018-09-18 09:52:33 +02:00
TSC21
68fce26ae7 sdlog2: update log for new vehicle_odometry uORB topics 2018-09-18 09:52:33 +02:00
TSC21
efe312d4a6 style and format clean 2018-09-18 09:52:33 +02:00
TSC21
2cc193c173 lpe: mocap: fix enum constant in boolean context 2018-09-18 09:52:33 +02:00
TSC21
04dc6bc04a simulator: add ODOMETRY Mavlink msg handler 2018-09-18 09:52:33 +02:00
TSC21
cce36e69c8 position_estimator_inav: add vehicle_odometry usage; improve inout interface 2018-09-18 09:52:33 +02:00
TSC21
183a63cce9 purge vehicle_vision_position alias 2018-09-18 09:52:33 +02:00
TSC21
8f23a073a4 ekf2: add vehicle_odometry usage and data validation check; update replay as well 2018-09-18 09:52:33 +02:00
TSC21
048ff56890 lpe: add vehicle_odometry and data validation handlers; improve inout interface 2018-09-18 09:52:33 +02:00
TSC21
7303005373 mavlink_receiver: add ODOMETRY handler; use new visual_odometry uORB msg and aliases 2018-09-18 09:52:33 +02:00
TSC21
4816adcdee mavlink_receiver: remove attitude_quatertion_cov and local_position_ned_cov handlers 2018-09-18 09:52:33 +02:00
Roman Bapst
f361749d70 mavlink temporary workarounds for dronekit: added parameters to disable (#10422)
hash check and heartbeat forwarding

- hash check disabling: for systems where a companion link forwards messages
to QGC (e.g. via LTE) parameter streaming will be stopped as soon as QGC
sends the request to stop the stream. If the companion side for some reason
still requires the stream to be active we need to disable QGC from stopping
the stream. Normally dronekit should be responsible for filtering out the
request from QGC but apparently this is not possible.

- disable heartbeat forwarding: dronekit does seem to get confused if
heartbeats from another system other than the autopilot get forwarded to it.
Example: Sending messages from QGC via the autopilot to dronekit running on
companion computer.

Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-17 13:24:20 -04:00
Roman
e17f0802cc tecs msg: changed flight_path_angle to height rate as clearly we are
looking at height rates

Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-17 10:27:08 -04:00
Dion Gonano
7691990a50 Pass through horizontal and vertial covariances 2018-09-16 21:30:20 -04:00
Roman Bapst
8158cdfcf4 navigator: set yaw_valid flag in reposition triplet (#10294)
- yaw_valid flag was always left at false which made the position controller reject the yaw setpoint of the reposition command
2018-09-16 19:29:38 -04:00
bresch
740e409016 PWM - Add PWM_MIN and PWM_MAX parameters for MAIN and AUX (#10452) 2018-09-16 18:07:29 -04:00
Lukas Woodtli
3d29e2e76f Fix some test code related leaks (#10488)
These leaks are not critical but the address-sanitizer complains.
And it's better programming practice anyway.

Signed-off-by: Lukas Woodtli <woodtli.lukas@gmail.com>
2018-09-16 17:38:50 -04:00
Beat Küng
84c6b5ac6b fmu-v2: add bootloader binary and SYS_BL_UPDATE param for BL updates
This allows a simple-to-use bootloader update mechanism to switch from
fmu-v2 to fmu-v3 target that has more flash.
2018-09-14 17:06:19 +02:00
Roman Bapst
2d59ead1bf simulator: add MAV_TYPE to module parameters (#10476)
- this ensures that the MAV_TYPE parameter is always updated
- previously it could happen that the simulator module was using a wrong
MAV_TYPE value because it only read the parameter value at initialisation

Signed-off-by: Roman <bapstroman@gmail.com>
2018-09-13 21:56:21 -04:00
Daniel Agar
ea73284a1f uORB tests increase stack sizes 2018-09-02 15:31:54 -04:00
Daniel Agar
1a0472dfab sensors increase MAIN stack 2018-09-02 15:31:54 -04:00
Daniel Agar
7e12815f81 Mavlink add RADIO_STATUS timeout and reset 2018-09-02 19:48:10 +02:00
Daniel Agar
930ac8d4fe Mavlink set telemetry_status type properly for Sik radios
- remove radio_status type since there's no type support in mavlink
2018-09-02 19:48:10 +02:00
Martina Rivizzigno
21f6ca4a1f mc_pos_control: fix desired trajectory waypoint. (#10372)
- The first waypoint contains the vehicle current position and the desired velocity setpoint
2018-08-31 17:28:15 -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
5207c420c3 generic position controller status/feedback message 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
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
Daniel Agar
99ed46949e uORB_tests print pointer correctly 2018-08-30 19:04:13 +02:00
Roman
844671ed6d mavlink: moved to ModuleParams
Signed-off-by: Roman <bapstroman@gmail.com>
2018-08-30 11:13:24 -04:00