Commit Graph

7049 Commits

Author SHA1 Message Date
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
Thomas Gubler 3ec818ce1e rerwite projection interrface to not break the current implementation 2014-04-29 14:39:36 +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 fcdb7fed3a Merge pull request #875 from PX4/gpsflag
rcS: add options to disable or fake gps output
2014-04-28 19:13:25 +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
Thomas Gubler 6a2ecfa162 remove whitespace 2014-04-28 15:57:14 +02:00
Thomas Gubler b0b2f714f1 add options do disable or fake gps output in rcS 2014-04-28 15:23:56 +02:00
Andrew Tridgell ab1939c6a3 pwm: added PWM_SERVO_SET_FORCE_SAFETY_OFF ioctl
this allows the safety switch on px4io to be forced off
2014-04-28 11:45:45 +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
Randy Mackay 9f2c4b7513 tone_alarm: add PARACHUTE_RELEASE_TUNE 2014-04-28 11:43:25 +02:00
Andrew Tridgell f1258da610 Debug: fixes for gdb extension macros 2014-04-28 11:43:09 +02:00
Andrew Tridgell e9c94fa581 Debug: fixes for Nuttx.py debug gdb add-ons
also fixed preceding mask calculation in show heaps
2014-04-28 11:42:59 +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 ad77ba2642 Merge pull request #864 from PX4/mpc_rc
mpc_local_pos + rc_timeout
2014-04-27 16:07:38 +02: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
Lorenz Meier b20fe3b2ba Merge pull request #869 from PX4/warnings
warnings: don't spam with warning for missing field initializer
2014-04-26 12:03:43 +02:00
Julian Oes dcf1dbb7f4 warnings: don't spam with warning for missing field initializer 2014-04-26 11:48:43 +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 ac0b50eaa4 rc_mode_switch diagram updated 2014-04-25 22:41:26 +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
Lorenz Meier 9d08517c31 Merge pull request #867 from PX4/launchdetector_copyright
launchdetector: fix copyright header
2014-04-25 16:43:53 +02:00
Thomas Gubler 437825a5a8 launchdetector: fix copyright header 2014-04-25 16:39:16 +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 aab64af884 geo: map projection: safer initialization, only accept init from navigator, return int instead of bool 2014-04-25 14:47:37 +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
Lorenz Meier 5ef57b8af6 Merge pull request #843 from PX4/sensor_err_handling
Sensor error handling
2014-04-25 10:14:08 +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
Thomas Gubler 9ebd6b3486 geo: interface to get reference lat lon, option to set reference timestamp on initialization 2014-04-25 09:41:46 +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