Tobias
d3ea88e8c7
AP_HAL: resolved -Woverloaded-virtual warning
...
the function:
virtual size_t AP_HAL::Print::write(const uint8_t *buffer, size_t size);
was hidden in all derived classes by their
virtual size_t write(uint8_t) = 0; implementations.
To solve this, a non-virtual write(const uint8_t *, size_t) that calls a
virtual write_implementation was added.
This isn't necessary atm, because the derived classes don't call
write(const uint8_t *, size_t), BUT this decreases the apm2-quad Program
size by 40 bytes :D and removes warnings.
12 years ago
tobias
1bf135b36f
AP_AHRS: make some more functions const
12 years ago
Tobias
ce6529734c
HAL_AVR: reorder parameters to remove a warning with -Wreorder
12 years ago
tobias
4e7fea787b
HAL_AVR: corrected includes to replace #include "$HEADER" with #inlcude "utility/$HEADER"
...
adding -I for EVERY DIRECTORY isn't desirable
http://gcc.gnu.org/onlinedocs/cpp/Search-Path.html
12 years ago
Randy Mackay
649cbf6b68
WPNav: reduce default WP_ACCEL and LOITER_SPEED
12 years ago
Randy Mackay
ded31582de
AP_AHRS: add Roll90Yaw90 to parameter description
...
Thanks to Rainer Walther for spotting this
12 years ago
rmackay9
073e2c9f15
ACMotors: bug fix to yaw limit
12 years ago
John Boiles
bb2a6b8a22
HAL_SITL: Fixing SITL build for OSX.
12 years ago
Paul Riseborough
a694b781c7
AP_TECS: Add non airspeed sensor pitch to throttle mode lost during integration
12 years ago
Andrew Tridgell
25f8983383
HAL_AVR: don't initialise TWBR twice
12 years ago
Andrew Tridgell
87f6cc715d
AP_TECS: fixed parameter doc formatting
12 years ago
Paul Riseborough
8082122053
TECS-WIP : Fixed bug in initialisation of DT value
12 years ago
Andrew Tridgell
904e6b5b8f
AP_TECS: for _DT to at most 0.1
12 years ago
Andrew Tridgell
68232a10f9
AP_TECS: updates to use new aircraft parameter structure
12 years ago
Andrew Tridgell
89271b7774
AP_SpdHgtControl: added speed/height control interface
...
this will be used by TECS
12 years ago
Andrew Tridgell
80e0f8044c
AP_AHRS: added airspeed_sensor_enabled() function
12 years ago
Paul Riseborough
5b0129e02b
AP_TECS: first implemention of TECS altitude control library
12 years ago
Paul Riseborough
7bdb098e77
AP_Baro: added get_EAS2TAS()
...
this provides the scaling factor between equivalent and true airspeed
based on altitude
12 years ago
Andrew Tridgell
61361dac9b
AP_Baro: added units to baro documentation
12 years ago
Paul Riseborough
3b98bbd159
AP_Baro: more precise altitude calculation on PX4
...
if not using an AVR CPU then use a more computationally expensive
altitude calculation, which is more precise at higher altitudes
12 years ago
Andrew Tridgell
fff777bda2
MAVLink: update to latest upstream message defintions XML
...
this adds new HIL support for airspeed, and common SIM_STATE and
RADIO_STATUS messages
12 years ago
Andrew Tridgell
6b7b69a048
RC_Channel: added secondary rudder support
...
this is used when nose wheel steering needs different reverse/range
from rudder
12 years ago
Randy Mackay
b16ce5e523
AVR I2C: bug fix
...
Fix provided by both Jason Short and lucafedechen independently
12 years ago
phokur
b00e5d95c9
Update AnalogIn.cpp
...
Fixed AnalogIn.cpp:42: undefined references
Full error msgs:
/cygdrive/c/MAVPRO~1/ardupilot/libraries/AP_HAL_Empty/AnalogIn.cpp:42: undefined reference to `Empty::EmptyAnalogSource::set_stop_pin(unsigned char)'
/cygdrive/c/MAVPRO~1/ardupilot/libraries/AP_HAL_Empty/AnalogIn.cpp:42: undefined reference to `Empty::EmptyAnalogSource::set_settle_time(unsigned short)'
12 years ago
Craig@3DR
1a3ed2d80b
AP_Compass: Corrected COMPASS_ORIENT Parameter Description
12 years ago
Randy Mackay
6cd18868c2
AirSpeed: fix example sketch compile error
12 years ago
Randy Mackay
20ed00dcc9
AP_InertialSensor: relax accel offset sanity check
12 years ago
Andrew Tridgell
7d42a0562d
AP_AHRS: cope better with large GPS yaw changes
...
this should cope better with bungee launches when using only GPS for
yaw.
12 years ago
Andrew Tridgell
169b5a30a5
AP_Camera: added CAM_TRIGG_DIST parameter
...
for triggering every N meters of GPS distance travelled
12 years ago
Andrew Tridgell
7902d57877
AP_Relay: added RELAY_PIN parameter
...
makes it easier to choose a pin
12 years ago
Paul Riseborough
2204b30e66
Plane: Added APM_Control integrator limits to table used to covert old PID values
12 years ago
Paul Riseborough
147856e73c
APM_Control: Added integrator limiting adjustable by an advanced user parameter
...
this is compatible with the old IMAX settings
12 years ago
Paul Riseborough
d8dab7b5c7
APM_Control: Pitch Control - Reduced the speed below which the integrator is locked
...
This is to allow for slow speed flare manoeuvres in FBW modes
12 years ago
Randy Mackay
aa2b10f044
AP_Baro: TEMP parameter comment fix
12 years ago
Randy Mackay
dde19c9585
WPNav: add acceleration parameter
...
WP_ACCEL added to allow user control of acceleration during missions.
Loiter acceleration made to be half of loiter max speed
12 years ago
Randy Mackay
272f0e5032
Copter: reduce twitch when entering CIRCLE mode
...
Set loiter target and prev iterations velocity when circle mode is
started
Start circling from projected stopping point
12 years ago
Andrew Tridgell
d7d87f827e
HAL_PX4: support voltage monitoring on multi-connector pin 5
12 years ago
Paul Riseborough
3ad35363be
Plane : APM_Control : Removed scaler incorrectly applied to the integrator path
12 years ago
Andrew Tridgell
f44f7308e8
AP_Param: we don't need to avoid writes in AP_Param now
...
now handled in the HAL
12 years ago
Andrew Tridgell
2316c3bd11
AP_HAL: make storage->write_block() take a const pointer
12 years ago
Andrew Tridgell
3c9d45d7d0
HAL_AVR: avoid writing bytes to EEPROM that are already correct
...
this speeds up writing of waypoint data, reducing latency
12 years ago
Andrew Tridgell
02252b5387
RC_Channel: removed reference to dip switches
12 years ago
Andrew Tridgell
aaaa5247e3
AP_AHRS: make it possible to setup board orientation at runtime
12 years ago
Andrew Tridgell
45b385cf81
AP_RCMapper: improved docs for RCMAP_*
12 years ago
Andrew Tridgell
c0058bbb03
RC_Channel: added output_trim() and read() functions
...
these make using rcmap in the plane code easier
12 years ago
Andrew Tridgell
033828aeb6
AP_Mount: make the code a bit easier to read
12 years ago
Andrew Tridgell
9076f6a1d0
AP_Mount: use RC_Channel::rc_channel() instead of rc_ch[]
12 years ago
Andrew Tridgell
0438952a8b
RC_Channel: removed global rc_ch[] array
...
hide it as a object static instead
12 years ago
Randy Mackay
e9594c8b80
RCMapper: simple mapping object for primary input channels
...
allows arbitrary mapping of first 4 channels
12 years ago
Andrew Tridgell
68adeb041d
AP_Airspeed: support ARSPD_PIN option for choosing source
...
this gives us support for arbitrary analog pins for the airspeed
sensor, plus support for the EagleTree airspeed driver on PX4
12 years ago