libvisiontransfer
10.8.0
|
Encapsulated receiver with ring buffers for IMU / environment sensor data.
Public access transparently via DataChannelService
Definition at line 89 of file datachannel-imu-bno080.h.
#include <visiontransfer/internal/datachannel-imu-bno080.h>
Public Member Functions | |
DataChannel::Type | getChannelType () const override |
int | handleSensorInputRecord (unsigned char *data, int datalen, uint64_t baseTime) |
void | handleChunk (unsigned char *data, int datalen) |
int | handleMessage (DataChannelMessage &message, sockaddr_in *sender) override |
Channel-dependent message handlers in respective channel implementations. More... | |
bool | initialize () override |
When initialize() implementations return false, the service will be deactivated. More... | |
int | startService () override |
startService() implementations can start devices, launch an IO-blocked worker thread etc. More... | |
int | stopService () override |
Public Member Functions inherited from visiontransfer::internal::DataChannel | |
ID | getChannelID () const |
std::string | getInfoString () const |
void | setService (std::weak_ptr< DataChannelServiceBase > serv) |
void | setChannelID (ID id) |
virtual bool | process () |
A single processing iteration; should be short and must not block. Actual frequency determined by the thread calling DataChannelServiceBase::process() More... | |
Public Attributes | |
SensorDataRingBuffer< TimestampedVector, RINGBUFFER_SIZE > | ringbufXYZ [6] |
TimestampedVector | lastXYZ [6] |
SensorDataRingBuffer< TimestampedQuaternion, RINGBUFFER_SIZE > | ringbufRotationQuaternion |
TimestampedQuaternion | lastRotationQuaternion |
SensorDataRingBuffer< TimestampedScalar, RINGBUFFER_SIZE > | ringbufScalar [5] |
TimestampedScalar | lastScalar [5] |
Additional Inherited Members | |
Public Types inherited from visiontransfer::internal::DataChannel | |
typedef unsigned char | Type |
typedef unsigned char | ID |
Protected Member Functions inherited from visiontransfer::internal::DataChannel | |
int | sendData (unsigned char *data, unsigned int dataSize, sockaddr_in *recipient=nullptr) |
Protected Attributes inherited from visiontransfer::internal::DataChannel | |
std::string | infoString |
|
overridevirtual |
Channel-dependent message handlers in respective channel implementations.
Implements visiontransfer::internal::DataChannel.
Definition at line 169 of file datachannel-imu-bno080.cpp.
|
inlineoverridevirtual |
When initialize() implementations return false, the service will be deactivated.
Implements visiontransfer::internal::DataChannel.
Definition at line 106 of file datachannel-imu-bno080.h.
|
inlineoverridevirtual |
startService() implementations can start devices, launch an IO-blocked worker thread etc.
Implements visiontransfer::internal::DataChannel.
Definition at line 107 of file datachannel-imu-bno080.h.