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
Andrew Tridgell
c1c967f3bf
DataFlash: fixed test sketch build and run
12 years ago
Andrew Tridgell
a7541e9ad3
DataFlash: report log number when starting a new log
...
helps with test sketch
12 years ago
Andrew Tridgell
ba8d830754
DataFlash: start to fix example build
12 years ago
John Arne Birkeland
9487eb6c1b
Examples: Improved compatibility with Mission Planner serial terminal (CLI)
12 years ago
Andrew Tridgell
26fedc543c
AP_Mount: fixed scaling of the joystick speed to give better control
...
thanks to Chris Miser for reporting this problem
12 years ago
Andrew Tridgell
00e905b025
AP_Airspeed: use new voltage_average() API in Airspeed driver
12 years ago
Andrew Tridgell
bf1944a36d
AP_ADC_AnalogSource: fixed reference scaling for APM1 Ch6 ADC
...
it is not referenced to Vcc
12 years ago
Andrew Tridgell
2fc922a251
AP_Rangefinder: use voltage_average() interface for generic analog rangefinder
12 years ago
Andrew Tridgell
ce46f2f871
AP_ADC: fixed scaling factor for voltage on APM1 Ch6 ADC
12 years ago
Randy Mackay
b8d492b504
Compass: current based compensation added
12 years ago
Andrew Tridgell
16270ccc47
HAL_AVR_SITL: fixed windows build
12 years ago
Andrew Tridgell
3e2cb92c71
AP_ADC_AnalogSource: added voltage_average() interface
12 years ago
Andrew Tridgell
b1c27407a2
AP_HAL: added voltage_average() interface to AnalogIn
...
returns voltage in Volts, using averaged reading over samples.
Where possible this should be auto-scaled against a known reference
voltage
12 years ago
Randy Mackay
e113eb526b
Compass: add get_motor_compensation
...
Remove redundant set_motor_compensation call
12 years ago
Andrew Tridgell
987cdaf3e1
DataFlash: make it safe to do DataFlash logging from timers
...
this uses a non-blocking semaphore take if we are in a timer
process. Useful for logging failsafe events
12 years ago
Randy Mackay
bfb29ce22b
Compass: remove virtual functions to save RAM
12 years ago
Randy Mackay
886725291c
Compass: enable motor compensation for 1280
...
Expand motor compenstion vector's range limit
12 years ago
Randy Mackay
8093c98cd3
Compass: add motor compensation to HIL library
12 years ago
Randy Mackay
d8515ff85e
Compass: basic compensation for motor interference
12 years ago
John Arne Birkeland
fc566096de
AVR HAL: RCJitterTest example
...
Used to test jitter on the PPM R/C input system.
12 years ago
Randy Mackay
318a831b57
INS: set default filter to 20hz for APM2.x and PX4
12 years ago
Andrew Tridgell
cbdeb20dad
MAVLink: rebuilt with new RANGEFINDER message
12 years ago
Andrew Tridgell
44768c911f
MAVLink: added RANGEFINDER message
12 years ago
Andrew Tridgell
8ed2f7d21c
AnalogIn: run the example sketch a bit slower
...
5Hz is plenty
12 years ago
Andrew Tridgell
e4fb54fcc9
RangeFinder: added new AP_RangeFinder_analog
...
this is a generic analog rangefinder, supporting 3 types of functions
between voltage and distance.
12 years ago
Andrew Tridgell
efd2da3eb8
DataFlash: started on file interface
12 years ago
Andrew Tridgell
7b524d15fa
DataFlash: added log_num to dump interface
...
this will be used by the file oriented logging code
12 years ago
Andrew Tridgell
c52ef80f06
DataFlash: added Block layer in classes
...
this will allow the addition of a DataFlash_File implementation of the
DataFlash API which will store logs in a traditional filesystem. That
will align better with the PX4 design, and be more useful for fast
transfer of logs to a host computer
12 years ago
Andrew Tridgell
0ffcffa81c
DataFlash: fixed signed/unsigned errors in API
12 years ago
Andrew Tridgell
9b551f162c
DataFlash: make the public interface much narrower
...
make many variables private, to simplify interface ready for PX4
12 years ago