Andrew Tridgell
d6af9fd0ee
HAL_PX4: prevent uavcan motor spin up while booting
10 years ago
Andrew Tridgell
6a33aeef67
HAL_PX4: cope with multi-instance actuator_outputs uORB
...
we need to subscribe to all of them
10 years ago
Andrew Tridgell
333778bac1
HAL_PX4: updates for upstream merge
10 years ago
Andrew Tridgell
c44ab01be8
AP_HAL: use noreturn attribute on panic
...
should reduce coverity warnings
10 years ago
Andrew Tridgell
ca8482b4d6
AP_HAL_PX4: convert example from .pde to .cpp
10 years ago
Andrew Tridgell
43fb1202f2
HAL_PX4: fixed functor comparison with NULL
10 years ago
Tom Pittenger
98c5137107
AP_HAL_PX4: compiler warnings: float to doubles
10 years ago
Andrew Tridgell
40e3b422b5
HAL_SITL: rename HAL_AVR_SITL to HAL_SITL
...
it is nothing to do with the original AVR emulation now
10 years ago
Randy Mackay
187dd0dccd
HAL_PX4: fix example sketch
10 years ago
Andrew Tridgell
020d9ea78a
HAL_PX4: only consider power to have changed when armed
...
this prevents false positives with multi-battery setups
10 years ago
Tom Pittenger
3b3752468d
HAL_PX4: fix compile warnings re unused variables
10 years ago
Tom Pittenger
179c72bfa9
HAL_PX4: fix compile warning re member init order
10 years ago
Tom Pittenger
7e18480cd2
HAL_PX4: fix compile warnings re float constants
10 years ago
Andrew Tridgell
7cd7ff89fd
HAL_PX4: recover 12k of ram from USB buffers
...
faster NuttX means we don't need such larger buffers
10 years ago
Andrew Tridgell
086f878bdc
HAL_PX4: split IO thread into separate IO and storage threads
...
this prevents a blocked microSD card from blocking IO to the FRAM,
causing parameter changes not to be sticky
10 years ago
Andrew Tridgell
18131eae13
HAL_PX4: added delay_microseconds_boost()
...
implemented using hrt callback with sem_post wrapper
10 years ago
Andrew Tridgell
619196b6b3
HAL_PX4: fixes for new PX4 device paths
10 years ago
Andrew Tridgell
001643d5a3
HAL_PX4: always use the hrt semaphore based delay
...
the up_udelay() could cause too much timing jitter
10 years ago
Andrew Tridgell
7f0060b881
HAL_PX4: reduce the amount of time between loop() calls
...
500usec is too long for 400Hz copter
10 years ago
Andrew Tridgell
ebacb2b496
HAL_PX4: call parent Util constructor
10 years ago
Jonathan Challinger
e908fcafb1
AP_HAL_PX4: attempt to initialize USB while soft-disarmed
10 years ago
Andrew Tridgell
f548d48fdc
HAL_PX4: implement updated new_input() semantics
10 years ago
Andrew Tridgell
f2a919c55e
AP_HAL_PX4: moved size of main thread stack to Scheduler.h
...
make it more obvious
10 years ago
Randy Mackay
12bd5cd6b1
AP_HAL_PX4: fix example sketch
10 years ago
Andrew Tridgell
464714f1ab
HAL_PX4: fixed build warning
10 years ago
Andrew Tridgell
0c73dc2440
HAL_PX4: use common RingBuffer.h
10 years ago
Andrew Tridgell
4a91546ced
HAL_PX4: FRAM does not support fsync
...
the fsync just wastes time reopening /fs/mtd
10 years ago
Andrew Tridgell
4132b53541
HAL_PX4: publish actuator values for UAVCAN ESCs
...
this publishes scaled actuator values so that the uavcan module can
drive ESCs
10 years ago
Matthias Badaire
1d3a49e466
AP_HAL_PX4 : make UARTDriver capable to be called from different threads.
...
The modification allows the read and write functions to be called by any thread but the calling thread must be the last one that called the begin() function.
10 years ago
Andrew Tridgell
154bf51279
HAL_PX4: minor tidy up of if statement
10 years ago
Holger Steinhaus
9e9c62d245
HAL_PX4: work-around for periodic enable_ch() calls
10 years ago
Holger Steinhaus
e5549c90a1
HAL_PX4: do not overwrite disabled channels with zeros
...
Fixes #1321
10 years ago
Andrew Tridgell
e22c8b27a9
HAL_PX4: if there are no enabled channels don't send to PX4IO
...
this makes it possible to disable PWM output to IO to test override
10 years ago
Andrew Tridgell
7e3b8a30f5
HAL_PX4: use px4io generated values for servo output readback
...
this makes it easier to observe the behaviour of IO failsafe
10 years ago
Andrew Tridgell
10b0ca7ea8
HAL_PX4: reduce the number of times we split up UART reads and writes
10 years ago
Randy Mackay
ffcd259b4e
HAL_PX4: implement force_safety_on
11 years ago
Andrew Tridgell
74525cad89
HAL_PX4: fixed dirty_mask calculation in FRAM storage
...
this could lead to a number of bytes on 512 byte boundaries not being
written when changed in ram, so they would revert on next boot
11 years ago
Andrew Tridgell
48247b6adc
HAL_PX4: minimise usage of hrt_absolute_time()
11 years ago
Andrew Tridgell
1241da466b
HAL_PX4: added millis64() and micros64()
11 years ago
Andrew Tridgell
0a20d0db60
HAL_PX4: prevent read past end of buffer
11 years ago
Andrew Tridgell
41f7ad42d4
HAL_PX4: fixed example build
11 years ago
Andrew Tridgell
c864f3eed5
HAL_PX4: enable full storage size on PX4
11 years ago
Andrew Tridgell
d40d0f6aec
AP_HAL: removed old storage type read/write functions
...
not needed any more
11 years ago
Andrew Tridgell
d1a75874a1
HAL_PX4: don't report power status change if in first 5 seconds
11 years ago
Andrew Tridgell
02dec5634f
AP_HAL: fixed example builds
11 years ago
Andrew Tridgell
b2bc098aee
HAL_PX4: avoid some float conversion warnings
11 years ago
Andrew Tridgell
849c4905fb
HAL_PX4: print overtime message on stuck task
...
this should make it easier to narrow down stuck task bugs
11 years ago
Andrew Tridgell
fa4eb5475a
HAL_PX4: implement analog input stop pins
...
this allows multiple sonars to cooperate without interference
11 years ago
Andrew Tridgell
37c50d9587
HAL_PX4: fixed use of FMU servo pins as digital inputs
...
these pins can be PWM output or digital input or digital output
11 years ago
Andrew Tridgell
a7d6a26bec
HAL_PX4: fixed auto-flow control
...
the 6 bytes written to break the radio out of bootloader broke
auto flowcontrol detection
11 years ago