Commit Graph

4390 Commits

Author SHA1 Message Date
Jason Short 2fdbbb87f2 inertia.pde: WIP don't fly with inertia enabled until FN. 2012-06-25 23:06:28 -07:00
Jason Short 900f169c44 Log.pde: removed nav_bearing reference and replaced with target_bearing ref 2012-06-25 23:06:28 -07:00
Andreas M. Antonopoulos 678b12af25 AC2.6: Fix battery calculation and scaling bug for MAV1.0, now same as ArduPlane
http://code.google.com/p/arducopter/issues/detail?id=430
2012-06-24 17:01:25 -07:00
Robert Lefebvre 7eae382a22 Open up constraint on Rate Yaw Output for all copters. 2012-06-22 10:06:01 -04:00
Jason Short abb6eb2471 Added a crude Lead Filter. Needs some fine tuning, lag specification, scaling. Works great on 4hz GPS such as Mtek. 2012-06-21 11:14:20 -07:00
Jean-Louis Naudin 94ccdea145 APMrover 2.20b: minor update for HIL mode with the new lib
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
2012-06-21 08:10:33 +02:00
Amilcar Lucas cd0411ba33 Add linebreaks to increase readability. 2012-06-21 00:36:10 +02:00
Jason Short 014f0f9a99 Config.h - returned low to original 120 2012-06-20 15:22:35 -07:00
Amilcar Lucas 9c7fdd742c Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2012-06-21 00:21:55 +02:00
Amilcar Lucas be6923be0f Improve parameters descriptive text 2012-06-21 00:20:37 +02:00
Jason Short 95f3041d25 Parameters.h: throttle_min and throttle_max now have defaults from Config.h 2012-06-20 15:02:00 -07:00
Jason Short b8016dfe48 changed define to a param for throttle_min and throttle_max 2012-06-20 15:00:53 -07:00
Jason Short ef847eecbb changed define to param for throttle_min 2012-06-20 15:00:05 -07:00
Jason Short 8ef60f2d75 Added throttle_min as a user definable param 2012-06-20 14:58:34 -07:00
Jason Short 25a67c9953 lowered minimum throttle 2012-06-20 08:47:47 -07:00
Jason Short 0ccf5724aa Small fix to angle boost - increases by about 20% to deal with inefficiencies of non-downward thrust 2012-06-20 08:47:47 -07:00
Jason Short d7fab41234 decreased I term based on the tests last weekend in high winds 2012-06-20 08:47:47 -07:00
Jason Short a0978e06e5 Adjustments to the Inertial_nav
lowered Rate_I and Rate_P to be less jumpy. raised throttle_p
added a clear to rate when entering loiter
moved the raw reporting
2012-06-20 08:47:47 -07:00
Michael Oborne b9bf84c7af APM Planner 1.1.93
fix armed/disarmed message
2012-06-19 07:15:40 -07:00
Amilcar Lucas 1ead5f1690 Documentation improvements, no functional changes (only comments) 2012-06-17 22:53:54 +02:00
Amilcar Lucas 8f646467e5 Move local temp variables to the stack it saves 1952 bytes
Add function comments
Only use _ on class member variables
Only point to a 3D GPS point if GPS has a fix
Implement MAV_MOUNT_MODE_MAVLINK_TARGETING
2012-06-17 22:25:51 +02:00
Michael Oborne 7bf40bde07 firmware build 2012-06-16 13:10:37 +08:00
Andrew Tridgell 7941abad16 APM: prepare for 2.40 release 2012-06-16 10:11:26 +10:00
Andrew Tridgell 0c7e20fe90 autotest: show logs on timeout 2012-06-16 06:47:55 +10:00
Andrew Tridgell 860c88c786 autotest: try again to get paths right! 2012-06-15 18:44:00 +10:00
Wingspinner d9e6a1ece9 Added support for channel curves (and expo) to AP_RC_Channel class. Also updated AP_RC_Channel example/test to demonstrate and test new functionality 2012-06-15 08:40:14 +00:00
Wingspinner ceba24ff8f Added support for channel curves (and expo) to AP_RC_Channel class. Also updated AP_RC_Channel example/test to demonstrate and test new functionality 2012-06-15 08:38:52 +00:00
Andrew Tridgell f3a45bfb41 autotest: added --timeout option
try to ensure we end up with a timeout display on the website
2012-06-15 16:53:51 +10:00
Andrew Tridgell 5525180814 MAVLink: make usage of MAVLink defines more consistent 2012-06-15 16:27:11 +10:00
Andrew Tridgell 957d818eb7 test: it is no longer possible to build with MAVLink 0.9
the Camera and Mount code make it impossible because of the incredibly
silly arduino cpp handling.
2012-06-15 16:27:11 +10:00
Andrew Tridgell b32726e867 GPS: need pgmspace.h for _write_progstr_block() 2012-06-15 16:27:11 +10:00
Andrew Tridgell ae9883a8e2 GPS: fixed auto-config of UBlox setup with no UBX messages
if a UBlox is configured for NMEA only, with no UBX messages at all
then it would never trigger the GPS_AUTO detection. This adds a UBX
config message to the init strings that enables the NAV_SOL message
2012-06-15 15:53:27 +10:00
Andrew Tridgell b7e807cd58 FastSerial: added tx_pending() method
this allows the caller to wait for the tx buffer to drain
2012-06-15 15:53:27 +10:00
Andrew Tridgell d4056213ad APM: parameter enums should not be conditionally compiled 2012-06-15 11:57:00 +10:00
Andrew Tridgell 3a9096aa41 APM: added longer comment on k_format_version 2012-06-15 11:55:09 +10:00
Michael Oborne 3b07f8c06a firmware build 2012-06-15 08:25:19 +08:00
Michael Oborne db2c255611 firmware build 2012-06-15 08:19:32 +08:00
rmackay9 6b16ca190f ArduCopter: updated firmware to simply 2.6 (i.e. removed Epsilon) ahead of the release 2012-06-15 00:42:59 +09:00
Jason Short e261c62e6b Inertial Nav disabled by default 2012-06-13 22:37:52 -07:00
Jason Short 6dc1e02f76 Inertial Control
I added inertial navigation based on the simulator data. This is an option only available if you compile with Arduino and set
#define INERTIAL_NAV ENABLED
in the APM_Config.h file.

This has been tested for one real flight and did not crash my quad, but consider it very alpha. The quad may be unpredictable at first until the error correction fixes poorly calibrated accels. Be Careful.

Most of the real work is in the inertia file, but the error correction, new variable defines and calibration calls are sprinkled throughout.

The Log should record RAW messages with special debugging values.
2012-06-13 22:34:45 -07:00
Andrew Tridgell 07b9fc2a5d sitl: fixed fgFDM path 2012-06-14 15:18:58 +10:00
Amilcar Lucas bd632e9d01 Let's keep the same format version until CAMERA is activated by default 2012-06-13 21:28:13 +02:00
Amilcar Lucas 2cebd44313 With CLI and MOUNT active, the linker says: region `text' overflowed by 3858 bytes
So disable CLI when MOUNT is active. Sorry I did not detect it before, but the APM_Camera branch worked in a different way.
2012-06-13 21:08:09 +02:00
Amilcar Lucas a12cb8fd9a Added camera trigger functionality 2012-06-13 21:00:20 +02:00
Amilcar Lucas f7ef60565e Add "3 axis camera stabilization" and "point camera to 3D point" functionality
Patch by Gregory Fletcher and reviewed by me
2012-06-13 20:55:19 +02:00
Amilcar Lucas 0bc936ca08 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2012-06-13 20:45:04 +02:00
Amilcar Lucas e9226d6f0a Spellcheck 2012-06-13 20:44:35 +02:00
Jean-Louis Naudin ee0d776f31 APMrover 2.0a - improving obstacles detection and tuning
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
2012-06-13 20:43:35 +02:00
rmackay9 3618ac62e0 ArduCopter: made Robert's new yaw method optional (off by default).
Add this line to APM_Config.h to enable Robert's yaw
#define ALTERNATIVE_YAW_MODE ENABLED
2012-06-13 21:50:16 +09:00
Jean-Louis Naudin c22462bfd3 APMrover v2.20 - use RangeFinder optical SharpGP2Y instead of ultrasonic sonar
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
2012-06-13 08:29:32 +02:00