Robert Lefebvre
872ec65afa
Fix Auto_Trim to allow it to actually be called when setup on Ch7 pulldown menu in MP.
2012-03-23 09:17:58 -04:00
Michael Oborne
c0a381f10b
APM Planner 1.1.56
...
add ardutracker support
add load/save setting in Tracker
move getserialports to serial class
hopefully fix dtr issue for good.
2012-03-23 20:52:12 +08:00
Andrew Tridgell
0b94b2e470
pysim: implement partial 3D acceleration support
...
The simulator flies very badly when using the full acceleration
code. I don't yet know if this is a bug in the simulation or a problem
with AHRS not handling acceleration for multicopters.
For now set the acceleration to be half a 'pure gravity' acceleration
and half from the full 3D calculation.
2012-03-23 16:48:52 +11:00
Andrew Tridgell
477b31fb0d
Math: added mul_transpose() operation
...
this is equivalent to multiplying by m.transposed(), but is more
efficient
2012-03-23 16:48:52 +11:00
Andrew Tridgell
c020030620
pysim: added experimental acceleration support
2012-03-23 16:48:52 +11:00
Jason Short
74893f6959
Throttle_hold was in APM_Config - which is ignored by the Mission planner Hex generator
2012-03-22 10:01:24 -07:00
Chris Anderson
90cafe216c
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
2012-03-22 07:37:29 -07:00
Andrew Tridgell
ccfac19cef
pysim: update the multicopter simulator with correct acceleration
...
this re-works the multicopter simulator in terms of rotation matrices,
and adds full acceleration support, which means it will include linear
acceleration affects and centripetal acceleration
2012-03-22 23:00:45 +11:00
Andrew Tridgell
21c8351f2f
pysim: added rotmat.py
...
this is a python library for rotation matrices, following the
conventions in AP_Math
2012-03-22 23:00:45 +11:00
Andrew Tridgell
1b3a7d47bd
AHRS: fixed build of AHRS example
2012-03-22 23:00:45 +11:00
rmackay9
be22deb56f
ArduCopter - motors_quad.pde - corrected test sequence for + configuration
2012-03-21 22:04:50 +09:00
Michael Oborne
07cb15ec42
APM Planner 1.1.55
...
fix issue 573
fix issue 572
fix issue 571
fix issue 570
fix issue 564
fix issue 560
fix issue 555
fix issue 536
add CH6_LOITER_RATE_D
fix joystick axis 5-8 - can use joystick for camera pan/tilt
2012-03-21 20:13:08 +08:00
Andrew Tridgell
fb9790e1f4
Math: moved matrix multiple operations to .cpp file
...
this means we only link this in once, rather than for every use of
matrix multiply, which saves us some flash space
We need to be careful not to put large pieces of code in template
headers, as if the operation is used a lot, it costs us a lot of code
space
2012-03-21 10:43:48 +11:00
Andrew Tridgell
ece2aac4b9
Math: fixed the build of the eulers test in SITL
2012-03-21 10:41:55 +11:00
Andrew Tridgell
491def2b7e
autotest: fixed the declination to match new compass
...
we now use the declination for Canberra
2012-03-21 10:41:55 +11:00
Andrew Tridgell
e93b31c76b
SITL: improve the simulated compass
...
this implements a much more accurate model of a compass using matrix
rotations, instead of trying to calculate components directly
2012-03-21 10:41:55 +11:00
Chris Anderson
f9f7be832f
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
2012-03-20 07:42:54 -07:00
rmackay9
7dc18b53ad
ArduCopter - navigation - corrected comment in check_missed_wp function to clarify that you've passed the waypoint when the direction to the way point is more than 100 degrees off (not 10 degrees off) from your original bearing towards the waypoint
2012-03-20 17:11:22 +09:00
rmackay9
198ac97914
ArduCopter - updated version to 2.5.1
2012-03-20 17:08:18 +09:00
rmackay9
0ba48a8556
ArduCopter - increased default THROTTLE_CRUISE to 450
2012-03-20 16:34:07 +09:00
rmackay9
ce6b1ccc75
ArduCopter - Navigation.pde - corrected comment re wp_distance and get_distance to clarify that they are in cm (not meters!)
2012-03-20 16:13:38 +09:00
rmackay9
f8ad719825
AC_PID - added more paranoid checking that imax is positive in constructor, operator() and load_gains methods
2012-03-20 11:51:15 +09:00
Chris Anderson
3c0468bdc4
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
2012-03-19 12:34:56 -07:00
Andrew Tridgell
aeb010b6e9
AHRS: added AHRS specific MAVLink headers
2012-03-19 17:35:20 +11:00
Andrew Tridgell
07b6f55122
AHRS: added missing AP_AHRS.h
2012-03-19 17:35:20 +11:00
Andrew Tridgell
f1898c3335
DCM: use the new rotate() method from AP_Math
...
this allows us to use a tested and optimised rotation method
2012-03-19 17:29:02 +11:00
Andrew Tridgell
9a40b4b1de
Math: added a test for the rotate() method
2012-03-19 17:29:02 +11:00
Andrew Tridgell
7d155c77b1
Math: added rotate() method to Matrix3f
...
this is the core method used to update the DCM matrix with a gyro
vector. Moving it to AP_Math allows us to have a test for it
2012-03-19 17:29:02 +11:00
Andrew Tridgell
a41281ab7f
Math: added zero() and identity() methods to Matrix3f
2012-03-19 17:29:02 +11:00
Andrew Tridgell
dc71191f25
MAVLink: constrain variable changes to the datatype range
...
if someone tries to set a AP_Int16 to a value of 300000, they now get
32767 instead of -27678
2012-03-19 17:29:02 +11:00
Andrew Tridgell
fbe8592d3c
Quaternion: change signs in AP_AHRS_Quaternion
...
thanks to Justin for the suggestion
2012-03-19 17:29:02 +11:00
Andrew Tridgell
df79703ed1
Math: change signs in quaternion library
...
thanks to Justin for the suggestion
2012-03-19 17:29:02 +11:00
Andrew Tridgell
c87b945fd2
Math: allow eulers test to build with AP_Declination library
2012-03-19 17:29:02 +11:00
Andrew Tridgell
39067299a5
Math: fixed build of eulers test on SITL
2012-03-19 17:29:02 +11:00
Andrew Tridgell
b6040878b4
Math: added a function to combine standard rotations
...
this will allow us to have an overall board rotation plus a per-sensor
rotation
2012-03-19 17:29:02 +11:00
Andrew Tridgell
7482fc0795
AHRS: fixed VARTest for new AHRS framework
2012-03-19 17:29:02 +11:00
Andrew Tridgell
690ad58a64
AHRS: adapt ArduCopter for new AHRS framework
2012-03-19 17:29:02 +11:00
Andrew Tridgell
c1e4f63907
APM: adapt ArduPlane for AHRS framework
2012-03-19 17:29:02 +11:00
Andrew Tridgell
784f08728b
AP_Mount: adapt library for AHRS framework
2012-03-19 17:29:02 +11:00
Andrew Tridgell
3b43d3f9b9
AHRS: fixup the AHRS test suite for the new framework
2012-03-19 17:29:02 +11:00
Andrew Tridgell
fe63e79416
AHRS: adapt the quaternion library to AHRS
2012-03-19 17:29:02 +11:00
Andrew Tridgell
2d12bdb412
AHRS: adapt the DCM_HIL library to AHRS
2012-03-19 17:29:02 +11:00
Andrew Tridgell
bf96d05605
AHRS: adapt the DCM library to the AHRS framework
2012-03-19 17:29:02 +11:00
Andrew Tridgell
e976c70e19
AHRS: rename DCM and Quaternion implementions ready for AHRS class
...
this is the first step to creating a general AHRS class for ArduPilot
2012-03-19 17:29:01 +11:00
Andrew Tridgell
1170893aaa
MAVLink: rename DCM message to AHRS
2012-03-19 17:29:01 +11:00
Jason Short
223a6f80c8
ACM: Arducopter.pde - Added a constraint to the NO_NAV mode to be similar to the Loiter and rate nav modes.
2012-03-18 22:31:22 -07:00
Jason Short
722a4d01e8
ACM: Attitude.pde - consolidated wind I term resets
2012-03-18 22:31:21 -07:00
Jason Short
e42c64f94e
ACM: system.pde - removed reset_nav_I() to consolidate the wind control reset.
2012-03-18 22:31:21 -07:00
Chris Anderson
d8e9a851b6
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
2012-03-18 17:23:51 -07:00
Michael Oborne
92ff8a75d5
APM Planner 1.1.54
...
change default rates to 3 hz
fix log play issue without a log loaded
fix heli setup screen
2012-03-19 07:26:20 +08:00