Doly C++ SDK v1.00
Loading...
Searching...
No Matches
Helper.h
Go to the documentation of this file.
1#pragma once
2#include <cstdint>
3
13
19
28{
34 float head;
35
41 int x;
42
48 int y;
49};
50
57{
59 float x;
60
62 float y;
63};
64
65namespace Helper
66{
78 int8_t readSettings();
79
97 int8_t getImuOffsets(int16_t& gx, int16_t& gy, int16_t& gz,
98 int16_t& ax, int16_t& ay, int16_t& az);
99
115
116} // namespace Helper
117 // end of group doly_sdk_common
Definition Helper.h:66
int8_t stopDolyService()
Stop the background Doly service (if running).
int8_t readSettings()
Read default settings from the platform settings file.
int8_t getImuOffsets(int16_t &gx, int16_t &gy, int16_t &gz, int16_t &ax, int16_t &ay, int16_t &az)
Retrieve IMU calibration offsets (gyro/accel).
2D position using float coordinates.
Definition Helper.h:57
float y
Y coordinate. Units are implementation-defined.
Definition Helper.h:62
float x
X coordinate. Units are implementation-defined.
Definition Helper.h:59
3D pose-like position with heading and integer XY coordinates.
Definition Helper.h:28
int y
Y coordinate in integer units.
Definition Helper.h:48
float head
Heading angle in degrees.
Definition Helper.h:34
int x
X coordinate in integer units.
Definition Helper.h:41