Skyward boardcore
Loading...
Searching...
No Matches
Boardcore::GyroscopeData Struct Reference

Structure to handle gyroscope data. More...

#include <SensorData.h>

Inheritance diagram for Boardcore::GyroscopeData:

Public Member Functions

 GyroscopeData ()
 
 GyroscopeData (uint64_t timestamp, float x, float y, float z)
 
 GyroscopeData (const GyroscopeData &data)=default
 
 GyroscopeData (const Eigen::Vector3f &vel)
 
void print (std::ostream &os) const
 
 operator Eigen::Vector3f () const
 

Static Public Member Functions

static std::string header ()
 

Public Attributes

uint64_t angularSpeedTimestamp = 0
 
float angularSpeedX = 0
 
float angularSpeedY = 0
 
float angularSpeedZ = 0
 

Detailed Description

Structure to handle gyroscope data.

Definition at line 206 of file SensorData.h.

Constructor & Destructor Documentation

◆ GyroscopeData() [1/4]

Boardcore::GyroscopeData::GyroscopeData ( )
inline

Definition at line 213 of file SensorData.h.

◆ GyroscopeData() [2/4]

Boardcore::GyroscopeData::GyroscopeData ( uint64_t timestamp,
float x,
float y,
float z )
inline

Definition at line 215 of file SensorData.h.

◆ GyroscopeData() [3/4]

Boardcore::GyroscopeData::GyroscopeData ( const GyroscopeData & data)
default

◆ GyroscopeData() [4/4]

Boardcore::GyroscopeData::GyroscopeData ( const Eigen::Vector3f & vel)
inlineexplicit

Definition at line 223 of file SensorData.h.

Member Function Documentation

◆ header()

static std::string Boardcore::GyroscopeData::header ( )
inlinestatic

Definition at line 228 of file SensorData.h.

◆ operator Eigen::Vector3f()

Boardcore::GyroscopeData::operator Eigen::Vector3f ( ) const
inline

Definition at line 239 of file SensorData.h.

◆ print()

void Boardcore::GyroscopeData::print ( std::ostream & os) const
inline

Definition at line 233 of file SensorData.h.

Member Data Documentation

◆ angularSpeedTimestamp

uint64_t Boardcore::GyroscopeData::angularSpeedTimestamp = 0

Definition at line 208 of file SensorData.h.

◆ angularSpeedX

float Boardcore::GyroscopeData::angularSpeedX = 0

Definition at line 209 of file SensorData.h.

◆ angularSpeedY

float Boardcore::GyroscopeData::angularSpeedY = 0

Definition at line 210 of file SensorData.h.

◆ angularSpeedZ

float Boardcore::GyroscopeData::angularSpeedZ = 0

Definition at line 211 of file SensorData.h.


The documentation for this struct was generated from the following file: