InertialNodeInfo
InertialNodeInfo

Contains basic information about an InertialNode.

Functions
InertialNodeInfo
InertialNodeInfo(
const InertialDeviceInfo &info,
const std::vector<uint16&supportedDescriptors
)

Creates an InertialNodeInfo object.

Parameters
info

The InertialDeviceInfo containing information about the device.

supportedDescriptors
const std::vector<uint16>&

The descriptor set ids that are supported by this device.

Variables
m_firmwareVersion
Version m_firmwareVersion

The firmware Version of the InertialNode (ie. 1.1.14).

m_model
InertialModels::NodeModel m_model

The InertialModels::NodeModel of the InertialNode.

m_modelName
std::string m_modelName

The model name of the InertialNode (ie. "3DM-GX3-35").

m_modelNumber
std::string m_modelNumber

The model number of the InertialNode (ie. "6225-4220").

m_serialNumber
std::string m_serialNumber

The serial number of the InertialNode (ie. "6225-01319").

m_lotNumber
std::string m_lotNumber

The lot number of the InertialNode (ie. "I042Y").

m_deviceOptions
std::string m_deviceOptions

The device options of the InertialNode (ie. "5g, 300d/s").

m_supportedDescriptors
std::vector<uint16> m_supportedDescriptors

A vector that contains all the descriptor ids (commands, data types) that the InertialNode supports.

Functions
firmwareVersion
Version firmwareVersion() const

Gets the firmware Version of the InertialNode.

Returns

The firmware Version of the InertialNode.

model
InertialModels::NodeModel model() const

Gets the InertialModels::NodeModel of the InertialNode.

Returns

The InertialModels::NodeModel of the InertialNode.

modelName
std::string modelName() const

Gets the model name of the InertialNode (ie. "3DM-GX3-45").

Returns

The model name of the InertialNode.

modelNumber
std::string modelNumber() const

Gets the model number of the InertialNode (ie. "6225-4220").

Returns

The model number of the InertialNode.

serialNumber
std::string serialNumber() const

Gets the serial number of the InertialNode (ie. "6225-01319").

Returns

The serial number of the InertialNode.

lotNumber
std::string lotNumber() const

Gets the lot number of the InertialNode (ie. "I042Y").

Returns

The lot number of the InertialNode.

deviceOptions
std::string deviceOptions() const

Gets the device options of the InertialNode (ie. "5g, 300d/s").

Returns

The device options of the InertialNode.

supportedChannelFields
InertialTypes::ChannelFields supportedChannelFields(
InertialTypes::InertialCategory type
) const

Gets a list of the supported channel fields for a given InertialTypes::InertialCategory.

Parameters
type

The InertialTypes::InertialCategory to get the list of supported channels for.

Returns

A InertialTypes::ChannelFields object containing the list of supported channel fields.

supportsCategory
bool supportsCategory(
InertialTypes::InertialCategory type
) const

Checks whether or not a given InertialTypes::InertialCategory is supported by the InertialNode.

Parameters
type

The InertialTypes::InertialCategory to check if supported.

supports
bool supportsCommand(
InertialTypes::Command commandId
) const

Checks whether or not the given InertialTypes::Command is supported by the InertialNode.

Parameters
commandId

The InertialTypes::Command to check if supported.

Returns

true if the <InertialFieldId::ID> is supported by the InertialNode, false otherwise.