libvisiontransfer  8.1.1
Public Member Functions | Public Attributes | List of all members
visiontransfer::internal::ClientSideDataChannelIMUBNO080 Class Reference

Encapsulated receiver with ring buffers for IMU / environment sensor data. More...

#include <visiontransfer/datachannel-imu-bno080.h>

Inheritance diagram for visiontransfer::internal::ClientSideDataChannelIMUBNO080:
Inheritance graph
[legend]
Collaboration diagram for visiontransfer::internal::ClientSideDataChannelIMUBNO080:
Collaboration graph
[legend]

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
 

Detailed Description

Encapsulated receiver with ring buffers for IMU / environment sensor data.

Public access transparently via DataChannelService

Definition at line 64 of file datachannel-imu-bno080.h.

Member Function Documentation

◆ handleMessage()

int visiontransfer::internal::ClientSideDataChannelIMUBNO080::handleMessage ( DataChannelMessage message,
sockaddr_in *  sender 
)
overridevirtual

Channel-dependent message handlers in respective channel implementations.

Implements visiontransfer::internal::DataChannel.

Definition at line 139 of file datachannel-imu-bno080.cpp.

◆ initialize()

bool visiontransfer::internal::ClientSideDataChannelIMUBNO080::initialize ( )
inlineoverridevirtual

When initialize() implementations return false, the service will be deactivated.

Implements visiontransfer::internal::DataChannel.

Definition at line 81 of file datachannel-imu-bno080.h.

◆ startService()

int visiontransfer::internal::ClientSideDataChannelIMUBNO080::startService ( )
inlineoverridevirtual

startService() implementations can start devices, launch an IO-blocked worker thread etc.

Implements visiontransfer::internal::DataChannel.

Definition at line 82 of file datachannel-imu-bno080.h.


The documentation for this class was generated from the following files:
Nerian Vision Technologies