Andrew Tridgell
448167e958
AP_GPS: fixed examples build
12 years ago
Andrew Tridgell
af2d7232c5
APM_Control: make the default time constant 0.75
...
thanks to Tom for the testing!
12 years ago
Andrew Tridgell
770b7b5901
AP_InertialSensor: prevent a lockup in MPU6000 driver
...
thanks to the VRBrain port for noticing this bug.
Failing to get the semaphore is an expected error with the MPU6000, as
we read data both from timer context and mainline code. That means
semaphore conflicts are inevitable. We shouldn't consider them an
error, and shouldn't panic when some arbitrary number of them have
happened since boot.
Instead the wait_for_sample() code checks that we receive new data at
least every 50ms. That is a much safer test.
12 years ago
Andrew Tridgell
36ea705956
AP_OpticalFlow: fixed build with print() API change
12 years ago
Andrew Tridgell
0e9aef7e52
AP_HAL: changed base defines for print()
...
this avoids a conflict with wirish from libmaple
12 years ago
Mike McCauley
2e061fc507
AP_Param: Fix compiler warning on Flymaple
12 years ago
Mike McCauley
4c65c42411
AP_Compass: fixed ARM 32 bit compatibility
12 years ago
Andrew Tridgell
87bb3bc5dc
AP_HAL: added AP_HAL_PX4 define
12 years ago
Andrew Tridgell
21010104e6
AP_HAL_Empty: added register_io_process()
12 years ago
Andrew Tridgell
928e06f52c
AP_HAL: use fabs() in print
...
fixes build on Arduino
12 years ago
Andrew Tridgell
45d9140946
AP_HAL_SMACCM: updates for new API
12 years ago
Andrew Tridgell
40af9ab674
AP_HAL_PX4: updates for new API
12 years ago
Andrew Tridgell
d0bb998352
AP_HAL_Empty: updates for new API
12 years ago
Andrew Tridgell
dbb70fc57c
AP_HAL_AVR_SITL: implement betterstream functions in AP_HAL
...
this gives more consistancy between ports
12 years ago
Andrew Tridgell
33fe27a104
AP_HAL_AVR: implement betterstream functions in AP_HAL
...
this gives more consistancy between ports
12 years ago
Andrew Tridgell
d46f5f6943
AP_HAL: implement betterstream functions in AP_HAL
...
this gives more consistancy between ports
12 years ago
Michael Oborne
54fc004956
SITL: fix sitl timer issues under cygwin
12 years ago
Andrew Tridgell
fc119d9b80
AP_Baro: cleaned up temperature and pressure units
...
thanks to Mike McCauley for pointing this out
12 years ago
Andrew Tridgell
7de47931a8
DataFlash: use %f not %.6f
12 years ago
Andrew Tridgell
16a7faa223
AP_Param: use %f not %.6f for param show
12 years ago
Andrew Tridgell
0d662c52b3
AP_HAL: fixed length return from snprintf
12 years ago
Andrew Tridgell
0063f1fad8
AP_HAL: added Util.cpp
...
common printf functions
12 years ago
Andrew Tridgell
05b426c1fc
HAL_PX4: use common printf implementation on UARTs
12 years ago
Andrew Tridgell
f5c0f765fc
AP_HAL_SMACCM: use common printf implementation
12 years ago
Andrew Tridgell
b9d6f8e8b1
AP_HAL_AVR: removed unused script
12 years ago
Andrew Tridgell
85b3f0d18d
AP_HAL: expanded printf test suite
12 years ago
Andrew Tridgell
e12a4178f3
AP_HAL_SMACCM: convert to new AP_HAL printf
12 years ago
Andrew Tridgell
80e2a5cc32
AP_HAL_PX4: convert to new AP_HAL printf
12 years ago
Andrew Tridgell
4c1925b578
AP_HAL_Empty: convert to new AP_HAL printf
12 years ago
Andrew Tridgell
bb44fa4385
AP_HAL_AVR_SITL: convert to new AP_HAL printf
12 years ago
Andrew Tridgell
60122f9877
AP_HAL: moved printf implementation from AP_HAL_AVR to AP_HAL
...
this gives a common printf implementation on all boards, which
simplifies testing, and also simplifies porting to new boards
12 years ago
Andrew Tridgell
4ad4b60fbc
HAL: added Printf test sketch
...
for testing new non-asm printf code
12 years ago
Andrew Tridgell
16a0dfc38c
HAL_AVR: changed to C implementation of float formatting
...
Many thanks to Soren Kuula for this work!
12 years ago
Randy Mackay
4b18c670e3
DataFlash: explicitly print floats to 6 dec places
...
C++ default is to print 6 decimal places but nuttx displays none by
default
12 years ago
Randy Mackay
3f84e0adf6
AP_Param: explicitly print floats to 6 dec places
...
C++ default is to print 6 decimal places but nuttx displays none by
default
12 years ago
Andrew Tridgell
4d2bfe1078
AP_InertialSensor: fixed another example build
12 years ago
Andrew Tridgell
e1aa6e3ff1
libraries: fixed examples for no flash_leds() callback
12 years ago
Andrew Tridgell
f8e9d48a76
AP_InertialSensor: removed the flash_leds() callback
...
AP_Notify now handles this
12 years ago
Andrew Tridgell
66ee484b3c
AP_Notify: convert to unix style file
12 years ago
Andrew Tridgell
445edb8793
GCS_MAVLink: remove CR/LF
12 years ago
Andrew Tridgell
18896d9c9b
AP_Math: fixed DOS CR/LF errors
12 years ago
Andrew Tridgell
cf633e4d79
AP_HAL: convert to unix file format
12 years ago
Andrew Tridgell
a5b29f44d5
AP_HAL: added hal.gpio->usb_connected() function
...
this replaces the USB_MUX_PIN on APM2, and works on PX4 and FMUv2
12 years ago
Randy Mackay
d3fcfe669d
Copter Motors: increase MOT_SPIN_ARMED to int16
12 years ago
Andrew Tridgell
0d6b847966
AP_Notify: grab initial flags state in init()
...
this prevents annoying tones on startup of APM:Plane
12 years ago
Andrew Tridgell
284492cfec
AP_GPS: fixed an initialisation problem with GPS drivers
...
before the first full packet arrives we could report uninitialised
values for groundspeed and heading
12 years ago
Andrew Tridgell
4864496ae6
SITL: reduce default GPS delay to 0.4
...
closer to real uBlox delay
12 years ago
Andrew Tridgell
84ed2141a0
AP_Math: fixed float rounding in location_offset()
...
this prevents rounding of positions in the rover code
12 years ago
Andrew Tridgell
3e24ff1b07
AP_SteerController: change the scaling of the D term
...
this should cope better with low speed
12 years ago
Andrew Tridgell
e85d275fe5
SITL: added SIM_SERVO_RATE parameter
...
this allows a slew rate for servos to be specified in degrees/second
12 years ago