Michael du Breuil
d06a82af1d
AP_HAL_VRBrain: Remove GPIO::analogPinToDigitalPin()
7 years ago
Andrew Tridgell
48747be494
HAL_VRBrain: don't clear buffers on no baud change
7 years ago
Andrew Tridgell
3e5d5b4095
HAL_VRBRAIN: ensure system_id is nul terminated
7 years ago
Andrew Tridgell
3cd6d8cac7
HAL_VRBRAIN: removed restriction on delay in threads
...
threads other than the main thread should be able to sleep, but not
call the delay callback
7 years ago
Andrew Tridgell
9e7d93ff48
HAL_VRBrain: support uartG
7 years ago
Michael du Breuil
3af6b78d67
AP_HAL_VRBrain: Clear UART buffers when opening a port
7 years ago
Peter Barker
89d532b557
AP_HAL_VRBRAIN: use common methods for setting time
7 years ago
Eugene Shamaev
0e3ad3f48d
AP_HAL_VRBRAIN: helper func
7 years ago
Eugene Shamaev
b190b6793b
AP_HAL_VRBRAIN: reducing indenting by linearizing the logic
7 years ago
Michael du Breuil
a2dfca2fee
AP_HAL_VRBrain: Remove timer process suspension interface
7 years ago
Michael du Breuil
1f1ba54990
AP_HAL_VRBrain: Remove RC overrides
7 years ago
Eugene Shamaev
60db4016a7
AP_HAL_VRBRAIN: UAVCAN servo removal
7 years ago
Michael du Breuil
9f10cd7195
AP_HAL_VRBrain: Remove set_overrides() method
7 years ago
Peter Barker
864f41406d
AP_HAL_VRBRAIN: move delay callback handling to base HAL Scheduler class
7 years ago
Andrew Tridgell
a1ba582a5d
HAL_VRBrain: handle oneshot125 separately
7 years ago
Andrew Tridgell
3c5c77889c
HAL_VRBRAIN: fixed build with DShot
7 years ago
Andrew Tridgell
0fb4e4720d
AP_HAL_VRBRAIN: added mask to set_output_mode()
...
this allows for some groups using dshot and some not
7 years ago
Peter Barker
6c7c916c78
AP_HAL: eliminate AP_HAL::Print and AP_HAL::Stream
...
Just *way* too many layers involved here
7 years ago
Andrew Tridgell
33a87194dc
HAL_VRBrain: Storage::_timer_tick is an override
7 years ago
Andrew Tridgell
2bb99bfe53
HAL_VRBRAIN: implement _timer_tick in UARTDriver
7 years ago
LukeMike
250bf53912
VRBRAIN / AP_HAL_VRBRAIN: some update for new VR Brain 5.2E (EEPROM version)
7 years ago
LukeMike
97b29a333d
VRBRAIN / AP_HAL_VRBRAIN: updated AP_HAL
7 years ago
Andrew Tridgell
f2102bba05
HAL_VRBrain: fixed I2C get_device() interface
...
just stubs for now
7 years ago
Mark Whitehorn
644f5b75e6
AP_HAL_VRBRAIN: rename enable_sbus_out to enable_px4io_sbus_out
7 years ago
Peter Barker
9cb23f6108
AP_HAL_VRBRAIN: make in_main_thread const and override
7 years ago
Lucas De Marchi
5ea1784838
global: remove AP_HAL::in_timerprocess()
...
This is not used and in the only places it would make sense would be
internally to the scheduler so remove it.
8 years ago
Lucas De Marchi
08637f1dcc
AP_HAL_VRBRAIN: Scheduler: replace use of in_timerprocess()
...
This function actually checks if we are not in the main thread rather
than if we are in the timer thread.
Add a new function that does what it's supposed to do.
8 years ago
Siddharth Bharat Purohit
caf8dce75c
HAL_VRBRAIN: use correct datatype for time conversion
8 years ago
Peter Barker
85e5de15c4
AP_HAL_VRBRAIN: use HAL_SEMAPHORE_BLOCK_FOREVER
8 years ago
Andrew Tridgell
5c028897a3
HAL_VRBrain: cope with nested cork/push
8 years ago
murata
0733d760f6
AP_HAL_VRBRAIN: Unify from print or println to printf.
...
AP_InertialSensor: Unify from print or printin to printf.
8 years ago
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
8 years ago
Lucas De Marchi
d3b5089a12
AP_HAL_VRBRAIN: UARTDriver: remove commented out code
...
This is not working and there's no reason to keep it around.
8 years ago
Lucas De Marchi
80cf1207b7
AP_HAL_VRBRAIN: UARTDriver: fix writting with failures
...
When the buffer wraps and we do it in 2 steps, we can't actually do the
second part if it fails or if we wrote less bytes than we intended,
otherwise we will corrupt the data being sent.
8 years ago
Lucas De Marchi
68fc08fe52
AP_HAL_VRBRAIN: fix resetting TX buffer
...
We can't give the TX buffer 16 bytes more since next time begin() is
called it will compare the buffer size to the value the caller is trying
to set. In this case we would free and alloc the buffer again each time
begin was called.
8 years ago
Murilo Belluzzo
e8bfcf02a0
VRBRAIN UARTDriver: Make use of ByteBuffer class
...
This patch replaces the 'old style' ringbuffer by the ByteBuffer class.
An effort was made to keep the exchange as close as possible from a
drop-in replacement to minimize the risk of introducing bugs.
Although the exchange opens opportunities for improvement and
simplification of this class.
While at it, just like in the write case, explain why we are stopping.
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Andrew Tridgell
5530e3782d
HAL_VRBrain: fixed cork() for RCOutput
8 years ago
Murilo Belluzzo
0b86532b5c
Global: Remove '\r' character from all source code files
8 years ago
Lucas De Marchi
e1ab44f4a3
Global: remove get_fd() from Device API
...
This was there for compatibility with I2CDriver and SPIDriver. We don't
use them anymore so we can remove the compat method.
9 years ago
LukeMike
5987cc273f
AP_HAL_VRBRAIN: added some new modules for I2C wrapper
9 years ago
LukeMike
fde5992b6d
VRBRAIN: updated AP_HAL_VRBRAIN
9 years ago
Murilo Belluzzo
077e03678f
Global: Adapt Stream class to be used with Ringbuffer
9 years ago
Lucas De Marchi
1841313f73
AP_HAL_VRBRAIN: remove I2CDriver
...
I2CDevice now serves for the same purpose.
9 years ago
Andrew Tridgell
6120631977
HAL_VRBRAIN: added uartF
9 years ago
Lucas De Marchi
44bc2eceb4
AP_HAL_VRBRAIN: replace header guard with pragma once
9 years ago
Lucas De Marchi
00249dc8bb
AP_HAL_VRBRAIN: use empty I2CDevice
9 years ago
Lucas De Marchi
f39a6745d1
Global: remove unused _timer_pending from scheduler
9 years ago
Lucas De Marchi
9aa49cda93
Global: remove system_initializing() from scheduler
...
This is not used anymore.
9 years ago
Julien BERAUD
736f78a7a2
AP_HAL_VRBRAIN: add empty optical flow
...
No onboard optical flow on VRBRAIN
9 years ago