Problem with ./lidar_sample #167

Closed
opened 2022-03-17 11:41:13 +01:00 by Shibaditya99 · 1 comment
Shibaditya99 commented 2022-03-17 11:41:13 +01:00 (Migrated from github.com)

when I'm starting ./lidar_sample, I'ts giving me the values [I modified main.c program]. but after a certain value it's like exiting from the loop. so how can I put it in a infinite loop? or where?

for example:
here I'm printing the data like this
if(data->data_type == kExtendedCartesian){ LivoxExtendedRawPoint *p_pointdata = (LivoxExtendedRawPoint *)data->data; printf("%d, %d, %d", p_point_data->x, p_point_data->y, p_point_data->z); }

If you please check the main.c in the Livox-SDK/sample/lidar, I modified that "GetLidarData()" function. but unfortunately after a certain time it's like exiting from the loop! so how can I solve that?
And how to get the data as frame by frame?

when I'm starting ./lidar_sample, I'ts giving me the values [I modified main.c program]. but after a certain value it's like exiting from the loop. so how can I put it in a infinite loop? or where? for example: here I'm printing the data like this ` if(data->data_type == kExtendedCartesian){ LivoxExtendedRawPoint *p_pointdata = (LivoxExtendedRawPoint *)data->data; printf("%d, %d, %d", p_point_data->x, p_point_data->y, p_point_data->z); } ` If you please check the main.c in the Livox-SDK/sample/lidar, I modified that "GetLidarData()" function. but unfortunately after a certain time it's like exiting from the loop! so how can I solve that? And how to get the data as frame by frame?
gabrielheider commented 2022-05-05 23:35:42 +02:00 (Migrated from github.com)

Hi @Shibaditya99 ,

How did you solve this problem? Can you provide short example?

Hi @Shibaditya99 , How did you solve this problem? Can you provide short example?
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mmr/Livox-SDK#167