Andrew Tridgell
709615159a
HAL_PX4: support 12 output channels with PX4IO
...
first 8 on IO board, next 4 on FMU outputs
2013-04-25 20:10:53 +10:00
Andrew Tridgell
3b0250b414
AP_HAL: define RC_12
...
we have 12 channels on PX4FMU+PX4IO
2013-04-25 20:10:53 +10:00
Randy Mackay
cb5f8826f8
Copter: Leonard's fix for trapezoidal frame
...
We need to allow yaw_factors to be floats in the add_motor method
2013-04-25 17:52:19 +09:00
Randy Mackay
74dca6da22
Copter: move update_commands to run_autopilot fn
...
update_commands was being run in the medium_loop counter but it is
easier to understand the flow of the code if it is consolidated along
with other autopilot calls.
2013-04-24 20:59:49 +09:00
Randy Mackay
6deaae3844
gitignore: add more files produced by sitl testing
2013-04-24 18:01:13 +09:00
Andrew Tridgell
81b9dad1cd
Rover: mark new beta version
2013-04-24 16:20:12 +10:00
Andrew Tridgell
ac7561c5d5
Plane: mark 2.72beta version
2013-04-24 16:19:18 +10:00
Andrew Tridgell
d227d2559d
autotest: added APMVERSION to firmware.diydrones.com version
2013-04-24 16:16:21 +10:00
Andrew Tridgell
67de5e5172
autotest: added unpack_mp.sh script
...
used to generated
http://firmware.diydrones.com/Tools/MissionPlanner/upgrade
2013-04-24 13:56:42 +10:00
Randy Mackay
1a7cffefe6
TradHeli: change coll_out to int16_t
...
was incorrectly defined as an AP_Int16 parameter
2013-04-24 11:32:26 +09:00
Andrew Tridgell
f50fe7a77a
Rover: made a bit test clearer
2013-04-24 08:32:01 +10:00
Andrew Tridgell
c612b4ad73
build-PX4: changed the PX4 build to use CONFIG_C99_BOOL8
...
this fixes bool behaviour to match C99, which some of the APM code
assumed, including simple mode in ArduCopter
2013-04-24 08:31:39 +10:00
Randy Mackay
7f79398989
AP_Limits: fixed return of AP_Int8 parameters from object
...
we should return the base type, not the parameter, or callers could
use set on the result
2013-04-23 23:13:54 +10:00
Andrew Tridgell
fb0f5d46ba
Copter: use BIT_IF_SET()
...
this should fix the problem with simple mode on PX4
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2013-04-23 23:05:42 +10:00
Andrew Tridgell
3659b532be
AP_Common: added BIT_IS_SET() macro
...
makes bit mask testing safer on PX4
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2013-04-23 23:05:02 +10:00
Andrew Tridgell
5ad9deecfb
Copter: cleanup some bit if tests to be clearer
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2013-04-23 23:03:34 +10:00
Andrew Tridgell
709a277c7f
DataFlash: chamged FMT message to include labels
...
this makes it easier for MP to parse and display
2013-04-23 19:46:22 +10:00
Andrew Tridgell
9ef34943af
DataFlash: change log extension to *.bin
2013-04-23 15:03:10 +10:00
Andrew Tridgell
cd624f68b9
build: touch directories to get dates right
2013-04-23 11:23:47 +10:00
Andrew Tridgell
dc4ed49304
docs: link to new dev website
2013-04-23 11:11:08 +10:00
Andrew Tridgell
8ec1eaa8b1
build: removed obsolete cmake rules
...
these have not been maintained for over a year
2013-04-23 11:07:53 +10:00
Andrew Tridgell
1c980981e4
web: added link to new dev website
2013-04-23 10:38:31 +10:00
Andrew Tridgell
215a2a1b03
web: added Tools link to firmware site
2013-04-23 10:24:56 +10:00
Andrew Tridgell
fd2cd0d1c2
DCM: fixed formatting
2013-04-23 08:57:44 +10:00
jschall
610069e729
DCM: fixed airspeed bug
...
we incorrectly went via the wind estimate when we had a working airspeed sensor
2013-04-23 08:57:44 +10:00
Randy Mackay
63a48f76e2
Copter: add pre-arm check of radio and accel
...
Only checks throttle channel and accelerometer scaling
2013-04-23 00:01:20 +09:00
Randy Mackay
42bca90676
INS: add calibrated check
...
Checks is the scaling vector has been updated. Required for pre-arm
checks for ArduCopter
2013-04-22 23:55:53 +09:00
Randy Mackay
07b6efafd8
Copter: use DEGX100 constant for position_vector calcs
2013-04-22 21:03:46 +09:00
Randy Mackay
0b29754920
Copter: simplify roll-pitch stabilize controller
...
remove check of whether to freeze i term when attitude is less than 5
degrees from horizontal. I terms have been moved to the rate
controllers.
2013-04-22 18:47:56 +09:00
Andrew Tridgell
82c604dd67
Copter: more constrain fixes
2013-04-22 13:26:49 +10:00
Andrew Tridgell
2c05030fb1
AP_Motors: use the right constrain() function
2013-04-22 13:26:49 +10:00
Andrew Tridgell
d5875676b1
Copter: use a reference to DCM matrix
2013-04-22 13:26:49 +10:00
Andrew Tridgell
c2c037ec0d
Copter: use the right constrain() type in Attitude code
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2013-04-22 13:26:49 +10:00
Andrew Tridgell
014c9376e7
AP_AHRS: use const references where possible
2013-04-22 13:26:49 +10:00
Andrew Tridgell
dcc3873056
AP_Buffer: remove bool return from add() method
2013-04-22 13:26:49 +10:00
Andrew Tridgell
26fa5c40f1
Compass: use const references for some functions
2013-04-22 13:26:49 +10:00
Andrew Tridgell
1849aca0e9
AP_InertialNav: optimise some multiplies
2013-04-22 13:26:49 +10:00
Andrew Tridgell
01a4fabf9e
AP_Param: make things a bit more efficient
2013-04-22 12:21:59 +10:00
Andrew Tridgell
3d325043b0
AP_InertialNav: make some more functions const
2013-04-22 12:21:58 +10:00
Andrew Tridgell
08c57c2587
AP_InertialNav: reduce number of multiplies
2013-04-22 12:21:58 +10:00
Andrew Tridgell
bad478134d
AP_Buffer: instantiate as a .cpp file, and optimise for const usage
2013-04-22 12:21:58 +10:00
Andrew Tridgell
ad40ba57be
AC_WPNav: optimise to reduce memory copies
...
save a few cycles
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2013-04-22 12:21:58 +10:00
Andrew Tridgell
5f1bd1a452
HAL_AVR: constrain Vcc used in voltage_average()
...
this ensures a bad Vcc reading doesn't throw off analog inputs too
much
2013-04-22 11:36:00 +10:00
Randy Mackay
a9da3c9d3d
Copter: remove unused throttle functions
...
removed get_pilot_desired_acceleration vand get_pilot_desired_direct_alt
were used for initial testing of the inertial alt-hold controller but
are no longer required.
2013-04-21 23:43:04 +09:00
Andrew Tridgell
9cec664236
Copter: fixed format of PM message log
2013-04-21 23:46:35 +10:00
Andrew Tridgell
c437900a49
AP_Scheduler: added SCHED_DEBUG=2
...
used to show overruns and slips
2013-04-21 23:46:35 +10:00
Andrew Tridgell
e446f375a7
Plane: set loiter.direction for GUIDED mode
2013-04-21 23:46:35 +10:00
Randy Mackay
94d4ecef11
Copter: reduce throttle rate D to zero
2013-04-21 16:28:07 +09:00
Randy Mackay
2fc25da4c3
Copter: Leonard's fix for get_loiter_accel_to_lean_angle
2013-04-21 16:27:50 +09:00
Andrew Tridgell
c53ede506d
Copter: make if statement clearer
2013-04-21 07:25:52 +10:00