Sentis-ToF-M100 API 1.0.0 API_for_using_the_Bluetechnix_Sentis_ToF_M100_camera

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Macros Groups Pages
apitypes.h
Go to the documentation of this file.
1
14 //apitypes.h
15 #ifndef _APITYPES_H
16 #define _APITYPES_H
17
27 //Config flags:
28 #define HOLD_CONTROL_ALIVE 0x00000001
29 //GetData flags:
30 #define SENTIS_NON_BLOCKING_INPUT 0x00000001
33 /* Camera registers */
34
41 #define Mode0 0x0001
42 #define Status 0x0003
43 #define ImageDataFormat 0x0004
44 #define IntegrationTime 0x0005
45 #define DeviceType 0x0006
46 #define DeviceInfo 0x0007
47 #define FirmwareInfo 0x0008
48 #define ModulationFrecuency 0x0009
49 #define FrameRate 0x000A
50 #define HardwareConfiguration 0x000B
51 #define SerialNumberLowWord 0x000C
52 #define SerialNumberHighWord 0x000D
53 #define FrameCounter 0x000E
54 #define ConfidenceThresLow 0x0010
55 #define ConfidenceThresHig 0x0011
56 #define Mode1 0x0019
57 #define CalculationTime 0x001A
58 #define LedboarsTemp 0x001B
59 #define MainboardTemp 0x001C
60 #define LinearizationAmplitude 0x001D
61 #define LinearizationPhasseShift 0x001E
62 #define MaxLedTemp 0x0024
63 #define HorizontalFov 0x0026
64 #define VerticalFov 0x0027
65 #define TriggerDelay 0x002B
66 #define BootloaderStatus 0x002C
67 #define TemperatureCompensationGradient 0x002D
68 #define ApplicationVersion 0x002E
69 #define DistCalibGradient 0x002F
70 #define DistCalibOffset 0x0030
71 #define CmdExec 0x0033
72 #define CmdExecResult 0x0034
73 #define FactoryMacAddr2 0x0035
74 #define FactoryMacAddr1 0x0036
75 #define FactoryMacAddr0 0x0037
76 #define FactoryYear 0x0038
77 #define FactoryMonthDay 0x0039
78 #define FactoryHourMinute 0x003A
79 #define FactoryTimezone 0x003B
80
89 #define DEPTH_AMP_DATA 0x0000
90 #define XYZ_COORDS_DATA 0x0010
91 #define XYZ_AMP_DATA 0x0020
92 #define PHASES_0_270_DATA 0X0038
93 #define PHASES_270_0_DATA 0x0040
94
107 typedef void * T_SENTIS_HANDLE;
108
117 typedef struct {
118 unsigned short udp_port;
119 unsigned short tcp_port;
120 unsigned flags;
121 char const *tcp_ip;
122 char const *udp_ip;
123 } T_SENTIS_CONFIG;
124
125
133 typedef int T_ERROR_CODE;
134
144 typedef struct {
145 unsigned short reserved1;
146 unsigned short headerVersion;
147 unsigned short imageWidth;
148 unsigned short imageHeight;
149 unsigned char nofChannels;
150 unsigned char bytesPerPixel;
151 unsigned short imageFormat;
152 unsigned timestamp;
153 unsigned short frameCounter;
154 char reserved2[8];
155 unsigned char mainTemp;
156 unsigned char ledTemp;
157 unsigned short firmwareVersion;
158 char reserved3[30];
159 unsigned short headerCrc16;
160 } T_SENTIS_DATA_HEADER;
161
162 #endif