Commit Graph

4368 Commits

Author SHA1 Message Date
Michael Oborne 03dfcc7089 planner cleanup
fixup mode names in joystick and flight data
add mavlink 0.9/1.0 error message
2012-04-24 21:49:27 +08:00
Andrew Tridgell 0dcbe2a11b sitl: added sim_arducopter10.sh
useful for testing
2012-04-24 22:24:58 +10:00
Andrew Tridgell 532ac607b2 sitl: support MAVLink 1.0 builds 2012-04-24 22:24:58 +10:00
Andrew Tridgell cbecb3eff9 sitl: we don't need mavlink in copter sim 2012-04-24 22:24:58 +10:00
Andrew Tridgell 9d56d28615 MAVLink: make APM build with MAVLink 1.0 possible with arduino GUI 2012-04-24 22:24:58 +10:00
Andrew Tridgell 7866740d62 MAVLink: make ACM build with MAVLink 1.0 possible in arduino GUI 2012-04-24 22:24:58 +10:00
Andrew Tridgell fef4134702 MAVLink: removed the cpp part of the library
this was preventing building MAVLink 1.0 with the arduino GUI as we
can't set cpp defines
2012-04-24 22:24:58 +10:00
Andrew Tridgell 9bf8d60dae MAVLink: one more define for MAVLink 1.0 compat 2012-04-24 19:54:20 +10:00
Andrew Tridgell 712b7184be ACM: added support for MAVLink 1.0 to ArduCopter
most operations should now work
2012-04-24 19:54:20 +10:00
Andrew Tridgell a51593d4ad APM: updates for MAVLink 1.0 2012-04-24 19:54:20 +10:00
Michael Oborne 46c689180c revert planner version 1.1.73 2012-04-24 13:07:46 +08:00
Andrew Tridgell fd9d2f856e MAVLink: re-add the XML message definitions
these are a very useful reference for the current headers in the code
2012-04-24 10:57:43 +10:00
Andrew Tridgell 3347f461f6 use build_all.sh to ensure we don't break the mount code 2012-04-24 10:57:43 +10:00
Andrew Tridgell a54cd57568 MAVLink: imported new mavlink header updates
this fixes the camera control code which was broken by a previous
import
2012-04-24 10:57:43 +10:00
Andrew Tridgell 0eadae9704 APM: use OutputCh_current() in MAVLink servo logging
this gives a more accurate picture of what is actually happening with
the servos
2012-04-24 10:57:43 +10:00
Andrew Tridgell bff8fc8947 APM_RC: added OutputCh_current() method
this allows logging of the actual servo output values. The radio_out
method previously used doesn't take account of the various override
mechanisms available via waypoints
2012-04-24 10:57:43 +10:00
Adam M Rivera c1fd3218d1 Planner: Fixed flight mode binding issues. It is now configured to use the display text attribute as the text in the DDL and the integer value of the Enum as the value in the DDL. Parsing the selected value before saving to the board is unnecessary now because the value is already an int. 2012-04-23 10:37:37 -05:00
Adam M Rivera 2f31d04a43 Planner: Fixed text selection on re-bind. 2012-04-23 10:31:26 -05:00
Adam M Rivera e5454e863c Planner: Fixed another binding issue with AC2 modes. 2012-04-23 10:14:20 -05:00
Adam M Rivera 62ac138b78 Planner: Fixed binding issues with mode DDLs 2012-04-23 09:59:45 -05:00
Michael Oborne 39258dd797 APM Planner 1.1.74
tidy up adams mod.
remove dup ch6_damp
rename level tab's
fixup long standing bug in flight planner field names
revert dtr order
2012-04-23 20:06:01 +08:00
Michael Oborne cf1ef2199d fixup hexa and octa miss label 2012-04-23 18:34:53 +08:00
Adam M Rivera 58a4d7a4c9 Planner: Fixed too long enum display text. 2012-04-23 00:41:03 -05:00
Adam M Rivera 2ee8237b5f ArduCopter/Navigation: Updated code to reference the new g.retro_loiter param instead of the compile define. 2012-04-23 00:19:18 -05:00
Adam M Rivera ec06638db6 Parameters: Added g.retro_loiter which is configurable by the user via the MP. 2012-04-23 00:17:52 -05:00
Adam M Rivera 788df5ed6f config.h: Removed comment. 2012-04-23 00:16:41 -05:00
Adam M Rivera 692bbee233 Merge branch 'master' of https://code.google.com/p/ardupilot-mega into auto-approach 2012-04-23 00:03:37 -05:00
Andrew Tridgell 6d837891b0 DCM: buffer omega_I changes over 10 seconds
this buffers up _omega_I changes in _omega_I_sum over a period of 10
seconds, applying the slope limit only when _omega_I_sum is
transferred to _omega_I.

The result is a huge improvement in the ability of _omega_I to track
gyro drift over the long term.
2012-04-23 12:13:25 +10:00
Andrew Tridgell 398a608b83 DCM: drop the 'drop z' method
the 'drop z' method reduced the impact of noise on omegaI, but it also
made us more sensitive to errors in accelerometer calibration and
scaling, as demonstated by the logs from Gabor here:

  http://diydrones.com/xn/detail/705844:Comment:834373

Simulation testing shows that the other noise suppression methods
applied in the DCM code, in particular the slope limiting on omegaI
the removal of the weighting and the upcoming use of a _omega_I_sum
buffer have reduced the impact of noise enough that we can now safely
include z in the acceleration calculation.
2012-04-23 12:13:24 +10:00
Jason Short cb863dd483 Log.pde : Updated Flash Logging to log Floats properly vs scaled integers. 2012-04-21 15:25:53 -07:00
Jason Short 2aca6c64ab Added a union for casting floats to ints and back when storing Floats to the DataFlash 2012-04-21 15:17:09 -07:00
rmackay9 3b5ffe0f61 ArduCopter - config.h - set standard RC_SPEED to 125 for helicopter frame 2012-04-21 23:46:36 +09:00
rmackay9 114e6a3551 ArduCopter - combined CH6_DAMP and CH6_STABILIZE_KD tuning parameters to avoid confusion 2012-04-21 23:24:57 +09:00
rmackay9 c62ce95768 AP_Motors - allow tail servo to be reversed. Closes ArduCopter issue #228 2012-04-21 23:07:57 +09:00
Michael Oborne 5b77df9515 APM Planner 1.1.73
fix udp and tcp connections
2012-04-21 21:37:12 +08:00
rmackay9 bd8534ef14 ArduCopter - Attitude.pde - added logging of optical flow pid controller 2012-04-21 20:17:12 +09:00
rmackay9 53ddb58c7b ArduCopter - changed optflow object to be APM2 version if necessary 2012-04-21 20:15:55 +09:00
rmackay9 ce6dd8bb32 ArduCopter - changed Optical Flow for APM2 to use A3 pin 2012-04-21 20:15:16 +09:00
rmackay9 346ca5c865 DataFlash_APM2 - moved CS_inactive call (which disables the dataflash) from the beginning to the end of all methods. This means the dataflash does not monopolize the SPI bus.
Also formatting changes to use tab instead of space. Sorry, should have done this as a separate check-in to the above changes.
2012-04-21 20:14:45 +09:00
rmackay9 577f18a09c AP_OpticalFlow - updated test sketch to allow testing of APM2 version 2012-04-21 20:11:18 +09:00
rmackay9 e9fd7c955d AP_OpticalFlow - added support for optical flow for APM2 2012-04-21 20:10:35 +09:00
rmackay9 026cd4e64f AP_OpticalFlow - moved most pin definitions into .cpp file 2012-04-21 20:09:15 +09:00
Michael Oborne 77766bfb73 APM Planner 1.1.72
fix turn radius length (100m)
modify 3dr radio options
modify heli Setup
2012-04-21 15:30:15 +08:00
Craig Elder f60cd5f7f9 Test: Initial Test commit
This is a test

Signed-off-by: Craig Elder <Craig@3DRobotics.com>
2012-04-20 18:11:57 -07:00
Michael Oborne 664c001d1b fix y6 firmware 2012-04-21 08:29:40 +08:00
Michael Oborne 93d8b2fa59 firmware build 2012-04-21 08:04:59 +08:00
Adam M Rivera edf15c1b9b Merge branch 'master' of https://code.google.com/p/ardupilot-mega into auto-approach 2012-04-20 11:45:38 -05:00
James Goppert 750c30afc1 MAVLink update to 1.0.7 2012-04-20 12:31:50 -04:00
rmackay9 c323efc2d4 ArduCopter - regressed version back to 2.5.4 2012-04-20 21:58:32 +09:00
Andrew Tridgell 4652b30adf GPS: u-center config file for 3DR Ublox 2012-04-20 22:05:30 +10:00