10 #ifndef GO_API_HEALTH_H
11 #define GO_API_HEALTH_H
14 #include <kApi/Io/kSerializer.h>
17 #define GO_HEALTH_ENCODER_VALUE (1003) // Current system encoder tick.
18 #define GO_HEALTH_ENCODER_FREQUENCY (1005) // Current system encoder frequency (ticks/s).
20 #define GO_HEALTH_FIRMWARE_VERSION (2000) // Firmware application version.
21 #define GO_HEALTH_FIRESYNC_VERSION (20600) // FireSync version
23 #define GO_HEALTH_UPTIME (2017) // Time elapsed since boot-up or reset (seconds).
25 #define GO_HEALTH_TEMPERATURE (2002) // Internal temperature (degrees Celsius).
26 #define GO_HEALTH_PROJECTOR_TEMPERATURE (2404) // Projector temperature (degrees Celsius).
27 #define GO_HEALTH_LASER_TEMPERATURE (2028) // Laser temperature (degrees Celsius). Available only on 3B-class devices.
28 #define GO_HEALTH_LASER_OVERHEAT (20020) // Indicates whether the laser is overheating.
29 #define GO_HEALTH_LASER_OVERHEAT_DURATION (20021) // Indicates how long the laser has been overheating if it is overheating.
31 #define GO_HEALTH_MEMORY_USED (2003) // Amount of memory currently used (bytes).
32 #define GO_HEALTH_MEMORY_CAPACITY (2004) // Total amount of memory available (bytes).
33 #define GO_HEALTH_STORAGE_USED (2005) // Amount of non-volatile storage used (bytes).
34 #define GO_HEALTH_STORAGE_CAPACITY (2006) // Total amount of non-volatile storage available (bytes).
35 #define GO_HEALTH_CPU_USED (2007) // CPU usage (percentage of maximum).
37 #define GO_HEALTH_SYNC_SOURCE (2043) // Sensor synchronization source. (1 - Master, 2 - Device/Gocator)
38 #define GO_HEALTH_NET_OUT_USED (21003) // Current outbound network throughput (bytes). //todo - plu - implement accumulated ethernet output value
39 #define GO_HEALTH_NET_OUT_RATE (21004)
40 #define GO_HEALTH_NET_OUT_CAPACITY (2009) // Total available outbound network throughput (bytes/s).
41 #define GO_HEALTH_NET_OUT_LINK_STATUS (2034) // The ethernet output's current network link status
43 #define GO_HEALTH_DIGITAL_INPUTS (2024) // Current digital input status (one bit per input).
44 #define GO_HEALTH_CAMERA_SEARCH_COUNT (2217) // Number of search states.
46 #define GO_HEALTH_STATE (20000) // Current system state.
47 #define GO_HEALTH_SPEED (20001) // Current speed (Hz).
48 #define GO_HEALTH_MAXSPEED (20002) // Maximum speed (Hz).
49 #define GO_HEALTH_SPOT_COUNT (20003) // Number of found spots in the last profile
50 #define GO_HEALTH_MAX_SPOT_COUNT (20004) // Maximum number of spots that can be found
51 #define GO_HEALTH_SCAN_COUNT (20005) // The number of scanned profiles or surfaces.
53 #define GO_HEALTH_PLAYBACK_POSITION (20023) // Indicates the current replay playback index.
54 #define GO_HEALTH_PLAYBACK_COUNT (20024) // Indicates the number of frames present in the current replay.
56 #define GO_HEALTH_DIGITAL_OUTPUT_HIGH_COUNT (21006) // The number scans with high digital output pulses.
57 #define GO_HEALTH_DIGITAL_OUTPUT_LOW_COUNT (21007) // The number scans with no digital output pulse.
59 #define GO_HEALTH_PROCESSING_LATENCY_LAST (21001) // Last reported processing latency value (in uS).
60 #define GO_HEALTH_PROCESSING_LATENCY_MAX (21002) // Maximum reported processing latency.
61 #define GO_HEALTH_PROCESSING_DROPS (21000) // Current number of processing drops.
62 #define GO_HEALTH_TRIGGER_DROPS (21010) // Current number of trigger drops.
63 #define GO_HEALTH_OUTPUT_DROPS (21011) // Current number of output drops. Sum of all output drops.
65 #define GO_HEALTH_ANALOG_DROPS (2501) // Current number of analog output drops.
66 #define GO_HEALTH_DIGITAL_DROPS (2601) // Current number of digital output drops.
67 #define GO_HEALTH_SERIAL_DROPS (2701) // Current number of serial output drops.
68 #define GO_HEALTH_ETHERNET_DROPS (21005) // Current number of ethernet output drops.
70 #define GO_HEALTH_RANGE_VALID_COUNT (21100) // Current number of frames with valid range data.
71 #define GO_HEALTH_RANGE_INVALID_COUNT (21101) // Current number of frames with invalid range data.
72 #define GO_HEALTH_ANCHOR_INVALID_COUNT (21200) // Number of frames with anchor invalid.
74 #define GO_HEALTH_MEASUREMENT (30000) // Measurement value.
75 #define GO_HEALTH_MEASUREMENT_PASS (30001) // Number of pass decisions.
76 #define GO_HEALTH_MEASUREMENT_FAIL (30002) // Number of fail decisions.
77 #define GO_HEALTH_MEASUREMENT_MIN (30003) // Minimum measurement value.
78 #define GO_HEALTH_MEASUREMENT_MAX (30004) // Maximum measurement value.
79 #define GO_HEALTH_MEASUREMENT_AVERAGE (30005) // Average measurement value.
80 #define GO_HEALTH_MEASUREMENT_STDEV (30006) // Measurement value standard deviation.
81 #define GO_HEALTH_MEASUREMENT_INVALID_COUNT (30007) // Number of invalid values.
143 #include <GoSdk/GoHealth.x.h>
GoIndicator
Definition: GoHealth.h:94
Represents health information from a single sensor.
kSize GoHealthMsg_Count(GoHealthMsg msg)
Count of health indicators in this message.
Represents a data source.
GoIndicator * GoHealthMsg_At(GoHealthMsg msg, kSize index)
Gets the health indicator at the specified index.
Essential API declarations.
GoIndicator * GoHealthMsg_Find(GoHealthMsg msg, k32u id)
Finds the health indicator with the matching ID.
GoDataSource GoHealthMsg_Source(GoHealthMsg msg)
Gets the health source.