Commit Graph

2330 Commits

Author SHA1 Message Date
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
Lorenz Meier ff753b9e24 Merged master into lockdown_disable 2014-01-30 10:00:01 +01:00
Lorenz Meier 3b31a6b1b9 Merge pull request #620 from pigeonhunter/stack_sizes
Stack sizes
2014-01-30 00:54:55 -08:00
Lorenz Meier 70afb3ca3b Merge pull request #609 from PX4/rc_status
RC status metadata cleanup and extension
2014-01-30 00:53:01 -08:00
Anton Babushkin 655192a7f1 Merge branch 'master' into beta 2014-01-29 22:13:22 +01:00
Anton Babushkin 7d2f2523f8 navigator: reset mission item timer on state and mission item changes 2014-01-29 22:11:38 +01:00
Anton Babushkin 6f559b279e mc_att_control: yaw deadzone increased 2014-01-29 17:59:02 +01:00
Anton Babushkin da77ae8ffd Merge branch 'beta1' into beta 2014-01-29 16:26:10 +01:00
Anton Babushkin b81520cf30 Use NAV_STATE_LAND instead RTL_STATE_LAND 2014-01-29 16:05:09 +01:00
Anton Babushkin 591b355981 setpoint type IDLE added (for AUTO_READY state), LAND mode fixed 2014-01-29 14:39:36 +01:00
Anton Babushkin 48cec50dd3 navigator: handle regaining global position lock while LANDing 2014-01-29 13:12:57 +01:00
Darryl Taylor 44cb4d9617 Merge remote-tracking branch 'origin/master' into memory_tests 2014-01-29 18:00:08 +08:00
Darryl Taylor 1d70a65f40 Stack size reduced to 1280. Max stack size reported as 1020 with UBX GPS with 3d lock. MTK not tested. 2014-01-29 17:52:22 +08:00
Darryl Taylor 0cc311b872 Reduced stack size to 2568. Max stack usage reported as 2052 with MARG + GPS with 3d lock - no px4flow, but should be more than enough buffer to accomodate its addition. 2014-01-29 17:39:35 +08:00
Darryl Taylor 70b1037c2e Stack size reduced to 2408. Max stack usage reported by top in EASY mode at 1924. 2014-01-29 17:35:34 +08:00
Darryl Taylor b0f65bb708 Stack size reduced to 1648. Max stack usage reported top at 1316. 2014-01-29 17:12:16 +08:00
Darryl Taylor 58a1f19d79 Stack size reduced to 1816. Max stack reported by top was 1448 under HIL. 2014-01-29 17:09:05 +08:00
Darryl Taylor 338b753a3c Reduced stack size to 1200. Max stack space used was 956. 2014-01-29 17:00:07 +08:00
Anton Babushkin 23a87f5a52 navigator: add home position check for RTL state 2014-01-28 21:44:46 +01:00
Anton Babushkin 6a1a29f77e global_position topic: added baro_alt, mc_pos_control: SEATBELT mode fixed, use baro/AMSL alt 2014-01-28 20:40:05 +01:00
Anton Babushkin 48f1b7e1c7 mc_pos_control: fill nav_state = NONE when publishing position setpoint triplet 2014-01-28 18:39:55 +01:00
Anton Babushkin 5ffa28b0e9 dlog2: GPSP message fixed 2014-01-28 18:21:37 +01:00
Anton Babushkin 3601b80747 mc_pos_control: avoid global to local projections, work in global frame 2014-01-28 16:57:31 +01:00
Anton Babushkin 33daf84c00 lib/geo: bugs fixed, added function add_vector_to_global_position() 2014-01-28 16:56:53 +01:00
Julian Oes 547080f188 Revert "Navigator: make state names generic so that they can be used by the FSM visualisation tool later"
This reverts commit 984a815b94.
2014-01-28 12:29:30 +01:00
Lorenz Meier c801446088 Merge branch 'master' of github.com:PX4/Firmware 2014-01-28 11:13:43 +01:00
Lorenz Meier 19c3525f58 Hotfix: Fixed telemetry transmission of RC channels - we always sent one set too much - by lieron 2014-01-28 11:13:37 +01:00
Julian Oes 6002819f8f Navigator: FSM bugfix and missing break 2014-01-28 10:21:48 +01:00
Julian Oes 984a815b94 Navigator: make state names generic so that they can be used by the FSM visualisation tool later 2014-01-28 10:08:23 +01:00
Darryl Taylor 0488d5b41c Reduced commander main task stack size to 2088. The high-water-mark measured at 1668 after calibration and flight. 25% safety margin, but commander is fairly complex. There are surely untested code paths here, but each is relatively shallow. 2014-01-28 10:43:33 +08:00
Darryl Taylor d1fb765187 Reduced low priority thread stack size to 1728. Top indicates the high-water-mark is at 1380 during accelerometer calibration. Safety margin ~25% 2014-01-28 10:30:16 +08:00
Darryl Taylor dfaa5a0c7c Reduced stack from 2048 to 1024. Top reports stack usage at 812 under flight conditions. 2014-01-28 09:57:47 +08:00
Anton Babushkin f9b5709e9b sdlog2: NavState moved to GPSP message 2014-01-28 00:23:23 +01:00
Anton Babushkin 3fdb082cb8 mavlink: AUTO states indication fixed 2014-01-28 00:03:29 +01:00
Thomas Gubler fff97da360 Merge remote-tracking branch 'upstream/beta' into beta 2014-01-27 23:46:57 +01:00
Thomas Gubler 3f79057dd1 fw att pos estimator: fix output lat/lon conversion (introduced by changes in 58792c5ca6) 2014-01-27 23:46:02 +01:00
Lorenz Meier 428a90f4ae Merge branch 'master' into beta 2014-01-27 22:12:52 +01:00
Anton Babushkin 7d334ed54f navigator: RTL fix, more informative log message 2014-01-27 21:52:23 +01:00
Anton Babushkin d1508a7813 vehicle_control_mode publication moved to commander, WIP 2014-01-27 20:49:17 +01:00
Anton Babushkin 20108ed95d commander: minor refactoring current_status -> status 2014-01-27 13:18:54 +01:00
Anton Babushkin ad51e0a08a navigator: minor mavlink messages and comments fixes 2014-01-27 12:09:23 +01:00
Anton Babushkin 1e63e8d932 navigator: wait before landing in RTL 2014-01-27 12:07:27 +01:00
Anton Babushkin 4cfff5d8e5 Merge branch 'beta' of https://github.com/PX4/Firmware into beta 2014-01-26 20:13:42 +01:00
Lorenz Meier 1b2273a88b Merge branch 'master' of github.com:PX4/Firmware into beta 2014-01-26 19:58:57 +01:00
Lorenz Meier 0393b2aa12 Build fix for IO control input parsing. 2014-01-26 16:01:39 +01:00
Lorenz Meier 00a3270dc6 Differentiate between failsafe having kicked in (which stops the normal output mixing based on RC outputs and prevents unwanted control commands due to failsafe) and a true loss of the receiver, where we stop outputting RC channel readings downstream on FMU. 2014-01-26 15:52:51 +01:00
Lorenz Meier 2a30c574ce IO status printing improvements / fixes 2014-01-26 15:50:19 +01:00
Anton Babushkin 9e9105048a commander, navigator: failsafe fixes, mavlink messages cleanup 2014-01-26 15:46:14 +01:00
Lorenz Meier d1c934233f Fix S.BUS decoder to return value even if its just failsafe 2014-01-26 15:30:16 +01:00
Lorenz Meier cc68d11353 Add flag to indicate proper RC mapping 2014-01-26 15:26:19 +01:00
Lorenz Meier ac32116f00 Fix docs header 2014-01-26 15:17:01 +01:00
Lorenz Meier b67f7b2c7c Fix printing of IO status 2014-01-26 15:16:43 +01:00
Lorenz Meier ba4cd9604a Merge branch 'master' into rc_status 2014-01-26 15:00:20 +01:00
Lorenz Meier fdc7aa3be2 Merge branch 'master' of github.com:PX4/Firmware 2014-01-26 14:58:34 +01:00
Lorenz Meier 2dc3cf5e43 Remove unneeded header and commented out dead code from MEAS airspeed driver 2014-01-26 14:58:21 +01:00
Lorenz Meier 9cdbbab855 Differentiate between publication and signal receive timestamp, correctly set the rc_lost flag in the frame. Ready for prime-time testing. 2014-01-26 14:52:46 +01:00
Lorenz Meier 731ab465b3 Add support in the IO driver to control the S.Bus / RSSI port. 2014-01-26 14:22:54 +01:00
Lorenz Meier 16eb68f2e9 Allow the setup flags to control the S.BUS / RSSI port instead of doing some wild, likely incorrect, guesses. 2014-01-26 14:13:57 +01:00
Anton Babushkin c841929e3f commander: «home position set» condition fixed, failsafe fixes, navigator: state indication bugfix, control_mode fixes 2014-01-26 14:12:27 +01:00
Lorenz Meier a737a2a406 RSSI and SBUS out config now handled as setup feature flags. 2014-01-26 13:22:26 +01:00
Anton Babushkin b7c69262a7 state_machine_helper: added missed transition to FAILSAFE_STATE_LAND, transition conditions fixed 2014-01-26 11:58:50 +01:00
Anton Babushkin 7d2efe9367 commander, navigator: minor cleanup (refactoring), code style fixed 2014-01-26 11:52:33 +01:00
Anton Babushkin c7f0553938 cammander: state machine can now deny current state (e.g. when position lock lost during EASY mode), added FAILSAFE_STATE_LAND 2014-01-26 11:50:34 +01:00
Lorenz Meier 57d38bc8ce Clean up RC related metadata, put everything into the RC data page. This ensures atomic reads, makes the reads more efficient and allows for some headroom for more RC flags. The IO driver side is updated as well, however, these flags are not published yet. 2014-01-26 00:17:26 +01:00
Lorenz Meier eee2508644 Add additional flags to RC topic, not used yet. 2014-01-26 00:14:19 +01:00
Anton Babushkin 062b64a1e2 navigator: RTL on failsafe bug fixed 2014-01-25 23:49:33 +01:00
Anton Babushkin 92ddf7903b commander: more user-friendly states indication 2014-01-25 23:37:26 +01:00
Anton Babushkin ebc7cb03b7 «flighttermination state» replaced by more general «failsafe state» 2014-01-25 23:24:12 +01:00
Lorenz Meier b06d199129 Fixed year in controls.c comment. 2014-01-25 23:10:48 +01:00
Lorenz Meier aff11d6d86 IO firmware: Use right base reg value - since the wrong one had the same value this hasn’t been an issue, but it would have become one once one of them changed. 2014-01-25 23:06:53 +01:00
Lorenz Meier bafcbd99a6 Stop setting RSSI by cross-reading servo status. 2014-01-25 23:04:16 +01:00
Lorenz Meier f2f94f0f17 IO driver: Variable name and comment cleanup, no binary / functionality changes. 2014-01-25 23:03:21 +01:00
Lorenz Meier 8149bf95fc Merge pull request #603 from PX4/rc_config_cleanup
RC config params set to more useful default values - needs more testing
2014-01-25 13:46:55 -08:00
Lorenz Meier e07d91613b Remove unused field 2014-01-24 18:24:54 +01:00
Lorenz Meier 06227331ea Checking out registers page state from master, as this is clearly a symptom of a bad merge 2014-01-24 18:21:28 +01:00
Lorenz Meier b26c23c5f4 Merge branch 'cleanup' 2014-01-24 18:14:15 +01:00
Lorenz Meier a81cf70460 Merge branch 'cleanup' into beta 2014-01-24 18:11:52 +01:00
Lorenz Meier 29d90a2f84 Merge branch 'sbus2' into beta 2014-01-24 18:11:44 +01:00
Lorenz Meier 8f67307aed Merge pull request #606 from PX4/sbus2
Sbus2
2014-01-24 08:56:26 -08:00
Lorenz Meier 880342b9c1 Missing header for mixer status change. 2014-01-24 17:37:34 +01:00
Lorenz Meier bd15653b17 Use the proper status registers for locking out from mixer updates and return the value of the mixer change. 2014-01-24 17:37:01 +01:00
Lorenz Meier 33688fec9c Make the sensors app less verbose 2014-01-24 17:36:13 +01:00
Lorenz Meier 15f8e5acf1 Make in the comments explicit that we don’t do anything here under normal circumstances to make it less tempting to comment out the helpful debug tools in this section. 2014-01-24 17:35:29 +01:00
Lorenz Meier c5cb3cfd21 Make the IO mixer upload report not only a global success / fail flag, but on transfer basis. Also use a crude lock to avoid updating the mixer while it runs (we have no proper mutexes on IO, and this is a pure read/write locking case with two locks, which should make the execution even with this crude approach thread-safe). 2014-01-24 17:34:42 +01:00
Lorenz Meier 92a6c7d734 Set timeouts back to short, now that we have multiple tries in the uploader. This ensures we try often enough in the 200 ms IO bootloader wait phase to hit it. 2014-01-24 17:33:04 +01:00
Lorenz Meier 73a483c265 Finally fix the timing race between the IO driver, IO uploader and the on-IO firmware by making the uploader tolerant of timing offsets. 2014-01-24 17:30:40 +01:00
Lorenz Meier 1960f7d6c5 Initialize null pointers correctly, always set the pointer to null after deletes. Remove some verbosity from startup and do not try to initialise IO when we just want to reboot it into the bootloader. 2014-01-24 17:29:27 +01:00
Lorenz Meier 2f968357a3 Make the protocol version more descriptive - helps to understand when / how px4io detect fails. 2014-01-24 17:28:04 +01:00
Lorenz Meier 4f78c3e605 Disable PX4IO debug - spams console on comms failure. Each command does report the failure separately, so we get a better feedback level without the spam. 2014-01-24 17:27:28 +01:00
Lorenz Meier 65118f0c2e Disable debug in the airspeed sensor driver - prevents console spam if it fails (and on probing during startup) 2014-01-24 17:26:13 +01:00
Lorenz Meier 7cd2296e1d Merge branch 'master' into sbus2 2014-01-24 14:20:55 +01:00
Andrew Tridgell d8c1131f1e px4io: improved reliability of forceupdate re-starting px4io
this adds a 0.1s delay after update to give px4io time to boot. It
removes the need for the user to reboot after an IO update
2014-01-24 12:35:19 +01:00
Anton Babushkin 58792c5ca6 Use double for lat/lon in vehicle_global_position topic, use filed names lat, lon, alt, vel_n, vel_e, vel_d for global positions 2014-01-24 00:06:10 +01:00
Anton Babushkin b3d98e4a19 Merge branch 'master' into beta 2014-01-23 23:10:05 +01:00
Anton Babushkin 1cffa9d2f7 position_setpoint_triplet refactoring finished 2014-01-23 22:41:26 +01:00
Lorenz Meier 8bdbce5fe2 We do not know all secret S.BUS2 codes yet 2014-01-23 22:27:04 +01:00
Lorenz Meier 0c116e8de5 Implemented S.Bus 2 decoding support 2014-01-23 22:10:03 +01:00
Andrew Tridgell 4524fe3e48 px4fmu: added PWM_SERVO_SET_COUNT API
this allows the balance between PWM channels and GPIOs to be changed
after the main flight code has started, which makes it possible to
change the balance with a parameter in APM
2014-01-23 21:41:07 +01:00
Andrew Tridgell dda50c62bf hmc5883: much faster calibration code with bug fixes
this fixes two bugs in "hmc5883 calibrate" and also makes it much
faster, so it can be run on every boot. It now uses the correct 2.5Ga
range when calibrating, and fixes the expected values for X/Y/Z axes

The basic calibration approach is similar to the APM2 driver, waiting
for 10 good samples after discarding some initial samples. That allows
the calibration to run fast enough that it can be done on every boot
without causing too much boot delay.
2014-01-23 21:40:29 +01:00
Anton Babushkin 6acb8fa66f Replace mission_item_triplet with position_setpoint_triplet, WIP 2014-01-23 12:16:02 +01:00
Lorenz Meier 6a40acdbdc Fixed PPM warning to be only printed with PPM inputs enabled 2014-01-23 09:58:22 +01:00