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
Andrew Tridgell
5a55fd9a2f
AP_HAL: added HAL_BOARD_NAME define
12 years ago
Andrew Tridgell
20825cc903
DataFlash: removed the byte and word based interfaces
...
simplifing ready for PX4 flash logging
12 years ago
Pat Hickey
e0457f21de
AP_HAL_PX4: fix off-by-one error in RCOutput channel sending
12 years ago
Andrew Tridgell
a3ef58ac92
AP_HAL: moved AnalogIn example to generic examples
...
it is not AVR specific anymore
12 years ago
Andrew Tridgell
5b92c67286
HAL_AVR: fixed analog input with high channel numbers
12 years ago
Andrew Tridgell
fae396e64f
HAL_AVR: expand analog input test to more channels
12 years ago
Andrew Tridgell
c373429a6e
HAL_PX4: fixed a buffer handling bug
...
BUF_SPACE() was badly buggy, which could lead to memory corruption
12 years ago
Andrew Tridgell
160e5fa311
HAL_PX4: show a message if we fail to upgrade PX4IO firmware
12 years ago
Andrew Tridgell
f67480fa50
AP_GPS: ensure constructors zero all key variables
...
this prevents a crash on PX4 if a GPS is attached after startup
12 years ago
Andrew Tridgell
93ef403529
AP_GPS: removed unused AP_GPS_Shim.h
12 years ago
Andrew Tridgell
02c5c3ec4a
HAL_PX4: changed scheduler priorities
...
put sensor priority above main sketch, to prevent occasional blocking
for sensor data
12 years ago
Randy Mackay
963231a19b
AHRS: fix example sketch to use roll/pitch trim
12 years ago
Randy Mackay
3321db8dde
AHRS: limit trim to 10 degrees
12 years ago
Randy Mackay
21de9f5f47
AP_InertialSensor: return roll and pitch trim angles
12 years ago
Andrew Tridgell
54e7bce75e
HAL_PX4: cope with O_NONBLOCK not working in NuttX on ttyACM0
...
writes will block anyway, which clags up APM
12 years ago
Andrew Tridgell
8041768c67
HAL_PX4: perform automatic update of px4io firmware
12 years ago
Andrew Tridgell
8e2a20bea8
HAL_PX4: enable ttyACM0 as main console, ttyS1 as telemetry port
12 years ago
Andrew Tridgell
727f8ff029
AP_GPS: removed the old MTK16 driver
...
the MTK19 driver supports both the 1.6 and 1.9 protocol
12 years ago
Andrew Tridgell
fb4e68f0f0
SITL: added SIM_GPS_BYTELOSS option
...
this allows testing of protocol recovery after losing bytes on the GPS
serial link
12 years ago
Andrew Tridgell
3a582663fb
SITL: improve time field handling in simulated GPS
12 years ago