Andrew Tridgell
f6ddc4e4a1
autotest: added GPS vertical speed to the sitl simulator
2013-03-28 10:28:08 +11:00
Andrew Tridgell
7db7d7db77
Plane: change FBWB altitude control algorithm
...
this makes FBWB much less sensitive to airframe tuning. When the
elevator stick first goes neutral it locks in the current altitude as
the target altitude. When the elevator stick is off neutral, it moves
the target altitude in proportion to the elevator, at a rate goverened
by the new FBWB_CLIMB_RATE parameter
This prevents the aircraft from slowly drifting in altitude in FBWB,
and gives a more intuitive control mechanism for altitude.
Thanks to Chris Miser from Falcon UAV for help in designing this
change
2013-03-28 10:27:25 +11:00
Andrew Tridgell
fcde3ceb24
Plane: also avoid rudder on takeoff with TOFF_HEAD_HOLD==0
2013-03-27 16:36:39 +11:00
Randy Mackay
93f7e61b66
UBLOX GPS: fix MSG_SOL typo
...
"status" was used instead of "solution"
2013-03-27 11:42:05 +09:00
Randy Mackay
a49fe272ad
Plane: replace gps fix with status
...
Required to ensure 3d fix is used for initialising home
2013-03-27 11:42:02 +09:00
Randy Mackay
6cb47cee6b
Rover: add support for GPS fix type 2D
2013-03-27 11:41:58 +09:00
Randy Mackay
27309a553f
GPS: fixes after review
...
Ensure 3D fix before returning velocity_down
UBLOX: restore check of fix_status as part of determining 2D or 3D fix
SIRF: add missing brackets on fix type check
2013-03-27 11:41:54 +09:00
Randy Mackay
c2055557f5
Plane: add support for GPS fix type 2D
2013-03-27 11:41:51 +09:00
Randy Mackay
f7d977fe37
Copter: add support for GPS fix type 2D
2013-03-27 11:41:47 +09:00
Randy Mackay
24044dc0c4
AHRS: add support for GPS fix type 2D
2013-03-27 11:41:43 +09:00
Randy Mackay
d7454bb09e
GPS: add 2D fix type
2013-03-27 11:41:39 +09:00
Andrew Tridgell
f077f54e6a
Plane: added TKOFF_HEAD_HOLD option
...
this allows control over whether ArduPlane tries to hold heading
during auto takeoff. For hand launches it can be better to hold the
wings level and not attempt to hold heading during takeoff to prevent
the possibility of a stall during the climb out.
Thanks to Chris Miser from Falcon UAV for the feedback that led to
this option.
2013-03-27 10:27:14 +11:00
Andrew Tridgell
92ddd4b5d1
autotest: removed 2nd getppid() call
2013-03-26 08:23:00 +11:00
Andrew Tridgell
8b21cac5fd
autotest: remove dependency on getppid()
...
makes pysim more windows friendly
2013-03-26 08:20:40 +11:00
Andrew Tridgell
57c498b570
autotest: remove dependency on pexpect for rover/copter sim
...
this makes it easier to run on windows
2013-03-26 08:12:57 +11:00
Andrew Tridgell
94463fd91e
autotest: copy latest firmware html on each run
2013-03-23 16:19:23 +11:00
Andrew Tridgell
526418dd90
autotest: html tidy-up
2013-03-23 16:19:02 +11:00
Andrew Tridgell
3ed71eee05
autotest: initial web page for firmware builds
2013-03-23 16:11:15 +11:00
Andrew Tridgell
01b2ecbc55
autotest: copy the build_binaries.sh script before running
...
this prevents altering the script while running
2013-03-23 14:54:53 +11:00
Andrew Tridgell
8ec5ba9cec
build: autobuild stable and beta binaries
...
this populates http://firmware.diydrones.com with latest, stable and
beta binaries
2013-03-23 14:30:44 +11:00
Andrew Tridgell
c76f8a5242
Rover: fixed AUTO_KICKSTART GPIO pin handling
2013-03-22 12:31:35 +11:00
Andrew Tridgell
eb6c66af7e
AP_HAL: added gpio->analogPinToDigitalPin() API
2013-03-22 12:31:14 +11:00
Andrew Tridgell
a88ac50e6c
Rover: log the X accel that triggers auto
2013-03-22 11:54:04 +11:00
Andrew Tridgell
1d983b3f2e
Plane: fixed X accel triggering of auto
2013-03-22 11:53:45 +11:00
Andrew Tridgell
a6b21443c4
HAL_AVR: fixed null termination of vsnprintf()
2013-03-22 11:53:24 +11:00
Andrew Tridgell
4fd3adbcb9
Rover: run rover sim reniced
2013-03-22 11:22:15 +11:00
Andrew Tridgell
ed6d4a1495
Rover: fixed AUTO_KICKSTART parameter markup
2013-03-22 11:22:02 +11:00
Andrew Tridgell
e0c8a9c443
autotest: fixed build_parameters.sh script
2013-03-22 09:42:10 +11:00
Andrew Tridgell
3bed733f56
Rover: added AUTO_KICKSTART and AUTO_TRIGGER_PIN options
2013-03-22 09:38:25 +11:00
Andrew Tridgell
47890dfa72
Rover: added dual sonar support
2013-03-22 08:49:51 +11:00
Andrew Tridgell
065cac76c0
Rover: use new sonar enabled flag in object
2013-03-22 07:53:16 +11:00
Andrew Tridgell
91bbf914f7
RangeFinder: added SONAR_ENABLE boolean to analog sonar object
2013-03-22 07:52:51 +11:00
Andrew Tridgell
0e8407ccbd
Rover: put obstacle detection in a structure
...
easier to extend for multiple sonars
2013-03-22 07:41:36 +11:00
Andrew Tridgell
1c52de5f20
Rover: fixed GPS test (detection of uBlox needs 10Hz poll)
2013-03-21 22:45:29 +11:00
Andrew Tridgell
1a36c3684b
Plane: fixed GPS test (detection of uBlox needs 10Hz poll)
2013-03-21 22:45:17 +11:00
Andrew Tridgell
b955aed976
Copter: fixed GPS test (detection of uBlox needs 10Hz poll)
2013-03-21 22:45:07 +11:00
Andrew Tridgell
24094252fd
Rover: only enter CLI is link is idle when 3 enters are hit
...
this will prevent binary contents of RADIO packets being interpreted
as CLI enter line-feeds
2013-03-21 21:58:12 +11:00
Andrew Tridgell
6948e0c473
Plane: only enter CLI is link is idle when 3 enters are hit
...
this will prevent binary contents of RADIO packets being interpreted
as CLI enter line-feeds
2013-03-21 21:57:54 +11:00
Andrew Tridgell
d22a7c64c9
Copter: only enter CLI is link is idle when 3 enters are hit
...
this will prevent binary contents of RADIO packets being interpreted
as CLI enter line-feeds
2013-03-21 21:56:02 +11:00
Andrew Tridgell
7e58bde826
GCS_MAVLink: added comm_is_idle() function
...
this will make CLI detection more reliable
2013-03-21 21:55:12 +11:00
Andrew Tridgell
0e37ae4400
Plane: change CLI timeout to 20s
2013-03-21 17:34:34 +11:00
Andrew Tridgell
83d5a64ca8
Rover: change CLI timeout to 20s
2013-03-21 17:34:23 +11:00
Andrew Tridgell
ce8313e8fb
Copter: only allow CLI within 20s of startup and when motors not armed
2013-03-21 17:34:11 +11:00
Andrew Tridgell
6ddb99a50b
HAL_PX4: create APM/boot.log on SD card
...
useful for debugging
2013-03-21 15:05:21 +11:00
Andrew Tridgell
cc932973d6
HAL_PX4: remove the need for the fmu_only flag file
2013-03-21 15:05:21 +11:00
Randy Mackay
80bd593814
Copter: disarm motors when entering CLI
2013-03-21 12:07:00 +09:00
Randy Mackay
dcf21eee8f
Copter: only allow entering the CLI within 30 seconds of start-up
2013-03-21 11:54:04 +09:00
Andrew Tridgell
3f6eb87f23
AP_GPS: fixed uBlox Debug() macro
2013-03-20 15:42:07 +11:00
Andrew Tridgell
8766e86091
HAL_PX4: fixed blocking bulk writes to UARTs
...
this fixes a problem with uBlox initialisation on PX4
2013-03-20 15:41:52 +11:00
Andrew Tridgell
89c85f9c5a
Rover: added shell command in CLI test menu
2013-03-20 12:35:56 +11:00