Tobias
cf426fcb3e
Copter: fixed a compiler warning
...
* removed useless comparison: if (int8_t t >= 255) ...
* revealed by -Wtype-limits
* saved 6 bytes
12 years ago
Tobias
c95072ea25
AP_GPS: added explicit cast to omit [-Wconversion] warning
12 years ago
Randy Mackay
ed3bf2c1e7
Copter: relax pre-arm checks for mag field
...
previously it was 50% ~ 150% of expected mag field but now expanded to
35% ~ 165%.
12 years ago
Andrew Tridgell
8c49ed78a5
AP_Math: make the rotation numbers easier to find
12 years ago
Andrew Tridgell
a6c7bd3612
AP_Compass: fixed rotations for COMPASS_ORIENT
...
this matches AHRS_ORIENTATION again
12 years ago
Tobias
947f8125bb
extended .gitignore:
...
.directory (Dolphin's .DS_Store)
/.settings/ (eclipse)
12 years ago
Tobias
338c054da2
Filter: validity of array index was checked AFTER accessing the element.
...
(correction decreased Program size by 12 bytes)
12 years ago
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
4e73cf810e
Copter: added cast to remove compiler warning
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
Andrew Tridgell
9f612f6f78
Plane: only call TECS when throttle is not suppressed
...
this helps prevent integrator buildup on the ground
12 years ago
Randy Mackay
649cbf6b68
WPNav: reduce default WP_ACCEL and LOITER_SPEED
12 years ago
Randy Mackay
45f47de98d
Copter: reduce default Loiter Pos P to 0.2 (was 1.0)
12 years ago
Randy Mackay
ded31582de
AP_AHRS: add Roll90Yaw90 to parameter description
...
Thanks to Rainer Walther for spotting this
12 years ago
Randy Mackay
9361e9fe32
Coper: compile error fix when FENCE disabled
12 years ago
Randy Mackay
227185fd0f
Copter: remove constraint on rate yaw controller
12 years ago
Randy Mackay
40612ed551
Copter: yaw limit fix to allow I to reduce
...
We now allow the I term even if we've hit the yaw limits as long as
updating the I term will reduce it
12 years ago
rmackay9
073e2c9f15
ACMotors: bug fix to yaw limit
12 years ago
Michael Woods
1c17bed1ef
build: Adding a check for Darwin when adding avrdude.conf's flag for uploading.
12 years ago
Kevin Hester
6187c66147
PX4: A better error message in the log file when the px4io upgrade fails
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
1355b6d89d
Plane: break-up scheduling into smaller pieces
...
ensure mavlink sends don't push us over a scheduling boundary
12 years ago
Andrew Tridgell
1d6748cf3f
Plane: use a glide slope in RTL when descending
...
when above the target altitude in RTL come down slowly, when below
climb rapidly
This fixes issue #39
12 years ago
Andrew Tridgell
d30dd7c3f1
Plane: only run TECS when in an auto-throttle mode
...
this prevents integrator buildup in user controlled modes
12 years ago
Andrew Tridgell
dd330885b8
Plane: added compass and baro accumulate functions
12 years ago
Andrew Tridgell
25f8983383
HAL_AVR: don't initialise TWBR twice
12 years ago
Randy Mackay
0cf4ac088a
Copter: restore LEDs to off state when auto-trim completes
12 years ago
Randy Mackay
79d2fe6271
Copter: double flash arming light when pre-arm checks fail
...
Hardly my finest work but it's temporary because we're going to replace
all the led, buzzer etc with a library called AP_Notify in the near
future.
12 years ago
Andrew Tridgell
87f6cc715d
AP_TECS: fixed parameter doc formatting
12 years ago
Andrew Tridgell
f1f9b98008
autotest: use TECS in autotest for plane
12 years ago
Andrew Tridgell
84299c3747
Plane: document ALT_CTRL_ALG=2
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
6c7d160ee6
Plane: fixed TECS takeoff detection
12 years ago
Andrew Tridgell
68232a10f9
AP_TECS: updates to use new aircraft parameter structure
12 years ago
Andrew Tridgell
a5bda3ffef
Plane: changed to using a "aircraft parameters" structure
...
this structure can be passed to libraries to give them easy access to
critical user parameters
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
d62636d309
Plane: added new TECS altitude controller
...
Includes improvements to takeoff/launch detect logic to support hand
launching for X-8 flight
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
tstellanova
459c47fa46
Fix test_ins
...
Fix output format of test_ins and fix the number of parameters passed
to printf
12 years ago
Andrew Tridgell
f3237b9e5d
Plane: update FS_LONG_ACTN and FS_SHORT_ACTN docs
...
thanks to Craig for noticing this
12 years ago
Andrew Tridgell
75ef7c26e1
Plane: update takeoff course when conditions met
...
This allows for change of heading before the final takeoff conditions
are met
thanks to Greg Fletcher for suggesting this
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