6UENUM(meta = (Bitflags, UseEnumValuesAsMaskValuesInEditor =
"true"))
10 Left = 1 << 0 UMETA(DisplayName =
"Left") ,
11 Right = 1 << 1 UMETA(DisplayName =
"Right"),
19UENUM(meta = (Bitflags, UseEnumValuesAsMaskValuesInEditor =
"true"))
23 Thumb = 1 << 0 UMETA(DisplayName =
"Thumb"),
24 Index = 1 << 1 UMETA(DisplayName =
"Index"),
25 Middle = 1 << 2 UMETA(DisplayName =
"Middle"),
26 Palm = 1 << 3 UMETA(DisplayName =
"Palm"),
28ENUM_RANGE_BY_VALUES(EActuationPoint, EActuationPoint::Thumb, EActuationPoint::Index, EActuationPoint::Middle, EActuationPoint::Palm);
30 {EActuationPoint::Thumb,
"THUMB"},
31 {EActuationPoint::Index,
"INDEX"},
32 {EActuationPoint::Middle,
"MIDDLE"},
33 {EActuationPoint::Palm,
"PALM"},
36enum class TrackingType{
55UENUM(meta = (Bitflags, UseEnumValuesAsMaskValuesInEditor =
"true"))
78 struct AccelerometerData {
MiddlewareStatus
Definition: WeArtCommon.h:56
TextureType
Definition: WeArtCommon.h:156
@ RhombAluminiumMeshMedium
@ ProfiledAluminiumMeshMedium
@ ProfiledAluminiumMeshFast
GraspingState
Definition: WeArtCommon.h:50
@ Grabbed
Definition: WeArtCommon.h:51
@ Released
Definition: WeArtCommon.h:52
HandClosingState
Definition: WeArtCommon.h:42
@ Closed
Definition: WeArtCommon.h:45
@ Closing
Definition: WeArtCommon.h:44
@ Open
Definition: WeArtCommon.h:43
EHandSide
Definition: WeArtCommon.h:8
@ Left
Definition: WeArtCommon.h:10
@ Right
Definition: WeArtCommon.h:11
ENUM_RANGE_BY_VALUES(EHandSide, EHandSide::Left, EHandSide::Right)
#define NLOHMANN_JSON_SERIALIZE_ENUM(ENUM_TYPE,...)
macro to briefly define a mapping between an enum and JSON
Definition: json.hpp:2557
#define NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(Type,...)
macro
Definition: json.hpp:2755
#define NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT(Type,...)
Definition: json.hpp:2759
Definition: WeArtCommon.h:179
const int defaultTextureIndex
Definition: WeArtCommon.h:198
const int nullTextureIndex
Definition: WeArtCommon.h:201
const float dynamicForceSensibility
Definition: WeArtCommon.h:220
const float defaultCollisionMultiplier
Definition: WeArtCommon.h:207
const float defaultTemperature
Definition: WeArtCommon.h:184
const float minForce
Definition: WeArtCommon.h:189
const float minTemperature
Definition: WeArtCommon.h:185
const float minVolumeTexture
Definition: WeArtCommon.h:212
const float maxCollisionMultiplier
Definition: WeArtCommon.h:209
const int maxTextureIndex
Definition: WeArtCommon.h:200
const float defaultTextureVelocity[3]
Definition: WeArtCommon.h:203
const float thresholdThumbClosure
Definition: WeArtCommon.h:215
const std::string WEART_SDK_TRACK_TYPE
Definition: WeArtCommon.h:182
const float maxVolumeTexture
Definition: WeArtCommon.h:213
const float staticTextureVelocity
Definition: WeArtCommon.h:196
const std::string WEART_SDK_VERSION
Definition: WeArtCommon.h:181
const float defaultClosure
Definition: WeArtCommon.h:192
const float thresholdMiddleClosure
Definition: WeArtCommon.h:217
const float defaultGraspForce
Definition: WeArtCommon.h:219
const float maxClosure
Definition: WeArtCommon.h:194
const float maxTextureVelocity[3]
Definition: WeArtCommon.h:205
const std::string WEART_SDK_TYPE
Definition: WeArtCommon.h:180
const float defaultVolumeTexture
Definition: WeArtCommon.h:211
const float defaultForce
Definition: WeArtCommon.h:188
const float thresholdIndexClosure
Definition: WeArtCommon.h:216
const float minTextureVelocity[3]
Definition: WeArtCommon.h:204
const float minCollisionMultiplier
Definition: WeArtCommon.h:208
const float maxTemperature
Definition: WeArtCommon.h:186
const int minTextureIndex
Definition: WeArtCommon.h:199
const float maxForce
Definition: WeArtCommon.h:190
const float minClosure
Definition: WeArtCommon.h:193
Status of a connected TouchDIVER device.
Definition: WeArtCommon.h:135
int batteryLevel
Battery charge level (from 0 to 100)
Definition: WeArtCommon.h:143
EHandSide handSide
Hand to which the device is assigned.
Definition: WeArtCommon.h:140
bool charging
Tells whether the device is under charge (true) or not (false)
Definition: WeArtCommon.h:146
std::string macAddress
Device BLE mac address.
Definition: WeArtCommon.h:137
std::vector< ThimbleStatus > thimbles
Status of the device thimbles.
Definition: WeArtCommon.h:149
Definition: WeArtCommon.h:85
Definition: WeArtCommon.h:104
EHandSide handSide
Definition: WeArtCommon.h:106
std::string macAddress
Definition: WeArtCommon.h:105
Definition: WeArtCommon.h:110
std::string version
Definition: WeArtCommon.h:113
std::string errorDesc
Definition: WeArtCommon.h:115
std::vector< MiddlewareConnectedDevice > connectedDevices
Definition: WeArtCommon.h:117
std::string status
Definition: WeArtCommon.h:112
std::uint64_t timestamp
Definition: WeArtCommon.h:111
int statusCode
Definition: WeArtCommon.h:114
bool actuationsEnabled
Definition: WeArtCommon.h:116
Definition: WeArtCommon.h:97
GyroscopeData gyroscope
Definition: WeArtCommon.h:99
TofData timeOfFlight
Definition: WeArtCommon.h:100
AccelerometerData accelerometer
Definition: WeArtCommon.h:98
Status of a single thimble connected to a device.
Definition: WeArtCommon.h:122
EActuationPoint id
Actuation Point to which the thimble is assigned.
Definition: WeArtCommon.h:124
std::string errorDesc
Description of the thimble status code.
Definition: WeArtCommon.h:130
bool connected
Tells whether the thimble is connected to the device or not.
Definition: WeArtCommon.h:126
int statusCode
Current status code of the thimble (0 = OK)
Definition: WeArtCommon.h:128
Definition: WeArtCommon.h:92