Commit Graph

2330 Commits

Author SHA1 Message Date
Anton Babushkin 4912a4af99 Merge branch 'beta' into ready_rtl_fix 2014-02-28 20:04:43 +04:00
Anton Babushkin 8783bed114 sdlog2: getopt invalid usage fixed 2014-02-28 00:49:12 +04:00
Julian Oes 680f2dd417 Merge remote-tracking branch 'px4/master' into beta 2014-02-27 17:30:15 +01:00
Anton Babushkin f818765008 top: CPU % indication bug fixed 2014-02-27 18:32:55 +04:00
Anton Babushkin a79eef05bc perf_counter: added include 2014-02-24 23:48:00 +04:00
Julian Oes 5ed5e04cb2 sdlog2: code style fixes broke compilation 2014-02-24 15:43:23 +01:00
Julian Oes 909e138182 l1_pos_control: fix stupid 'if not' mistake 2014-02-24 14:27:24 +01:00
Julian Oes 75c6706278 l1_pos_control: set gndspeed_undershoot to 0 in loiter 2014-02-24 14:19:57 +01:00
Julian Oes ab8ece3961 l1_pos_control: prevent NaNs for roll setpoint 2014-02-24 12:42:48 +01:00
Julian Oes 9bed1677bd Merge remote-tracking branch 'px4/beta' into fix_mission_dive
Conflicts:
	src/modules/navigator/navigator_main.cpp
2014-02-24 10:24:08 +01:00
Lorenz Meier e1f60e7709 Code style fixes (authors should be in the doxygen section), using lseek to attempt to work around log corruption 2014-02-23 12:53:20 -08:00
Lorenz Meier 20618a611b Fixed a number of compile warnings in mount tests. 2014-02-23 12:44:05 -08:00
Thomas Gubler 17ec859758 Merge pull request #682 from thomasgubler/beta_fwautoland
Beta: fw autoland remove virtual waypoint
2014-02-23 20:29:21 +01:00
julianoes 9c02525e39 Merge pull request #664 from thomasgubler/beta_audio
navigator mavlink log info messages: add #audio tag
2014-02-23 12:10:06 +01:00
Thomas Gubler f4bac7e7e8 navigator: remove all but one [navigator] tag from mavlink audio messages 2014-02-21 20:22:05 +01:00
Lorenz Meier c659e0240b Merge branch 'master' of github.com:PX4/Firmware into beta 2014-02-21 13:16:23 +01:00
Lorenz Meier 983cff56b3 Added int cast to handle arithmetic correctly 2014-02-21 12:50:29 +01:00
Lorenz Meier 06b69b70a5 Scaling Spektrum inputs into normalized value same as the servo outputs do 2014-02-21 12:27:04 +01:00
Lorenz Meier a91b68d8a5 Fix DSM pairing error handling. 2014-02-21 08:37:12 +01:00
Lorenz Meier 603069f169 Code style 2014-02-21 08:36:51 +01:00
Lorenz Meier f1f1ecd096 Fix mavlink feedback FD handling 2014-02-21 08:36:45 +01:00
Lorenz Meier b58fa2dffc Change bit mask to allow for 10 channels. 2014-02-21 08:34:36 +01:00
Lorenz Meier cfb4f76bad Merge pull request #684 from PX4/dsm_fix
Dsm support for DX10t
2014-02-21 08:12:04 +01:00
Lorenz Meier 9828d5ede4 Fix copyright, do not return junk channel #13 that Spektrum gives us. 2014-02-21 08:07:49 +01:00
Lorenz Meier 2d97dff35c Added support for DX10t, which apparently outputs 13 channels 2014-02-21 08:07:42 +01:00
Thomas Gubler b7899056f5 fw autoland: add very short comment 2014-02-19 23:32:55 +01:00
Thomas Gubler 60de15ea9d fw autoland: remove old comments 2014-02-19 23:26:50 +01:00
Thomas Gubler ae3e625ce8 fw pos ctrl: initialize uorb structs in initialization list 2014-02-19 23:20:17 +01:00
Thomas Gubler 9830f668c5 fw autoland: fix warning 2014-02-19 22:55:40 +01:00
Thomas Gubler b7488da441 fw autoland: completely remove the virtual wp between the last wp and the landing wp. autoland starts now from the last normal wp. 2014-02-19 22:06:05 +01:00
Thomas Gubler 6480c6a2ce fw autoland: remove confusing slopelength parameter 2014-02-19 21:48:54 +01:00
Julian Oes 18f71e6bc4 fw_pos_control_l1: warning fixes 2014-02-19 10:49:03 +01:00
Julian Oes 84df8ee78d TECS: warning fixes 2014-02-19 10:48:46 +01:00
Julian Oes 79d2e5de6c TECS: use constant from geo 2014-02-19 10:48:31 +01:00
Anton Babushkin 84d9e3479f mc_pos_control: unused variables removed 2014-02-18 23:42:02 +04:00
Anton Babushkin 1eecc73483 Merge branch 'beta' into ready_rtl_fix 2014-02-18 19:09:33 +04:00
Anton Babushkin 7d8f08ad9a navigator: check if yaw reached only when position reached 2014-02-18 19:05:32 +04:00
Anton Babushkin a43c7c488e navigator: "reached" flags reset fixed 2014-02-18 18:54:58 +04:00
Anton Babushkin b28b0d0fce Merge branch 'beta' into rtl_heading 2014-02-18 18:19:12 +04:00
Julian Oes 83f66e4599 fw_pos_control_l1: use double everywhere for lat and lon 2014-02-18 14:40:11 +01:00
Julian Oes 3eaa892ee4 fw_pos_control_l1: indentation only 2014-02-18 14:35:41 +01:00
Julian Oes 4b519e4d5d Navigator: Get rid of warnings first 2014-02-18 14:04:11 +01:00
Anton Babushkin 3508a42f6a Merge branch 'master' into beta 2014-02-18 16:13:19 +04:00
Anton Babushkin 4cfaf928e1 px4io: bug in failsafe fixed 2014-02-18 16:11:46 +04:00
Stefan Rado 7fa82a27a7 Merge branch 'master' into beta 2014-02-17 22:10:06 +01:00
marco a8b3381ca9 BL-Ctrl 3.0 fix 2014-02-17 21:29:14 +01:00
Anton Babushkin d9031844da Unused includes removed 2014-02-18 00:13:55 +04:00
Anton Babushkin 969f564a13 mc_att_control: code style fixed 2014-02-17 23:58:58 +04:00
Anton Babushkin 2b4af66357 mc_att_control: poll vehicle_rates_setpoint if attitude controller disabled 2014-02-17 23:58:13 +04:00
Anton Babushkin 55f5f1815f mc_att_control: remove rate limiting to run at 250Hz 2014-02-17 23:57:23 +04:00
Anton Babushkin e407766cc7 mc_att_control: minor cleanup and refactoring, move some class attributes to local variables 2014-02-17 23:56:31 +04:00
Thomas Gubler acf680389e launchdetector: add reset, #663 2014-02-17 20:45:05 +01:00
Anton Babushkin 8bc0287ecc commander: disarm system when safety enabled 2014-02-17 22:45:54 +04:00
Anton Babushkin 838290fa63 mc_att_control: pref counter name fixed 2014-02-17 17:12:25 +04:00
Anton Babushkin 7d80f05b4d mc_att_control: more strict conditions for integrating 2014-02-17 12:53:06 +04:00
Anton Babushkin 9665d38940 navigator: parameters descriptions cleanup 2014-02-17 12:51:13 +04:00
Anton Babushkin 2c589ea374 navigator: parameters descriptions cleanup 2014-02-16 21:11:27 +01:00
Anton Babushkin 4b41a398e7 mc_pos_control: parameters descriptions added 2014-02-16 21:05:54 +01:00
Anton Babushkin 7f7ce77d61 mc_att_control: parameters descriptions added 2014-02-16 20:14:39 +01:00
Anton Babushkin 44c095b9e5 commander: allow arming from RC with safety enabled in HIL mode 2014-02-16 19:46:57 +01:00
Anton Babushkin 92578e1fc3 navigator: ignore min altitude on MC, loiter always at current altitude 2014-02-16 19:34:44 +01:00
Anton Babushkin a6af669399 navigator: switch to READY instead of LOITER if landed 2014-02-16 14:45:18 +01:00
Julian Oes 5bb004a711 Merge remote-tracking branch 'px4/master' into beta 2014-02-16 12:36:11 +01:00
Julian Oes 1be3ea4f4e MPU6000: gyro topic was not initialized 2014-02-16 12:18:22 +01:00
Lorenz Meier ab2f260f77 Merge pull request #671 from PX4/param_docs
Parameter documentation enhancements
2014-02-16 11:31:54 +01:00
Stefan Rado 1c13225b19 Fixed illegal character 0x96. 2014-02-16 01:45:10 +01:00
Lorenz Meier 7a351c317b Merge branch 'beta' of github.com:PX4/Firmware into beta 2014-02-15 22:19:27 +01:00
Lorenz Meier 387bfad1ca Fixed status printing for airspeed sensor 2014-02-15 22:19:14 +01:00
Stefan Rado d811853d44 Fixed Doxygen comments and added parameter documentation group. 2014-02-15 21:47:13 +01:00
Stefan Rado f8e5096dd6 Merge branch 'beta' of https://github.com/Highlander-UA/Firmware into param_docs 2014-02-15 21:38:53 +01:00
Lorenz Meier 4bd83dcaeb Fix compile errors 2014-02-15 21:20:02 +01:00
Lorenz Meier 28536682aa Fix airspeed sensor 2014-02-15 21:00:48 +01:00
Highlander-UA 480ba491f3 Missing descriptions added for L1 control parameters 2014-02-15 17:27:38 +02:00
Highlander-UA 9e56652d3e Added comments for L1 control parameters 2014-02-15 13:34:49 +02:00
Thomas Gubler 51b7c27363 Merge pull request #666 from PX4/fix_loiter
Navigator: set loiter WP correctly
2014-02-14 09:08:46 +01:00
Stefan Rado 7441efde47 Add a lot of MAVLink parameter documentation. 2014-02-14 01:48:00 +01:00
Julian Oes 036ebdbe78 Commander: add guard for parachute deployment 2014-02-13 16:08:49 +01:00
Julian Oes 4982e81983 Navigator: set loiter WP correctly 2014-02-13 15:30:06 +01:00
Thomas Gubler 4a66e285ad navigator mavlink log info messages: add #audio tag 2014-02-13 00:06:06 +01:00
Anton Babushkin 3d83c45f75 mavlink: bug in telemetry_status publication fixed 2014-02-12 13:20:15 +01:00
Anton Babushkin 179aa17a38 sdlog2: TELE (telemetry status) message added, type for 'rssi' and 'remote_rssi' in 'telemetry_status' topic fixed to be consistent with 'noise'/'remote_noise' and mavlink message. 2014-02-12 12:21:23 +01:00
Anton Babushkin 36bd7a797b navigator: use bearing to home for RTL 2014-02-12 11:46:26 +01:00
Anton Babushkin 4b567ef631 gpio_led: bugs fixed, PX4FMUv2 support added 2014-02-11 23:59:02 +01:00
Anton Babushkin 0ead560059 commander: tunes cleanup and fixes 2014-02-11 18:24:20 +01:00
Anton Babushkin 0613b299c0 commander: play warning tune (as for low battery) when in failsafe state 2014-02-11 16:35:05 +01:00
Anton Babushkin 855944fb2e commander: beeps and blinks cleanup 2014-02-11 16:35:05 +01:00
Anton Babushkin 6631ecf04a commander: reset blink_msg_end when blink message completed to set normal LED status immediately 2014-02-11 16:35:05 +01:00
Lorenz Meier 1b978293d9 Merged master into beta 2014-02-11 08:24:18 +01:00
Anton Babushkin 268f3d757f Merge branch 'beta' of https://github.com/PX4/Firmware into beta 2014-02-10 23:17:51 +01:00
Julian Oes aea135a9ce fw_pos_control: flare altitude back to 15m 2014-02-10 13:41:40 +01:00
Julian Oes 44bde0db91 Navgitor: adjusted default loiter radius 2014-02-10 13:16:27 +01:00
Julian Oes 75d0882638 fw_pos_control: added default for autoland parameters 2014-02-10 13:16:02 +01:00
Anton Babushkin a9e5e2e31a position_estimator_inav: default parameters and min/max EPH/EPV updated 2014-02-10 08:54:48 +01:00
Lorenz Meier 773f70a9df Merged origin/master into pubsub_cleanup 2014-02-09 16:04:32 +01:00
Lorenz Meier f52f15c791 Merge pull request #626 from PX4/rc_mapping
Improved RC calibration behaviour, fully supported setting trim offsets
2014-02-09 15:49:55 +01:00
Thomas Gubler ce83f450b8 Merge pull request #629 from thomasgubler/beta_avoidclimbout
fw landing: improve slope altitude calc to avoid climbout after waypoint, throttle cut is now defined via altitude
2014-02-07 19:50:54 +01:00
Anton Babushkin 1d40582cc0 navigator: forbid READY - > RTL transition fix 2014-02-06 12:42:20 +01:00
Anton Babushkin 29b0678d84 navigator: forbid READY - > RTL transition 2014-02-06 11:56:01 +01:00
Julian Oes 3392086f8f Mixer load: don't upload empty mixers from non-existing files 2014-02-05 21:19:25 +01:00
Lorenz Meier 399d59483e Fixed code style 2014-02-05 09:36:22 +01:00
Lorenz Meier 94b162d0e0 Fixed up nullptr handling 2014-02-05 09:34:21 +01:00
marco 1ef7320e0c startup rewrite 2014-02-04 16:50:22 +01:00
Lorenz Meier 97c5daf924 Merge branch 'master' into beta 2014-02-04 15:34:35 +01:00
Lorenz Meier 1168615a7c Merge pull request #630 from jean-m-cyr/beta
Optimize and update data manager docs
2014-02-03 11:43:58 -08:00
Anton Babushkin 8de35025b5 navigator: avoid climbing up for LOITER after RTL 2014-02-02 22:06:40 +01:00
Anton Babushkin 3d21a73ddf navigator: fixed infinite RTL->LOITER->RTL... loop on failsafe 2014-02-02 22:04:11 +01:00
marco 816229652f i2c1 bug and bus scan fixed 2014-02-02 20:36:11 +01:00
marco 0089db7ef3 code cleanup 2014-02-02 16:28:56 +01:00
Lorenz Meier 150bac4b51 Sensors messaging cleanup 2014-02-02 15:17:49 +01:00
marco 9defc6cb23 mkblctrl fmuv2 support added 2014-02-02 14:26:17 +01:00
Jean Cyr b92b08ae62 Optimize and update data manager docs
Move repeated code to common function
Update missing and misleading comments
Fix data manager test compile errors
No functional changes
2014-02-02 00:42:15 -05:00
Thomas Gubler efc62a6c86 fw landing: improve slope altitude calc to avoid climbout after waypoint. Throttle cut is now defined via altitude 2014-02-02 00:43:41 +01:00
Lorenz Meier 243a28ff8b Do not send an error message for RX pairing commands 2014-02-01 23:13:41 +01:00
Lorenz Meier 020e7dcae3 Merged master into beta 2014-02-01 19:13:13 +01:00
Lorenz Meier dd7c198268 Merged master into beta 2014-02-01 19:03:45 +01:00
Lorenz Meier e1356f69b4 Hotfix: Check all channel mappings for valid ranges 2014-02-01 19:01:05 +01:00
Lorenz Meier 14bbecfd7a Hotfix: Check all channel mappings for valid ranges 2014-02-01 18:59:26 +01:00
Thomas Gubler aa5d8a8732 remove printf in launchdetector 2014-02-01 16:06:09 +01:00
Lorenz Meier f02698dbe3 Merge branch 'master' of github.com:PX4/Firmware 2014-02-01 15:01:19 +01:00
Lorenz Meier 71d0d1c404 Make MTD startup less verbose, there are diagnostic commands to read off its state 2014-02-01 15:01:11 +01:00
Thomas Gubler 44cd82e2fe Set default autoland wait time to -1 (infinite wait) 2014-02-01 14:40:23 +01:00
Lorenz Meier 713f35e04e Merge branch 'master' of github.com:PX4/Firmware into rc_mapping 2014-02-01 14:17:06 +01:00
Thomas Gubler 48f777d071 commander sets vstatus.condition_landed = false for fw systems (until we have a landing detector): solves multiple issues with the state machine in the navigator app 2014-02-01 13:54:39 +01:00
Lorenz Meier c1d1d67534 Improved RC calibration behaviour, fully supported setting trim offsets 2014-02-01 13:22:52 +01:00
Thomas Gubler 7bb3197871 Merge remote-tracking branch 'upstream/beta' into beta 2014-02-01 11:59:56 +01:00
Thomas Gubler 589f6cdb44 navigator: in start_loiter set _pos_sp_triplet.current.type to SETPOINT_TYPE_LOITER instead of SETPOINT_TYPE_NORMAL 2014-02-01 11:59:39 +01:00
Thomas Gubler e8dd70e815 fw: fix global position lat/lon read-in (lat/lon have changed to double lately) 2014-02-01 11:58:34 +01:00
Anton Babushkin 8897894b19 commander, navigator, mc_att_control, mc_pos_control: code style fixed 2014-02-01 11:14:21 +01:00
Anton Babushkin 542ec2d91d Merge branch 'wrap_pi_fixes' into beta 2014-02-01 11:06:57 +01:00
Anton Babushkin 8660ea914a Merge commit '028aa918bc3ccd87afd967daf663a9c12d14258d' into beta 2014-02-01 10:33:09 +01:00
Anton Babushkin f835980b46 mc_pos_control: more correct control flags usage 2014-02-01 10:32:46 +01:00
Anton Babushkin 8a20395159 mc_pos_control: fixed yaw setpoint in AUTO 2014-02-01 10:29:51 +01:00
Anton Babushkin bb8be966fc mc_pos_control: more safe tilt limiting 2014-02-01 10:20:48 +01:00
Anton Babushkin 0be7bd3166 mc_pos_control: max position setpoint offset limiting fixed 2014-02-01 00:07:50 +01:00
Anton Babushkin 7d17a48b3c param set: fixed float format 2014-01-31 17:34:46 +01:00
Anton Babushkin d933d523eb mc_att_control: att rate integral fix 2014-01-31 16:46:54 +01:00
Anton Babushkin 282e0bb670 mc_att_control: separate gains for roll and pitch 2014-01-31 11:35:11 +01:00
Anton Babushkin 88d3f875ff attitude_estimator_ekf: enable acceleration compensation by default 2014-01-31 08:48:00 +01:00
Anton Babushkin af3b24dc00 mc_pos_control: removed unused parameter reading RC_SCALE_YAW 2014-01-31 00:47:31 +01:00
Anton Babushkin 498155cf67 mc_att_control: yaw dead zone fixed, added MC_YAW_FF (yaw feed-forward) parameter 2014-01-31 00:46:28 +01:00
Lorenz Meier 83df116c7a Hotfix: Move mixer variables in test routine into function 2014-01-30 23:11:37 +01:00
Anton Babushkin 7274c0ce30 Merge branch 'master' into beta 2014-01-30 23:07:28 +01:00
Lorenz Meier 8d79d91950 Revert "Merge pull request #620 from pigeonhunter/stack_sizes"
This reverts commit 3b31a6b1b9, reversing
changes made to 70afb3ca3b.
2014-01-30 21:54:29 +01:00
Lorenz Meier 5316741ed4 Revert "mavlink: revert stack size 2048 to fix suspending in HIL mode"
This reverts commit eb177def14.
2014-01-30 21:53:27 +01:00
Anton Babushkin eb177def14 mavlink: revert stack size 2048 to fix suspending in HIL mode 2014-01-30 20:50:47 +01:00
Lorenz Meier 71e35d7ed1 Merge branch 'master' of github.com:PX4/Firmware 2014-01-30 19:44:38 +01:00
Anton Babushkin 9cbc31b588 mavlink: revert stack size 2048 to fix suspending in HIL mode 2014-01-30 19:44:06 +01:00
Anton Babushkin f64872b9b3 Merge branch 'master' into beta 2014-01-30 17:23:10 +01:00
Anton Babushkin 13a5b5b4a3 mc_att_control: major cleanup and code reorganization 2014-01-30 16:02:17 +01:00
Lorenz Meier 1458bdfbcb Pure code style fix of cpuload, no funcationality changes 2014-01-30 13:07:17 +01:00