Commit Graph

5209 Commits

Author SHA1 Message Date
Andrew Tridgell
20a30e3a6b AP_Math: added matrix column extraction functions 2012-08-11 22:06:02 +10:00
Amilcar Lucas
f103d375c9 RC_Channel_aux: cycle thru all functions except k_none and k_nr_aux_servo_functions
Probably makes no difference because g_rc_function[k_none] == NULL
2012-08-11 13:43:21 +02:00
Amilcar Lucas
049e232ef0 ArduCopter: Enable the aux servos later, only in the slow periodic loop
This might solve some of the boot issues some users are having
2012-08-11 12:58:13 +02:00
Andrew Tridgell
d0709443b4 AHRS: fixed build
AP_Airspeed.h is now needed to build AHRS
2012-08-11 12:22:55 +10:00
Andrew Tridgell
9d9c7b0455 APM: allow for navigation by dead-reckoning
we now ask AHRS if we have a position estimate, and use that if
available
2012-08-11 12:01:08 +10:00
Andrew Tridgell
708280511c AHRS: added long-term dead-reckoning
this uses airspeed (if available) or last GPS ground speed to update
our position estimate in AHRS
2012-08-11 12:00:31 +10:00
Andrew Tridgell
06070dbf23 AP_GPS: added last_ground_speed() method
used for dead-reckoning in AHRS
2012-08-11 11:59:47 +10:00
Andrew Tridgell
f68211a011 AP_GPS: fixed types to be stdint types 2012-08-11 11:59:03 +10:00
Andrew Tridgell
96d1249dad SITL: fill in SIMSTATE.lat and SIMSTATE.lng 2012-08-11 11:58:25 +10:00
Andrew Tridgell
90f00ebd01 MAVLink: re-generate MAVLink C code 2012-08-11 11:58:06 +10:00
Andrew Tridgell
b47cceb442 MAVLink: added SIMSTATE.lat and SIMSTATE.lng
this allows us to display both true and estimated position on the
groundstation
2012-08-11 11:57:45 +10:00
Andrew Tridgell
e1ffd37411 AP_Math: added location_update() and location_offset() functions
these will be used by AHRS dead reckoning
2012-08-11 11:56:54 +10:00
Andrew Tridgell
aa839c3f46 APM: pass airspeed sensor to AHRS 2012-08-11 08:57:44 +10:00
Andrew Tridgell
e48b0f8558 AHRS: make airspeed sensor available to AHRS
this will be used for long term dead-reckoning
2012-08-11 08:57:32 +10:00
Andrew Tridgell
8c0eeee3dc ACM: allow users to set the AHRS_YAW_P and AHRS_RP_P
the forced set left users with parameters they couldn't use
2012-08-11 08:35:10 +10:00
Andrew Tridgell
d3cc6e5fab ACM: fixed HIL build 2012-08-11 08:34:16 +10:00
Jason Short
0688eee9bc ACM : Added larger WP radius for fast waypoints so we don't loose speed angling in on the WP at the last second. 2012-08-10 10:02:32 -07:00
Jason Short
31fdeab873 ACM increase the minimum speed at WP 2012-08-10 10:01:40 -07:00
Jason Short
4aba673b38 ACM : switched to get_bearing_cd 2012-08-09 17:04:30 -07:00
Jason Short
fb7e5724c7 ACM : attitude.pde - removed unused function 2012-08-09 17:04:12 -07:00
Jason Short
d37ca9343b MOTORS Mixer: temp removal of Yaw Contrib code 2012-08-09 17:00:11 -07:00
Jason Short
ab60681376 ACM: Radio.pde - toy mode updates 2012-08-09 17:00:11 -07:00
Jason Short
3b2a1ad9e8 ACM system.pde - toy mode update, cleanup of throttle cruise code 2012-08-09 16:59:44 -07:00
Jason Short
e7632b9517 ACM - isolated Toy code 2012-08-09 16:59:44 -07:00
Jason Short
1980e0464c ACM: navigation - Alt cleanup, fast corner support 2012-08-09 16:59:44 -07:00
Jason Short
a199669b61 ACM Motors.pde
Added Toy mode options,
Added DCM kp set to .1(armed) and .8 (disarmed)
2012-08-09 16:59:44 -07:00
Jason Short
37e3b64877 ACM : more aggressive and flexible flip code. Will flip right or left, and while pitching hard.
Increase in throttle is removed from init sequence to remove delay.
2012-08-09 16:59:44 -07:00
Jason Short
022c567b47 ACM : Events - renamed target alt 2012-08-09 16:59:44 -07:00
Jason Short
4c067b4c3a ACM Defines.h -added Toy mixer enums 2012-08-09 16:59:43 -07:00
Jason Short
a85cee34e7 ACM control modes - renames CH_7 flag 2012-08-09 16:59:43 -07:00
Jason Short
168b755d0b ACM: config.h = updated default gains
More yaw rate control
2012-08-09 16:59:43 -07:00
Jason Short
c3cf8de9da ACM Commands parser to look for future nav commands to inspect upcoming turn angle 2012-08-09 16:59:43 -07:00
Jason Short
3432030f7f ACM : Commands Logic
Altitude cleanup
2012-08-09 16:59:43 -07:00
Jason Short
ecedacbe7e ACM: Added fast corner support 2012-08-09 16:59:43 -07:00
Jason Short
c3f01bebfc ACM : Attitude.pde
yaw limit, moved toy code out of att to it's own pre
2012-08-09 16:59:43 -07:00
Jason Short
7615c835ee ACM : Arducopter.pde
command_nav_index upped to in16t for negative number
renamed trim flag > CH7_flag
Added fast_corner var
removed unused alt vars
Alt hold I term update
2012-08-09 16:59:43 -07:00
Jason Short
f20189a2e1 ACM : Toy Mixer options 2012-08-09 16:59:43 -07:00
Jason Short
4e001286a6 AHRS DCM: FOrmatting 2012-08-09 16:59:43 -07:00
Amilcar Lucas
aef8c7af0a AP_Mount: Reduce parameter name length, to allow MNT2_* strings to be smaller than the limit of 15 characters 2012-08-10 00:16:52 +02:00
Andrew Tridgell
9bdf204e35 APM: support the MISSION_WRITE_PARTIAL_LIST command
this allows missions to be partially updated in flight
2012-08-09 17:13:36 +10:00
Andrew Tridgell
a2f802e5da build: fixed more build warnings 2012-08-09 16:19:39 +10:00
Andrew Tridgell
0491188c03 MPU6000: fixed some build warnings 2012-08-09 16:19:21 +10:00
Andrew Tridgell
c69dccceb2 AP_MetaClass: fixed a warning 2012-08-09 16:19:04 +10:00
Andrew Tridgell
73d70354a3 AP_Param: fixed some build warnings 2012-08-09 16:18:53 +10:00
Andrew Tridgell
d3c399c5d9 MAVLink: removed obsolete files 2012-08-09 15:25:49 +10:00
Andrew Tridgell
52b6e4ab2e MAVLink: added generator.sh script
this is used to re-generate our MAVLink C code
2012-08-09 15:25:06 +10:00
Andrew Tridgell
a7399c405d MAVLink: removed the need for Mavlink_compat.h
we have now fully transitioned to MAVLink 1.0, so we no longer need
the compatibility layer and the old names in the code
2012-08-09 12:22:46 +10:00
Andrew Tridgell
16d63978f1 MAVLink: moved mavlink variables back to library
these were moved to the main sketches to allow for compile time
selection of MAVLink 0.9 vs 1.0. We no longer support 0.9, so we can
move it back, which simplifies some test sketches
2012-08-09 12:06:21 +10:00
Andrew Tridgell
4c77cbcd0b APM: Added RST_MISSION_CH option
this allows a pilot to reset the mission using a transmitter
switch. Very useful for repeating a mission during testing
2012-08-09 10:33:16 +10:00
Andrew Tridgell
54f97bb9e7 APM: removed THROTTLE_REVERSE option
Better to use RC3_REV
2012-08-09 10:04:44 +10:00