v2.0.0
Loading...
Searching...
No Matches
UTILSLIB::PolhemusSerialConfig Struct Reference

Settings used to open a real Polhemus serial connection. More...

#include <polhemus_connection.h>

Public Attributes

int baudRate = 115200
FastrakParser::Units units = FastrakParser::Units::Inches
QVector3D hemisphere = QVector3D(0, 0, 0)
QByteArray streamCommand = QByteArrayLiteral("C\r")

Detailed Description

Settings used to open a real Polhemus serial connection.

Definition at line 64 of file polhemus_connection.h.

Member Data Documentation

◆ baudRate

int UTILSLIB::PolhemusSerialConfig::baudRate = 115200

Definition at line 66 of file polhemus_connection.h.

◆ hemisphere

QVector3D UTILSLIB::PolhemusSerialConfig::hemisphere = QVector3D(0, 0, 0)

Hemisphere vector for all stations. The Fastrak tracks sensors within the half-space defined by this direction from the transmitter. Example: (0,0,1) = +Z (superior), (0,0,-1) = -Z (inferior). Set to a non-zero vector to send Fastrak "H<n>,x,y,z\r" for stations 1-4 at connect time. Default (0,0,0) = don't change.

Definition at line 73 of file polhemus_connection.h.

◆ streamCommand

QByteArray UTILSLIB::PolhemusSerialConfig::streamCommand = QByteArrayLiteral("C\r")

Stream control command sent right after opening the port. The factory default for Fastrak is "C\r" (continuous ASCII output); use "P\r" if the application drives polled mode itself.

Definition at line 77 of file polhemus_connection.h.

◆ units

FastrakParser::Units UTILSLIB::PolhemusSerialConfig::units = FastrakParser::Units::Inches

Definition at line 67 of file polhemus_connection.h.


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