Commit Graph

5875 Commits

Author SHA1 Message Date
v01d 8133f8d616 disable pos/alt controllers when following velocity setpoints in offboard mode 2015-10-16 11:13:52 +02:00
v01d 44bb50e9ea separate _DZ parameter to XY and Z. this allows disabling pos hold for XY and not Z 2015-10-16 11:13:52 +02:00
v01d 9c49b30118 run position controller in main_task, otherwise position setpoints will not be followed 2015-10-16 11:13:52 +02:00
v01d c010962861 change unit of MPC_HOLD_DZ parameter to "%" 2015-10-16 11:13:52 +02:00
v01d 42ccc654b5 fix float comparison to 0.0f 2015-10-16 11:13:52 +02:00
v01d da3087e54c expose pos-hold parameters (also allows different behaviours) 2015-10-16 11:13:52 +02:00
v01d 324c27b941 velocity control implemented: tested in SITL under manual mode 2015-10-16 11:13:52 +02:00
tumbili 759d2a3dff mc position control:
- directly use commanded velocity for control
- use position error to derive desired velocity when in position hold mode
2015-10-16 11:13:52 +02:00
tumbili 99c1ae12eb fix limiting of dt 2015-10-15 16:06:42 +02:00
Lorenz Meier 73e9d27acf Fix incorrect addition of G to attitude EKF 2015-10-15 11:13:24 +02:00
Lorenz Meier a3552896ca Fix bug in accel integrator handling in mavlink interface 2015-10-15 09:32:13 +02:00
Lorenz Meier 3105b49b22 FW Pos control: Avoid no symbols warnings 2015-10-14 22:36:19 +02:00
Lorenz Meier ee77ff4830 FW Att control: Avoid no symbols warnings 2015-10-14 22:36:01 +02:00
Lorenz Meier e20c683896 Navigator: Advoid no symbols warning 2015-10-14 22:34:24 +02:00
Lorenz Meier 02a21aac04 Fix signed compare for CLANG 2015-10-14 22:31:56 +02:00
Lorenz Meier b126f00052 Merged master 2015-10-14 22:07:49 +02:00
Lorenz Meier dbcb226de6 Sensors: Ensure all mag rotations are visible to the GCS 2015-10-14 20:11:00 +02:00
Lorenz Meier 5f69857a57 Merge branch 'master' of github.com:PX4/Firmware 2015-10-14 20:03:18 +02:00
Lorenz Meier 53bbe1920d Navigator: Make error message less cryptic 2015-10-14 20:02:27 +02:00
Lorenz Meier 336ca86117 Commander: Ensure primary sensor is present if configured 2015-10-14 20:02:02 +02:00
Lorenz Meier 5434d1a9ff sensors app: Finish preflight update 2015-10-14 19:35:12 +02:00
Lorenz Meier 53ff04e016 Commander: Finish preflight update for prime sensor IDs 2015-10-14 19:35:12 +02:00
Lorenz Meier e5bb1cff91 Store primary sensor ID to allow cross-check of calibration on next boot 2015-10-14 19:35:12 +02:00
Lorenz Meier a7c6a343c6 Commander: Do not enforce sensor order, only enforce that all present sensors need to be calibrated. 2015-10-14 19:35:12 +02:00
Lorenz Meier 7238916d03 Sensors: Reload calibration whenever a new sensor instance is detected 2015-10-14 19:35:12 +02:00
Daniel Agar 8e039c4079 cmake uavcan remove whitespace 2015-10-14 12:13:33 -04:00
Lorenz Meier 626edc6a8d EKF: Add error macro when running into errors 2015-10-14 18:06:41 +02:00
Lorenz Meier b83f56bc1d sdlog2: Allocate log buffer as needed, not on start. This allows the system to leverage the log buffer RAM for UAVCAN first 2015-10-14 17:31:09 +02:00
Lorenz Meier 88a4d0deca EKF: Reduce excessive stack size 2015-10-14 14:27:49 +02:00
Lorenz Meier 21431cf237 EKF: Fix output commands, fix stack size for commandline tool so we do not run out of space during debug printing 2015-10-14 14:08:03 +02:00
Lorenz Meier cff6cde47b UAVCAN: Set default optimization level to -Os because comm protocols should not hog the flash or RAM. 2015-10-14 14:07:17 +02:00
Lorenz Meier ae65269de9 UAVCAN: Increase stack since its hitting almost the limit 2015-10-14 14:06:42 +02:00
Lorenz Meier 4d7cc41921 EKF: Retain minimum Kalman update rate 2015-10-14 12:12:58 +02:00
Lorenz Meier c599cf1256 Merge pull request #2976 from PX4/mtecs
Mtecs: small update and new filter block
2015-10-14 10:17:51 +02:00
Daniel Agar 5865dc6434 cmake add libuavcan as subdirectory
-move uavcan submodule to src/modules/uavcan/libuavcan
-adding libuavcan as a subdirectory simplifies inheriting all compile
flags and include paths
2015-10-14 02:37:00 -04:00
Daniel Agar cc3695d0b7 uavcan manually add src/include to include path 2015-10-14 01:56:19 -04:00
Lorenz Meier 76dcd8b717 EKF: Better output 2015-10-14 00:18:04 +02:00
Lorenz Meier f34ba165a4 Merge pull request #2982 from NaterGator/param-hash
Enable hash generation of parameters block
2015-10-14 00:16:07 +02:00
Ben Dyer 7dacb835b9 Fixing build on targets without the UAVCAN module 2015-10-14 00:50:07 +11:00
Lorenz Meier a11ea87446 Merge pull request #2985 from DonLakeFlyer/MavFrame
Fix MAV_FRAME_MISSION usage
2015-10-13 14:51:43 +02:00
Ben Dyer d071177dd6 Added ROMFS firmware update support 2015-10-13 21:50:23 +11:00
Ben Dyer bde79c80b2 Added parameter save/erase support 2015-10-13 21:50:23 +11:00
Ben Dyer 2a7e75043d Reduced logging verbosity; fixed stack size; fixed ESC indexes 2015-10-13 21:50:23 +11:00
Ben Dyer f200260618 Exit uavcan fw process when armed 2015-10-13 21:50:23 +11:00
Ben Dyer 250c912704 Added MAVLink/UAVCAN parameter bridge; implemented UAVCAN ESC enumeration 2015-10-13 21:50:23 +11:00
Lorenz Meier a3b863bdd9 UAVCAN: Receive commands from the GCS 2015-10-13 21:50:23 +11:00
Lorenz Meier 96d90c0fe6 Improve HIL data input 2015-10-13 10:07:05 +02:00
Don Gagne 51e9f686e3 Fix MAV_FRAME_MISSION usage 2015-10-12 15:06:20 -07:00
Nate Weibley 8a4699c656 Fix style 2015-10-12 15:26:11 -04:00
Nate Weibley d7274ac5f0 Enable hash check of used parameters to verify integrity of GCS local copy 2015-10-12 13:40:14 -04:00