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
Jason Short
ee78818f5a
Raised the Max throttle to 1000, min to 200. Worked good in SIM with Tridge's motor safety patch.
2012-06-12 13:58:49 -07:00
rmackay9
c9093a1609
ArduCopter: updated firmware version to 2.6 Epsilon
2012-06-12 23:22:57 +09:00
rmackay9
1b9ed1444e
ArduCopter: updated standard loiter pids.
...
Loiter_P (speed from distance to target) = 0.2 (was 0.35)
Loiter_Rate_P (lean angle from desired acceleration) = 2.4 (was 2.5)
Loiter_Rate_I = unchanged at 0.08
Loiter_Rate_D = 0.40 (was 0.45)
2012-06-12 20:56:31 +09:00
rmackay9
fca914b7cf
AP_GPS_NMEA: fix from Roberto Navoni to improve NMEA accuracy
2012-06-12 20:27:50 +09:00
Jason Short
29bb39f580
Added CLI level command
2012-06-11 23:01:25 -07:00
Jason Short
8e570fa2d0
Cosmetic changes only.
2012-06-10 13:10:07 -07:00
Jason Short
1eb2d0e485
Added missing Manual_level config
2012-06-10 13:08:48 -07:00
Jason Short
b03feabacc
Added missing Manual Level initializer
2012-06-10 13:08:22 -07:00
Jason Short
ebff84d41e
Added Angel's name to contrib list
2012-06-10 12:38:22 -07:00
Andrew Tridgell
1ee0f6d8fa
Rover: added APMrover2 to build_all.sh
...
hopefully it will stay building
2012-06-10 19:35:56 +10:00
Andrew Tridgell
fb1a4a2f2b
Rover: fixed the build for MAVLink 1.0
...
I have no idea if it will actually work, but at least it builds
2012-06-10 19:34:11 +10:00
Andrew Tridgell
8f1121c980
GPS: Use appropiate GPS_ENGINE settings in APM, ACM and rover
2012-06-10 16:36:18 +10:00
Andrew Tridgell
f9c5b135bc
GPS: use the new nav_setting in a couple of the sample sketches
2012-06-10 16:35:13 +10:00
Andrew Tridgell
0542539fc9
GPS: add stub settings for nav_setting in the other GPS drivers
...
only Ublox supports nav_setting so far
2012-06-10 16:34:53 +10:00
Andrew Tridgell
926dfbc0e9
GPS: added auto-configuration of UBlox GPS
...
the Ublox will now auto-configure for 5Hz with just the messages we
want. It also supports setting the navigation engine type
2012-06-10 16:34:13 +10:00
Andrew Tridgell
04a71197f9
FastSerial: avoid buffer re-allocation on re-open if possible
...
we commonly re-open serial ports a lot in the AUTO GPS driver
2012-06-09 07:43:22 +10:00
rmackay9
df72f70aba
ArduCopter: updated firmware version to 2.6 Delta ahead of the next round of testing (and hopefully soon a release)
2012-06-08 21:54:09 +09:00
Andrew Tridgell
c034a3a6f7
APM: ready for 2.40-beta
2012-06-08 18:03:21 +10:00
Andrew Tridgell
f347572fc2
SITL: map() is a C++ function, so needs to be in C++ part of the header
...
this fixes the ACM build
2012-06-08 17:09:23 +10:00