Commit Graph

4639 Commits

Author SHA1 Message Date
Adam M Rivera 587375861c Merge branch 'master' of https://code.google.com/p/ardupilot-mega into param-suffix
Conflicts:
	Tools/ArdupilotMegaPlanner/ArdupilotMega.csproj
	Tools/ArdupilotMegaPlanner/Utilities/ParameterMetaDataConstants.cs
	Tools/ArdupilotMegaPlanner/Utilities/ParameterMetaDataParser.cs
	Tools/ArdupilotMegaPlanner/app.config
2012-04-25 20:39:59 -05:00
Michael Oborne 01126ae9de APM Planner - code only
add yaw to config screen.
intergrate adams changes
this will force an update, but not the main exe
2012-04-26 08:01:08 +08:00
Adam M Rivera 98983e1ee4 Merge branch 'master' of https://code.google.com/p/ardupilot-mega into param-suffix
Conflicts:
	Tools/ArdupilotMegaPlanner/ArdupilotMega.csproj
	Tools/ArdupilotMegaPlanner/MainV2.cs
	Tools/ArdupilotMegaPlanner/Utilities/ParameterMetaDataConstants.cs
	Tools/ArdupilotMegaPlanner/Utilities/ParameterMetaDataParser.cs
2012-04-25 13:57:17 -05:00
Adam M Rivera b293997e2d Planner: Implemented the ParameterMetaDataRepository.cs's GetParameterMetaData method. It will now return a meta value by the parameter name and meta key. 2012-04-25 13:39:03 -05:00
Adam M Rivera a91c7781a5 Planner: Added try catch around web request in the parser to prevent blowing up. 2012-04-25 13:38:05 -05:00
Adam M Rivera 8af68b2047 Planner: Moved the call to fetch new parameter meta data to where it is determined if the planner requires an update. 2012-04-25 13:37:19 -05:00
Adam M Rivera 498e1d01b6 ParameterMetaDataParser.cs: Updated name of method to be more accurate to its purpose. 2012-04-25 12:33:33 -05:00
Adam M Rivera cb6f97fc7f Changed the marker for Group parameters to @Group. 2012-04-25 12:27:51 -05:00
Adam M Rivera 155928adef Planner: Added the ability to parse group based parameters that link to .cpp files. 2012-04-25 12:11:44 -05:00
Adam M Rivera 3309dec205 AP_AHRS_DCM.cpp: Added comments that follow the new parse structure 2012-04-25 12:00:42 -05:00
Adam M Rivera 51bcc73c77 Parameters.pde: Added lib comments. 2012-04-25 11:23:46 -05:00
Michael Oborne d59d26b7d2 APM Planner 1.1.75
implement new arducopter pid tuning screen
included old for crossover.
add map rotation - follow plane
modify setup screen to show diffrent things based on ap software
2012-04-25 18:10:11 +08:00
Adam M Rivera 51c73cf057 Planner: Added meta data constant class to aid in retrieving the meta data by their key names. 2012-04-24 16:27:05 -05:00
Adam M Rivera 49bb2d1f7b Planner: Tidied up the implementation of the parser and added a parameter meta data repository for easy access to the parsed data. 2012-04-24 16:16:33 -05:00
Adam M Rivera 9fb9231ec4 Merge branch 'master' of https://code.google.com/p/ardupilot-mega into param-suffix 2012-04-24 14:11:54 -05:00
Adam M Rivera 3bebbe4832 ParameterInformationParser.cs: Updated comments. 2012-04-24 14:06:21 -05:00
Adam M Rivera 027be8c34a app.config: Added app.config key for the location of the files to be parsed for parameter meta data. 2012-04-24 13:33:47 -05:00
Adam M Rivera ca415f84cf MainV2.cs: Added call to parameter parser at application bootstrap. 2012-04-24 13:33:24 -05:00
Adam M Rivera cbea39ae3e Solution: Added ParameterInformationParser.cs. 2012-04-24 13:32:58 -05:00
Adam M Rivera 29fec278eb Parameters.pde: Updated comment schema to include the parameter name which becomes the XML node that contains the meta data. 2012-04-24 13:11:16 -05:00
Adam M Rivera acab9b7c2c Parameters.pde: Added new comment structure to a few parameters for testing. 2012-04-24 11:37:33 -05:00
Michael Oborne 43b4359b28 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 0e54613632 sitl: added sim_arducopter10.sh
useful for testing
2012-04-24 22:24:58 +10:00
Andrew Tridgell 89041c6996 sitl: support MAVLink 1.0 builds 2012-04-24 22:24:58 +10:00
Andrew Tridgell 9d4b37ecac sitl: we don't need mavlink in copter sim 2012-04-24 22:24:58 +10:00
Andrew Tridgell b6a475f6a5 MAVLink: make APM build with MAVLink 1.0 possible with arduino GUI 2012-04-24 22:24:58 +10:00
Andrew Tridgell 4fee26437b MAVLink: make ACM build with MAVLink 1.0 possible in arduino GUI 2012-04-24 22:24:58 +10:00
Andrew Tridgell d11957718f 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 eb5bc964d8 MAVLink: one more define for MAVLink 1.0 compat 2012-04-24 19:54:20 +10:00
Andrew Tridgell fe970221e2 ACM: added support for MAVLink 1.0 to ArduCopter
most operations should now work
2012-04-24 19:54:20 +10:00
Andrew Tridgell 95be2c5922 APM: updates for MAVLink 1.0 2012-04-24 19:54:20 +10:00
Michael Oborne 373577136e revert planner version 1.1.73 2012-04-24 13:07:46 +08:00
Andrew Tridgell 0753782c49 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 615defdc37 use build_all.sh to ensure we don't break the mount code 2012-04-24 10:57:43 +10:00
Andrew Tridgell 5c067d5a03 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 8e6fdb8981 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 e8f8115a8f 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 24dbe7dca1 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 d8df53c926 Planner: Fixed text selection on re-bind. 2012-04-23 10:31:26 -05:00
Adam M Rivera 5274ec9640 Planner: Fixed another binding issue with AC2 modes. 2012-04-23 10:14:20 -05:00
Adam M Rivera 489ae28d2e Planner: Fixed binding issues with mode DDLs 2012-04-23 09:59:45 -05:00
Michael Oborne cdce69e14f 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 d3d59b222e fixup hexa and octa miss label 2012-04-23 18:34:53 +08:00
Adam M Rivera a2d65b28cc Planner: Fixed too long enum display text. 2012-04-23 00:41:03 -05:00
Adam M Rivera b2a7227ae7 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 60c347e23b 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 8e580729b7 config.h: Removed comment. 2012-04-23 00:16:41 -05:00
Adam M Rivera 97040a7b3a Merge branch 'master' of https://code.google.com/p/ardupilot-mega into auto-approach 2012-04-23 00:03:37 -05:00
Andrew Tridgell 2a3af369b6 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 f27d85cb8d 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