Randy Mackay
566daf883a
Copter: remove unused MODE bit from LOG_BITMASK
...
We always log the mode so no need for this bit
12 years ago
Randy Mackay
5b00ce24ed
Copter: minor user hooks cleanup
...
Only define and call functions if the appropriate #define in
APM_Config.h has been added
12 years ago
Randy Mackay
6a173eb7ad
Copter: remove unused dump_state function
...
Feel free to add this back in when doing debug. Let's not have too much
debug permanently in the code because it makes it harder to read.
12 years ago
Randy Mackay
1426f40319
Copter: remove unused JDrones motor PID overrides
12 years ago
Randy Mackay
19394918dd
Copter: simplify APM_Config.h
...
Remove items that can be more easily set with parameters
12 years ago
Randy Mackay
28c37dd798
Copter: do pre-arm checks when arming from GCS
12 years ago
Andrew Tridgell
4c9cb461d6
autotest: setup Rover autotest for Sparkfun course
...
this will make it easier to test around the course
12 years ago
Andrew Tridgell
80582df4be
Rover: started on 2.42beta
12 years ago
Andrew Tridgell
b5f2b4db8a
Rover: don't do crosstrack in last 3m
...
this reduces the weaving at waypoints
12 years ago
Andrew Tridgell
ca8e4519cc
Rover: use get_projected_position()
...
this will make for more accurate turns in missions
12 years ago
Andrew Tridgell
c08c084191
AP_AHRS: added get_projected_position()
...
this is used to project the position forward by the GPS lag
12 years ago
Andrew Tridgell
697d17a229
Rover: add doc links for SONAR2_* parameters
12 years ago
Randy Mackay
9d0f40b432
Copter: add pre_arm_rc_check
...
Motors are not be enabled unless we have passed rc checks which include
checking the radio in calibration has been performed.
12 years ago
Andrew Tridgell
2c149bac8e
HAL_PX4: added new arming ioctls
12 years ago
Randy Mackay
0540acfec9
Copter: change to compassmot instructions
12 years ago
Randy Mackay
cb795ea536
WPNav: divide by zero checks
12 years ago
Randy Mackay
610edd8f9a
ACMotors: small formatting change
12 years ago
Randy Mackay
cd5795a4ac
ACMotors: make a few more functions non-virtual
...
Saves at least 22 bytes of RAM
12 years ago
Randy Mackay
ad00e0ee1e
ACMotors: make test_order uint_8
12 years ago
Randy Mackay
88893f4209
ACMotors: make a few functions non-virtual
12 years ago
Randy Mackay
bd07b1e57b
ACMotors: remove unused get_num_motors function
...
Saves about 4 bytes of RAM
12 years ago
Randy Mackay
5bb0582854
ACMotors: ESC Calibration only for enabled motors
12 years ago
Randy Mackay
33d1129904
Copter: remove unused TB_RATIO parameter
12 years ago
Randy Mackay
7a81c41689
AP_Motors: motor_enabled array to bool
...
Also increased the default MAX_THROTTLE from 850 to 1000 but this number
is always overwritten by the main code anyway so should have no
functional impact.
12 years ago
Andrew Tridgell
411e940342
DataFlash: prevent the dataflash erase problem
...
only allow writes to dataflash block devices once StartNewLog() has
been called
12 years ago
Randy Mackay
e843bf3dfd
Copter: bug fix for POSITION mode throttle
...
Was using alt-hold throttle controller instead of manual throttle
controller
12 years ago
Randy Mackay
a2e298bbfc
Copter: change to default RTL yaw behaviour
...
We will not point the nose home for RTL but will point the nose for all
other waypoints
12 years ago
Randy Mackay
319f3ef560
Copter: flexible CH6 declination tuning range
12 years ago
Randy Mackay
6ba9431be4
Copter: update firmware version and release notes ahead of -rc2
12 years ago
Randy Mackay
e130c8041c
Copter: remove unused event definitions
12 years ago
Randy Mackay
bd6edecdec
Copter: restore logging of arm/disarm event
12 years ago
Randy Mackay
94a05a9285
Merge branch 'master' of https://github.com/diydrones/ardupilot
12 years ago
Randy Mackay
bb7aec2600
Copter: log compass failur to dataflash
12 years ago
Andrew Tridgell
bd4b7d136f
Plane: mark ArduPlane 2.74beta
12 years ago
Andrew Tridgell
119ffb0fc0
SITL: fixed simulated airspeed value
12 years ago
Andrew Tridgell
a5b20b4dfc
AP_HAL: removed scaling factor on analog sources
...
these are not use anymore, as voltage_average() is used instead
12 years ago
Andrew Tridgell
c44fd42349
Copter: fixed RSSI reading on PX4
...
needed for different analog input scaling
12 years ago
Andrew Tridgell
001d18b51d
Plane: removed scaling of pitot source
12 years ago
Andrew Tridgell
97b6aaac77
Plane: use voltage_average() for RSSI
...
this fixes it on PX4
12 years ago
Andrew Tridgell
e1ac097e0e
Rover: use voltage_average() for RSSI
...
this allows it to work on PX4
12 years ago
Andrew Tridgell
48cfdac6f0
AP_ADC_AnalogSource: added voltage_average_ratiometric()
12 years ago
Andrew Tridgell
cec08be9cb
AP_Rangefinder: use ratiometric analog input for analog sonar
12 years ago
Andrew Tridgell
dfb98490f4
AP_Airspeed: use rationmetric analog input for airspeed sensor
12 years ago
Andrew Tridgell
589b8cdb58
AP_HAL: added voltage_average_ratiometric() call to AnalogIn
...
this is for ratiometric sensors such as the 3DR airspeed sensor and
the Maxbotix analog sonar
12 years ago
Andrew Tridgell
dd0630dc16
PX4: fixed handling of nostart option
12 years ago
Andrew Tridgell
a17b85c661
AP_AHRS: use vectors for ground vector complimentary filter
12 years ago
Paul Riseborough
9f309a2aa6
AP_L1_Control: Remove potential nan errors
...
If WP A and B were the same or ground speed was exactly zero, then the
previous code would produce a nan output. Protection against these
two cases has been added.
If WP A and B are equal, we track directly to the target waypoint
12 years ago
Randy Mackay
55235630b6
Copter: bug fix for slow loiter repositioning
12 years ago
Andrew Tridgell
01da926f04
PX4: don't start px4io twice
12 years ago
Andrew Tridgell
9bdbd6bfbd
MAVLink: update to latest common.xml from upstream
12 years ago