rmackay9
3246f2bad3
RC_Channel library: change all "int" types to "int16_t".
...
Fixes SITL compile error due to type mismatch of set_pwm between .h and .cpp file (this only occurs because on the SITL, "int" is actually "int32_t"
2012-06-02 14:20:58 +09:00
rmackay9
37e4637c13
RC_Channel.pde: fixed compile errors so that it actually works!
2012-06-02 14:00:44 +09:00
rmackay9
df3fb5c041
ArduCopter: fixed print_latlon bug in which it would print negative lat/lon numbers incorrectly (i.e. -1234567890 would be printed as -124.xxx).
2012-06-02 12:51:12 +09:00
Jason Short
477aa6e47a
RC_Channel fix for throttle output.
...
throttle was outputting incorrectly and allowing the user to max out the throttle leaving nothing for attitude control
2012-05-31 14:59:03 -07:00
Jason Short
7ee38df5a2
Issue 416: RC_Channel – Fix to make dead_zones still output 0
2012-05-31 12:05:47 -07:00
Jason Short
2cc9fde3c9
removed never used filter, and fixed a constrain that could make range calcs go bad
2012-05-31 11:45:07 -07:00
Jason Short
00cabc6343
Channel rage fix - low output was always 0 vs _low
2012-05-31 11:31:48 -07:00
Robert Lefebvre
bafb478924
TradHeli: Incorporating Ext ESC Control
2012-05-30 21:50:25 -04:00
Robert Lefebvre
3df1aac936
Change to increase Parameter space as we have run out.
...
This will decrease the max number of waypoints from 186
to 169.
2012-05-30 20:41:53 -04:00
Jason Short
abb426aec3
When RTLing, force home as the final location for loiter.
2012-05-30 11:06:41 -07:00
Jason Short
5b31f3ba27
moved detector to run until the throttle is low, then stop running.
2012-05-30 09:44:59 -07:00
Jason Short
42032f9845
Missed a Semicolon
2012-05-30 09:36:16 -07:00
Jason Short
e6ee50f53d
Altered the ground detector logic to no continuously run when landed
2012-05-30 09:34:31 -07:00
Jason Short
c45209eaff
Broken timer - removed
2012-05-29 12:56:38 -07:00
Jason Short
93d7712c9a
Removed unused variable
2012-05-29 12:43:23 -07:00
Jason Short
9ea54b3171
Lowered I term - causes oscillations in SIM
2012-05-29 12:43:01 -07:00
Jason Short
2ae5d50261
Renamed some variables to clarify functionality.
2012-05-29 12:42:37 -07:00
Jason Short
33d1b5a137
Speed up automatic disarming to 25 seconds for safety.
...
renamed AUTO_ARMING_DELAY to AUTO_DISARMING_DELAY
2012-05-29 12:41:35 -07:00
Jason Short
3ba6e1db7a
Removed references to a takeoff timer
2012-05-29 11:28:40 -07:00
Jason Short
c523a9822b
Failsafe: Looking for takeoff_complete now vs unreliable GPS
2012-05-29 11:25:04 -07:00
Jason Short
394f8c6eb0
pulling throttle low in flight turns out to be more common than thought. Removed clearing of takeoff_complete flag. This is still cleared during disarm which is automatic after 30 seconds of no throttle.
2012-05-29 11:25:04 -07:00
Jason Short
a3a90287f4
changed the way takeoff complete is figured. Looking for high throttle.
2012-05-29 11:25:04 -07:00
Jason Short
72758ff3ab
Added note to functionality
2012-05-29 11:25:04 -07:00
Michael Oborne
15fc485839
APM Planner 1.1.89
...
add mjpeg video source
add 16x9 hud
conform to http/1.1 specs for mjpeg
2012-05-29 21:25:44 +08:00
Jason Short
996cfc5c96
changed WP radius to AP_Int16
2012-05-28 22:39:29 -07:00
Pat Hickey
c2060d6d5f
ArduPlane: Increment format number in Parameters.h
...
* Force all users to reconfigure to take advantage of elevon patch
( 669e6867 )
2012-05-28 20:51:12 -07:00
Pat Hickey
cb9459afed
ArduPlane: Fix effect of ELEVON_REVERSE
...
* Previously, the ELEVON_REVERSE parameter was equivelant in function to the
ELEVON_CH1_REVERSE parameter. These parameter values are found in
g.reverse_elevons and g.reverse_ch1_elevon, and used to map to the radio_out
channels in ArduPlane/Attitude.pde
* It seems the author's intent was for ELEVON_REVERSE to change the sign for
the combination of pitch & roll into ch1 & ch2, as there are already
parameters which change just the sign of ch1 and just the sign of ch2.
* Discovered this bug because I happened to build an elevon airframe which was
not possible to setup with the existing ELEVON_ and RCn_REV parameters.
* This will break existing elevon setups if the user used ELEVON_REVERSE
instead of ELEVON_CH1_REVERSE, since they were previously interchangable.
2012-05-27 22:15:08 -07:00
Jason Short
4ed48510dc
reversed circle_WP calculation so the next_WP refers to the destination around the circle and circle_WP refers to the center. The intent is to make it easier to see via ground station.
2012-05-27 09:21:20 -07:00
Robert Lefebvre
ffc04b7305
Fix TradHeli Collective Yaw Effect bug.
2012-05-25 15:25:21 -04:00
Michael Oborne
1936261c23
APM Planner 1.1.88
...
fix updater
2012-05-25 06:14:07 +08:00
Jason Short
e2086decc6
Arducopter.pde : setting rtl_approach_alt above 1 would force auto landing even if auto-landing was disabled.
2012-05-23 22:00:56 -07:00
Michael Oborne
36f8f7c4eb
increase resolution on params 0.1 > 0.01
2012-05-24 06:22:57 +08:00
Andrew Tridgell
734dcebb2a
SITL: fixed ChipErase()
...
the loop never completed
2012-05-23 21:15:45 +10:00
Andrew Tridgell
5e0d937e50
SITL: fixed build with new ChipErase() call
2012-05-23 17:33:33 +10:00
Andrew Tridgell
b8b6c95efb
CPUInfo: update with 64 bit timings
2012-05-23 17:33:33 +10:00
Andrew Tridgell
1fc8347af3
MAVLink: send time of GPS fix accurately
...
when we send a GPS_RAW message, set the usec field to the time we got
the fix from the GPS, not the current time. This makes it possible for
aerial photo processing to be more accurate, as the usec field with
more accurately reflect the planes position/time pair
2012-05-23 17:33:33 +10:00
Andrew Tridgell
5b5d43f5d0
Log: don't print '+' while erasing logs
...
we no longer do page based erase, so printing a + every 128 pages
makes no sense
2012-05-22 20:10:29 -07:00
Andrew Tridgell
c2fb8a7a98
DataFlash: use ChipErase() instead of PageErase() on all pages
...
This makes the DataFlash erase much faster (about 6 seconds instead of
about 60 seconds).
We need to test and ensure the behaviour is equivalent apart from the
speed
2012-05-22 19:29:02 -07:00
Robert Lefebvre
df4246597f
Updates to CopterLEDS
...
Creation of Nav Blink Function.
2012-05-22 09:58:37 -04:00
Andrew Tridgell
e2c36eb158
autotest: default to not using gdb on ArduPlane.elf
2012-05-22 20:02:23 +10:00
Andrew Tridgell
557834f9a9
AirSpeed: added parameter ARSPD_USE
...
setting ARSPD_ENABLE to 1 and ARSPD_USE to 0 allows the airspeed
sensor to be initialised and logged without it being used for flight
control. This is very useful when initially testing an airspeed sensor
in a new plane. It also makes it possible to enable/disable the use of
the airspeed sensor during a flight at any time.
2012-05-22 20:02:23 +10:00
Andrew Tridgell
9eb3f44ce1
MAVlink: update ArduPlane for param fetch during DataFlash erase
...
same changes as for ArduCopter
2012-05-22 16:13:35 +10:00
Andrew Tridgell
27e7d425af
MAVLink: allow parameter fetch during mavlink_delay()
...
this allows the planner to fully connect to the APM with MAVLink while
doing a DataFlash erase
2012-05-22 16:13:35 +10:00
Jason Short
198da9c5e6
Flip.pde: renamed dcm to ahrs
2012-05-21 12:58:51 -07:00
Jason Short
f55da34496
Some bug fixes to Auto-flip. I ran this code through the sim and found these flaws.
2012-05-21 11:07:41 -07:00
Jason Short
99dee97385
Added note
2012-05-21 09:58:23 -07:00
Jason Short
6c999b5d54
Attitude.pde - Removed rate limit based on SIM flights. These should never have been in place and seriously detriment Acro flight.
2012-05-21 09:58:23 -07:00
Andrew Tridgell
8f27297896
DCM: fixed a bug when using GPS for yaw correction
...
When using GPS for yaw correction we need to apply the x and y omegaI
corrections from the _omega_I_sum in the period before we get to the
minimum ground speed for GPS yaw correction. Otherwise we get a large
sudden omega_I change on takeoff.
2012-05-21 12:15:06 +10:00
Jean-Louis Naudin
7ff5a200e7
APMrover v2.1.6a - small update for LITE version
...
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
2012-05-20 17:45:07 +02:00
Michael Oborne
512c46a86a
APM Planner 1.1.87
...
add popouts in config/setup
add more text to hud heading nw,ne,sw,se
add 5 m filter to antenna tracker
add refresh param buttons
remove the word old, as people still want it.
modify telem playback interface with slider bars
add posible fix to bad grid spacing
move mavlink code.
2012-05-20 14:47:20 +08:00