Thomas Gubler
548c7f4aaf
geo: introduce global/local coordinate frame converter which uses the map projection but also converts altitude
2014-05-06 14:56:47 +02:00
Thomas Gubler
fc204a1890
geo: map projection: fix stupid typo and use constants for deg to rad conversion
2014-05-06 13:14:15 +02:00
Thomas Gubler
596b06ff2e
commander: init gps eph and epv to large values, safer map projection initialization
2014-05-06 11:24:43 +02:00
Thomas Gubler
f24a6187b6
geo: map projection: fix variable name to highlight the unit
2014-05-06 11:24:33 +02:00
Thomas Gubler
7ab428976e
fix wrong variable name
2014-05-05 16:49:21 +02:00
Thomas Gubler
6e0690fde1
init global map projection when gps is valid
2014-05-05 16:44:02 +02:00
Thomas Gubler
67e3c808d2
remove home position valid flag
2014-05-05 15:40:02 +02:00
Thomas Gubler
60ccbaa8bb
init global map reference in commander and not in navigator
2014-05-05 15:37:53 +02:00
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
55cae08cf3
Merge pull request #868 from ufoncz/versioncmd
...
Versioncmd
2014-05-03 03:42:00 -07: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
ufoncz
85ac2796a0
simplified code, which is now less robust but smaller and easier to read (comment Babushkin)
...
formated source code with fix_code_style.sh (comment Babushkin)
fixed Copyright (comment Babushkin)
2014-05-01 23:36:35 +02:00
Lorenz Meier
c0d8672bf7
Merge branch 'master' into pwm_step
2014-05-01 16:32:27 +02:00
Lorenz Meier
179480ca2d
Merge branch 'cmsis_fix' of github.com:PX4/Firmware
2014-05-01 16:31:48 +02:00
Lorenz Meier
a8743184c3
Add command to do PWM step inputs
2014-05-01 16:02:00 +02:00
Julian Oes
a1e4435e16
esc_calib: corrected name of mc controller
2014-04-30 17:50:18 +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
Lorenz Meier
5429b82ae0
Fix last data type and casting compiler nuisances
2014-04-30 08:53:22 +02:00
Lorenz Meier
48a9ba39af
Fixed typos in declination table lookup
2014-04-30 08:26:08 +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
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
ec50f73cbe
Updated geo lib C/C++ interfacing
2014-04-28 20:44:11 +02:00
Lorenz Meier
da525f29f1
Add missing header in mixer load command
2014-04-28 19:25:13 +02:00
Lorenz Meier
002ff7da7e
Add missing header in HRT
2014-04-28 19:21:37 +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
Lorenz Meier
e134537ae8
Added automatic declination lookup
2014-04-28 17:44:29 +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
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
ufoncz
bd5a0cef1a
ver command ready including hwcmp which replaces hw_ver, removed hw_ver
...
updated all scripts to use new ver hwcmp command
q
2014-04-27 17:42:45 +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
ufoncz
5ea1105451
changed dir from version to ver to keep it shorter
...
added "hw_ver compare" as command option so we can replace hw_ver in future
2014-04-27 15:12:05 +02:00
Lorenz Meier
eff15ef3f1
Fix what is looking like a missing cast in CMSIS - the cast within the line would make only halfway sense if this was actually intended as double precision operation
2014-04-26 16:08:40 +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