EduArt Sensor Ring Library 4.0.0
Loading...
Searching...
No Matches
SensorBoardParams.hpp
Go to the documentation of this file.
1// Copyright (c) 2026 EduArt Robotik GmbH
2
9
10#pragma once
11
14#include "sensorring/platform/SensorringExport.hpp"
15
16namespace eduart {
17
18namespace sensorring {
19
20namespace board {
21
26enum class Orientation {
30};
31
37SENSORRING_EXPORT std::string toString(Orientation mode) noexcept;
38
45SENSORRING_EXPORT std::ostream& operator<<(std::ostream& os, Orientation mode) noexcept;
46
64
65} // namespace board
66
67} // namespace sensorring
68
69} // namespace eduart
SENSORRING_EXPORT std::ostream & operator<<(std::ostream &os, const ConnectionState state) noexcept
Stream connection state as string.
SENSORRING_EXPORT std::string toString(ConnectionState state)
Convert connection state to a human-readable string.
Collection of math functions.
Orientation
Possible orientations of a sensor board. Used to rotate/mirror light animations and thermal images.
Definition SensorBoardParams.hpp:26
@ None
No specific orientation; default behaviour applies.
Definition SensorBoardParams.hpp:27
@ Right
Board is mounted on the right side; animations are used as-is.
Definition SensorBoardParams.hpp:29
@ Left
Board is mounted on the left side; animations are mirrored horizontally.
Definition SensorBoardParams.hpp:28
Board type enum for sensor board hardware variants (matches firmware).
SensorBoardType
Hardware variant of a sensor board.
Definition SensorBoardType.hpp:28
@ Undefined
Board type could not be determined.
Definition SensorBoardType.hpp:33
Parameter structure of a sensor board. A sensor board is one circuit board.
Definition SensorBoardParams.hpp:51
math::Vector3 translation
Translation part of the sensor pose. Values: XYZ coordinates in meters.
Definition SensorBoardParams.hpp:62
Orientation orientation
Board orientation used by devices that require orientation-dependent processing.
Definition SensorBoardParams.hpp:56
SensorBoardType board_type
Hardware board type. When set to Undefined, the board is created with all supported device types (bac...
Definition SensorBoardParams.hpp:53
math::Vector3 rotation
Rotation part of the sensors pose. The rotation is applied in the order Roll(x) - Pitch(y) - Yaw(z)....
Definition SensorBoardParams.hpp:59
Vector of length 3.
Definition Vector3.hpp:27