How to choose and use multiple "data_type" at the same time? #213
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello,
I would like to know how to change the data_type output by the lidar that goes into LivoxEthPacket.
For example, i would like to obtain data_type 3 and 6 (ExtSpherical and IMU) but it seems it is only possible to have one of them at the same time? Please correct me if i'm wrong.
Also how do i input in the code, the command to change the data_type i want?
I know the lidarcallback will fetch the value from LvxBasePackDetail, but there is nowhere in the example i found where we set the value we actually want.
typedef struct {
uint8_t device_index;
uint8_t version;
uint8_t port_id;
uint8_t lidar_index;
uint8_t rsvd;
uint32_t error_code;
uint8_t timestamp_type;
uint8_t data_type; <=============================
uint8_t timestamp[8];
uint8_t raw_point[kMaxPointSize];
uint32_t pack_size;
} LvxBasePackDetail;
Thanks.