Commit Graph

1951 Commits

Author SHA1 Message Date
Thomas Gubler 474a76b553 Merge remote-tracking branch 'upstream/master' into geo 2014-05-05 14:42:46 +02:00
Thomas Gubler 5f786af8fa mavlink: status is a pointer 2014-05-04 15:02:37 +02:00
Thomas Gubler 0e31b5935e remove trailing whitespace 2014-05-04 15:02:30 +02:00
Lorenz Meier ee580206b4 mavlink: Only sending HIL control commands if the system is actually armed 2014-05-04 14:06:38 +02:00
Lorenz Meier 5199dea2b3 Merge pull request #876 from PX4/autodeclination
Added automatic declination lookup
2014-05-03 03:41:30 -07:00
Anton Babushkin f6d61dfb4c mavlink: swap x and y when handling MANUAL_CONTROL mavlink message 2014-05-01 23:45:21 +02:00
Lorenz Meier 2829d65871 Merge pull request #881 from PX4/led_fix
commander: Stop mixing board support and high level code - just accept t...
2014-04-30 06:34:34 -07:00
Lorenz Meier 1dfa2f100e commander: Stop mixing board support and high level code - just accept that non-mandatory leds may or may not be there 2014-04-30 15:33:47 +02:00
Anton Babushkin 0c58588a87 mc_att_control: yaw feed-forward in manual control modes fixed 2014-04-29 19:51:05 +02:00
Thomas Gubler 775499321a Merge remote-tracking branch 'upstream/master' into geo 2014-04-29 15:42:07 +02:00
Thomas Gubler 606f3cba5c pos estimator mc: revert to local map projection 2014-04-29 15:41:12 +02:00
Thomas Gubler 510678bdae pos estimator inav: revert to local map projection 2014-04-29 15:40:54 +02:00
Thomas Gubler 53d23c67d7 mc pos ctrl: revert to local map projection 2014-04-29 15:40:34 +02:00
Thomas Gubler 5a868751b5 navigator: update mapprojection usage 2014-04-29 15:40:04 +02:00
Thomas Gubler a7289a3266 mavlink interface: update mapprojection usage 2014-04-29 15:39:26 +02:00
Thomas Gubler 4f84cdc8b8 fw_att_pos_estimator: use new global map projection 2014-04-29 14:40:01 +02:00
Lorenz Meier 2ee02e5e4b Merge pull request #874 from jean-m-cyr/master
Proper data manager restart handling
2014-04-29 07:53:30 +02:00
Lorenz Meier da525f29f1 Add missing header in mixer load command 2014-04-28 19:25:13 +02:00
Anton Babushkin 4378454a10 mc_pos_control: hotfix, MPC_TILTMAX_AIR and MPC_TILTMAX_LND parameters fixed 2014-04-28 17:49:57 +02:00
Andrew Tridgell ac52111085 px4io: support PX4IO_P_SETUP_FORCE_SAFETY_OFF
this allows the FMU to force the safety off on the IO board. Useful in
two cases:

 1) vehicles where the safety switch is impractical or not useful
 (eg. HAB planes or internal combustion motors)

 2) doing ESC calibration on multi-copters
2014-04-28 11:45:20 +02:00
Jean Cyr ab257ebcce Proper data manager restart handling
Introduce SYS_RESTART_TYPE parameter having one of 3 values: boot
restart, inflight restart, or unknown restart, and defaulting to unknown
restart.

px4io.cpp sets this parameter according to the type of restart detected.

dataman.c retrieves this parameter and clears data entries according to
their persistence level. Does nothing if unknown restart.
2014-04-28 00:52:19 -04:00
Lorenz Meier 08408594ec Renamed parameters which changed from RAD to DEGREES to avoid user confusion. Also made naming of the two parameters more consistent. 2014-04-27 16:06:34 +02:00
Lorenz Meier e6d332aa7c Make commander less pedantic about position status 2014-04-27 15:50:53 +02:00
Lorenz Meier c74248c8b1 Merged mpc_rc with master 2014-04-27 15:45:33 +02:00
Lorenz Meier 4a949a9565 Merge pull request #749 from DonLakeFlyer/ArmDisarm
Arm/Disarm duplication removal and support for Disarm in VEHICLE_CMD_COMPONENT_ARM_DISARM
2014-04-26 12:24:42 +02:00
Lorenz Meier 5bd8e6f6b3 Merge pull request #845 from PX4/mag_decl_hotfix
Mag declination hotfix
2014-04-26 12:23:48 +02:00
Lorenz Meier eb520e7dcd Merge pull request #849 from PX4/compile_pedantic
Compile pedantic
2014-04-26 12:22:13 +02:00
Anton Babushkin 84943644d7 mc_pos_control: parameters comments minor fixes 2014-04-25 23:06:32 +02:00
Anton Babushkin a432ed4900 mc_pos_control: convert tilt_max to degrees 2014-04-25 22:53:48 +02:00
Anton Babushkin 2453b354fa Failsafe landing without position control fixed 2014-04-25 22:26:51 +02:00
Anton Babushkin 0c1de81785 Merge branch 'master' into mpc_rc 2014-04-25 21:39:59 +02:00
Lorenz Meier f0298e005a Merge pull request #852 from PX4/sensors_loop
sensors: Keep looping in sensors app even if gyros do not update any mor...
2014-04-25 16:52:53 +02:00
Thomas Gubler 35b0c29456 navigator: set reference for map projection only once 2014-04-25 15:09:11 +02:00
Thomas Gubler 06dd10cb01 commander: set home position valid flag 2014-04-25 15:08:38 +02:00
Thomas Gubler f7e18eaa58 uorb home position topic: add valid flag 2014-04-25 15:08:06 +02:00
Thomas Gubler 241a99fc28 position estimator mc: do not initialize map projection because this is now handled globally 2014-04-25 14:45:21 +02:00
Thomas Gubler 08bc777208 pos estimator inav: use map_projection_reference to set local pos reference lat lon 2014-04-25 13:57:06 +02:00
Thomas Gubler a467bd61c1 Merge remote-tracking branch 'upstream/mpc_rc' into geo 2014-04-25 13:31:31 +02:00
Thomas Gubler 5285eb2f99 fw att pos estimator: use map projection reference values for local pos 2014-04-25 09:44:40 +02:00
Thomas Gubler 7e1ea35571 mavlink receiver: in hil use map_projection_timestamp for hil_local_pos.ref_timestamp 2014-04-25 09:43:19 +02:00
Thomas Gubler f5d9023b10 navigator: set home_pos timestamp as map projection reference timestamp 2014-04-25 09:42:28 +02:00
Anton Babushkin 22aaae197b Merge branch 'rc_timeout' into mpc_rc 2014-04-24 22:40:46 +02:00
Anton Babushkin 63c50676f9 MISSION switch renamed to LOITER 2014-04-24 22:38:19 +02:00
Thomas Gubler 4e30784d6c rename map_projection_inited to map_projection_initialized 2014-04-24 17:16:20 +02:00
Thomas Gubler 618ac319e6 pos estimator inav: check if map projection is initialized 2014-04-24 17:06:10 +02:00
Thomas Gubler 9f2da53f08 mc pos control: map projection init not needed anymore 2014-04-24 17:05:30 +02:00
Thomas Gubler be0824c207 Merge remote-tracking branch 'upstream/master' into geo 2014-04-24 16:17:16 +02:00
Thomas Gubler 8bb1b39399 mavlink receiver: hil: local pos reference lat lon from first data 2014-04-24 16:12:28 +02:00
Thomas Gubler fbcb248bc3 navigator: init map projection on home pos update 2014-04-24 15:59:49 +02:00
Thomas Gubler 3a898e54ad towards a global map projection instance, WIP: need to remove local updates of the reference and add a global map update 2014-04-24 14:30:29 +02:00