Andrew Tridgell
2d29a6a7be
AP_Math: added Vector2f.angle()
...
useful for calculating the vector in polar coordinates
12 years ago
Andrew Tridgell
f6aacdc768
AP_Navigation: added a navigation controller class
...
the new L1 controller will be a instance of this class. Other
navigation controllers can be added as additional instances
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
12 years ago
Randy Mackay
cdb532a594
Copter: bug fix for loiter target
12 years ago
Randy Mackay
86fe79a662
INS: updated MPU6K_FILTER parameter description
12 years ago
tobias
217b8d7a59
cleanup: use const for struct Location pointers and references
...
this allows the compiler to generate more efficient code
12 years ago
Stange Szilard
6516bffbb6
AP_Camera: enable relay off in all builds
12 years ago
Andrew Tridgell
8d992ae615
InertialSensor: added OilPan INS example
12 years ago
Randy Mackay
af13f6795c
INS: switch to global definition of GRAVITY_MSS
...
saves 4 bytes of RAM
12 years ago
Randy Mackay
777c6a308e
AP_InertialNav: use shared GRAVITY_MSS constant
12 years ago
foobarbecue
c07702f46d
Update AP_MotorsOctaQuad.cpp
...
There were two "4"s in the motor test order values. Presumably a typo.
12 years ago
Randy Mackay
739e3c2b9a
Copter: adjust trapezoidal motor mixing
12 years ago
Randy Mackay
e32cbd827b
Copter: replace quad trapezoid frame with V
...
Also update motor mixing
12 years ago
Randy Mackay
5bf55a9523
OpticalFlow: switch order of sin_yaw, cos_yaw
12 years ago
Andrew Tridgell
5667f5d817
AP_ADC: fixed APM1 HIL_SENSORS Ch6() return
12 years ago
Andrew Tridgell
310a5a6be1
DataFlash: don't try to write if no card inserted
12 years ago
Andrew Tridgell
6123ea2dac
PID: added get_pid_4500()
...
this is a version of get_pid() that returns an int16_t constrained to
-4500 to 4500. This will prevent overflow errors for large PID gains
in ArduPlane and Rover
12 years ago
Randy Mackay
6816c45c39
InertialNav: reduce Z-axis time constant to 5
12 years ago
Michael Oborne
541fa13291
cleanup comments
12 years ago
Michael Oborne
2160bf135d
fix sitl segfault in hil
12 years ago
Michael Oborne
87292e0a4a
Init hil accel with gravity
12 years ago
Randy Mackay
39ba406957
Copter: add trapezoid frame type
...
We still need to properly define the motor mixing for the trapezoid
frame in AP_MotorsQuad.cpp
12 years ago
Andrew Tridgell
a093926b04
Revert "RC_Channel: removed pwm_out variable from RC_Channel"
...
This reverts commit 8e4a003d8d
.
It is used by MotorsMatrix
12 years ago
Andrew Tridgell
8e4a003d8d
RC_Channel: removed pwm_out variable from RC_Channel
...
saves 16 bytes
12 years ago
Andrew Tridgell
896fd52aa1
AP_AHRS: fixed functions that need to be virtual
...
functions overridden in a child class need to be marked virtual, or
you get the parent class function
12 years ago
Andrew Tridgell
8459da202c
AP_AHRS: prevents compass flyaways for plane and rover
...
this switches to the GPS for yaw if the compass has dragged us off by
more than 45 degrees from the GPS heading, and the wind speed is less
than 80% of the ground speed.
12 years ago
Andrew Tridgell
091b474a1d
AP_Math: added wrap_360_cd() and wrap_180_cd()
...
moved from per-vehicle code
12 years ago
Andrew Tridgell
0ffc7dab6b
SITL: added GPS speed down to SITL state
12 years ago
Randy Mackay
93f7e61b66
UBLOX GPS: fix MSG_SOL typo
...
"status" was used instead of "solution"
12 years ago
Randy Mackay
27309a553f
GPS: fixes after review
...
Ensure 3D fix before returning velocity_down
UBLOX: restore check of fix_status as part of determining 2D or 3D fix
SIRF: add missing brackets on fix type check
12 years ago
Randy Mackay
24044dc0c4
AHRS: add support for GPS fix type 2D
12 years ago
Randy Mackay
d7454bb09e
GPS: add 2D fix type
12 years ago
Andrew Tridgell
eb6c66af7e
AP_HAL: added gpio->analogPinToDigitalPin() API
12 years ago
Andrew Tridgell
a6b21443c4
HAL_AVR: fixed null termination of vsnprintf()
12 years ago
Andrew Tridgell
91bbf914f7
RangeFinder: added SONAR_ENABLE boolean to analog sonar object
12 years ago
Andrew Tridgell
7e58bde826
GCS_MAVLink: added comm_is_idle() function
...
this will make CLI detection more reliable
12 years ago
Andrew Tridgell
6ddb99a50b
HAL_PX4: create APM/boot.log on SD card
...
useful for debugging
12 years ago
Andrew Tridgell
cc932973d6
HAL_PX4: remove the need for the fmu_only flag file
12 years ago
Andrew Tridgell
3f6eb87f23
AP_GPS: fixed uBlox Debug() macro
12 years ago
Andrew Tridgell
8766e86091
HAL_PX4: fixed blocking bulk writes to UARTs
...
this fixes a problem with uBlox initialisation on PX4
12 years ago
Andrew Tridgell
14911eff6c
HAL_PX4: added a (disabled) trick for handling blocking ttyACM0
...
this doesn't work yet, but is worth having for debugging
12 years ago
Randy Mackay
38e81adae0
InertialNav: remove unnecessary "virtual" from function definitions
...
This saves about 30bytes of RAM
12 years ago
Andrew Tridgell
93fc9c48e5
HAL_PX4: fixed startup bug in fmu_only mode
12 years ago
Christopher Hrabia
744f610409
RangeFinder_I2C: fixed bug with interchanged min max values
...
- add usage of mode-filter and min-max constrain, similar to MaxsonarXL
12 years ago
Christopher Hrabia
9760cdf2d7
Compass: corrected space
12 years ago
Andrew Tridgell
ba8ba36af4
HAL_AVR: fixed build.Examples in autotest
12 years ago
Andrew Tridgell
ac69a531d3
HAL_PX4: workaround problem with APM file on SD card
...
this works around file redirection bug from earlier firmwares
12 years ago
Andrew Tridgell
551950c573
GPS_UBLOX: fixed auto-config of baudrate
...
this fixes the setting of the baudrate on a uBlox that is configured
for 9600. It fixes the NMEA message to have a \r\n, plus sends the
NAV_SOL rate config before the NMEA baudrate config message.
This fixes issue #159
12 years ago
Randy Mackay
c9571ad543
InertialNav: remove 3sec limit on position est after losing GPS
12 years ago
Andrew Tridgell
6a1aad30f1
HAL_PX4: auto-create APM directory on SD card
12 years ago
Andrew Tridgell
7681f3b639
AP_HAL: update AnalogIn example to show voltages not raw values
12 years ago