Struct jsProfile¶
Scan data is returned from the scan head through profiles; each profile returning a single scan line at a given moment in time.
#include <joescan_pinchot.h>
Public Attributes¶
| Type | Name |
|---|---|
| jsCamera | camera The camera used for the profile. |
| jsProfileData | data An array of scan line data associated with this profile. |
| uint32_t | data_len The total number of valid scan line measurement points for this profile held in the data array. |
| int64_t | encoder_values Array holding current encoder values. |
| uint32_t | flags Bitmask of flags listed in enum jsProfileFlags . |
| jsDataFormat | format The format of the data for the given jsProfile . |
| jsLaser | laser The laser used for the profile. |
| uint32_t | laser_on_time_us Time in microseconds for the laser emitting. |
| uint32_t | num_encoder_values Number of encoder values in this profile. |
| uint32_t | packets_expected |
| uint32_t | packets_received |
| uint64_t | reserved_0 Reserved for future use. |
| uint64_t | reserved_1 Reserved for future use. |
| uint64_t | reserved_2 Reserved for future use. |
| uint64_t | reserved_3 Reserved for future use. |
| uint64_t | reserved_4 Reserved for future use. |
| uint64_t | reserved_5 Reserved for future use. |
| uint32_t | scan_head_id The Id of the scan head that the profile originates from. |
| uint32_t | sequence_number Monotonically increasing count of profiles generated by camera. |
| uint64_t | timestamp_ns Time of the scan head in nanoseconds when profile was taken. |
Public Attributes Documentation¶
camera¶
The camera used for the profile.
jsCamera camera;
data¶
An array of scan line data associated with this profile.
jsProfileData data[JS_PROFILE_DATA_LEN];
data_len¶
The total number of valid scan line measurement points for this profile held in the data array.
uint32_t data_len;
encoder_values¶
Array holding current encoder values.
int64_t encoder_values[JS_ENCODER_MAX];
flags¶
Bitmask of flags listed in enum jsProfileFlags .
uint32_t flags;
format¶
The format of the data for the given jsProfile .
jsDataFormat format;
laser¶
The laser used for the profile.
jsLaser laser;
laser_on_time_us¶
Time in microseconds for the laser emitting.
uint32_t laser_on_time_us;
num_encoder_values¶
Number of encoder values in this profile.
uint32_t num_encoder_values;
packets_expected¶
uint32_t packets_expected;
Deprecated
Will be removed in a future release.
packets_received¶
uint32_t packets_received;
Deprecated
Will be removed in a future release.
reserved_0¶
Reserved for future use.
uint64_t reserved_0;
reserved_1¶
Reserved for future use.
uint64_t reserved_1;
reserved_2¶
Reserved for future use.
uint64_t reserved_2;
reserved_3¶
Reserved for future use.
uint64_t reserved_3;
reserved_4¶
Reserved for future use.
uint64_t reserved_4;
reserved_5¶
Reserved for future use.
uint64_t reserved_5;
scan_head_id¶
The Id of the scan head that the profile originates from.
uint32_t scan_head_id;
sequence_number¶
Monotonically increasing count of profiles generated by camera.
uint32_t sequence_number;
timestamp_ns¶
Time of the scan head in nanoseconds when profile was taken.
uint64_t timestamp_ns;