SICKAG / sick_scan_xd

A versatile driver for a wide range of SICK LiDAR and RADAR devices, providing support for both Linux (native, ROS 1, ROS 2) and Windows (native, ROS 2) platforms.
Apache License 2.0
110 stars 86 forks source link

Sector contains doubled points in the full scan data #415

Open Nigel-BMV opened 2 weeks ago

Nigel-BMV commented 2 weeks ago

We are using the picoscan-150 to check a moving object, however we have noticed that occassionally the message data with the -1 ID has sections that are doubled. This messes with the data of the moving object creating a zone with unsure measurements. To get the full scan data, I'm using a filter on the SickScanPointCloudMsg segment_idx, where -1 gives me the full scene.

I have recreated the issue with a static scene. 103 Scans were taken, of which 8 scans have doubled data.

The data has a length of 333 in normal circumstances and visualised appears like : 09_01_21_116__333

The doubled data has a length of 393 and visually appears like : 09_01_21_253__393

The area which contains the doubled data : afbeelding

Debug console messaging, as you can see the message is 333 x 1, and 393 x 1 for the following with the first 60 x 1 doubled :

[Info]: MsgPack/Compact-Exporter:   0 udp packages still in input fifo, 10 messages still in output fifo, current segment index: 9
[Info]: MsgPack/Compact-Exporter: 1740 udp scandata messages received, 2000 messages exported (scan+imu), 0% package lost.
[Info]: MsgPack/Compact-Exporter: max. 2 udp messages buffered, max 21 export messages buffered.
[Info]: MsgPack/Compact-Exporter: 2000 messages exported at 172.114 Hz, mean time: 48.687 milliseconds/messages, stddev time: 25.724, max time: 251.363 milliseconds between udp receive and messages export, histogram=[30,6,8,4,8,7,9,6,8,10,1904]
C++ PointCloudMsgCb: 333 x 1 pointcloud message received
>>>>>> IMAGE CREATION : 09_01_29_126__333
C++ PointCloudMsgCb: 60 x 1 pointcloud message received
C++ PointCloudMsgCb: 60 x 1 pointcloud message received
C++ PointCloudMsgCb: 13 x 1 pointcloud message received
C++ PointCloudMsgCb: 60 x 1 pointcloud message received
C++ PointCloudMsgCb: 60 x 1 pointcloud message received
[Info]: MsgPack/Compact-Exporter:   1 udp packages still in input fifo, 14 messages still in output fifo, current segment index: 1
[Info]: MsgPack/Compact-Exporter: 1752 udp scandata messages received, 2009 messages exported (scan+imu), 0% package lost.
[Info]: MsgPack/Compact-Exporter: max. 2 udp messages buffered, max 21 export messages buffered.
[Info]: MsgPack/Compact-Exporter: 2009 messages exported at 171.341 Hz, mean time: 48.789 milliseconds/messages, stddev time: 25.762, max time: 251.363 milliseconds between udp receive and messages export, histogram=[30,6,8,4,8,7,9,6,8,10,1913]
C++ PointCloudMsgCb: 15 x 1 pointcloud message received
C++ PointCloudMsgCb: 35 x 1 pointcloud message received
C++ PointCloudMsgCb: 21 x 1 pointcloud message received
C++ PointCloudMsgCb: 25 x 1 pointcloud message received
C++ PointCloudMsgCb: 15 x 1 pointcloud message received
C++ PointCloudMsgCb: 29 x 1 pointcloud message received
C++ PointCloudMsgCb: 60 x 1 pointcloud message received
C++ PointCloudMsgCb: 13 x 1 pointcloud message received
C++ PointCloudMsgCb: 333 x 1 pointcloud message received
>>>>>> IMAGE CREATION : 09_01_29_257__333
C++ PointCloudMsgCb: 60 x 1 pointcloud message received
[Info]: MsgPack/Compact-Exporter:   0 udp packages still in input fifo, 20 messages still in output fifo, current segment index: 0
[Info]: MsgPack/Compact-Exporter: 1761 udp scandata messages received, 2024 messages exported (scan+imu), 0% package lost.
[Info]: MsgPack/Compact-Exporter: max. 2 udp messages buffered, max 21 export messages buffered.
[Info]: MsgPack/Compact-Exporter: 2024 messages exported at 170.709 Hz, mean time: 48.911 milliseconds/messages, stddev time: 25.760, max time: 251.363 milliseconds between udp receive and messages export, histogram=[30,6,8,4,8,7,9,6,8,10,1928]
C++ PointCloudMsgCb: 60 x 1 pointcloud message received
C++ PointCloudMsgCb: 60 x 1 pointcloud message received
C++ PointCloudMsgCb: 15 x 1 pointcloud message received
C++ PointCloudMsgCb: 35 x 1 pointcloud message received
C++ PointCloudMsgCb: 21 x 1 pointcloud message received
C++ PointCloudMsgCb: 25 x 1 pointcloud message received
C++ PointCloudMsgCb: 15 x 1 pointcloud message received
C++ PointCloudMsgCb: 29 x 1 pointcloud message received
C++ PointCloudMsgCb: 60 x 1 pointcloud message received
C++ PointCloudMsgCb: 13 x 1 pointcloud message received
C++ PointCloudMsgCb: 393 x 1 pointcloud message received
>>>>>> IMAGE CREATION : 09_01_29_406__393
C++ PointCloudMsgCb: 60 x 1 pointcloud message received
[Info]: MsgPack/Compact-Exporter:   0 udp packages still in input fifo, 20 messages still in output fifo, current segment index: 0
[Info]: MsgPack/Compact-Exporter: 1781 udp scandata messages received, 2043 messages exported (scan+imu), 0% package lost.
[Info]: MsgPack/Compact-Exporter: max. 2 udp messages buffered, max 21 export messages buffered.
[Info]: MsgPack/Compact-Exporter: 2043 messages exported at 170.024 Hz, mean time: 49.124 milliseconds/messages, stddev time: 25.821, max time: 251.363 milliseconds between udp receive and messages export, histogram=[30,6,8,4,8,7,9,6,8,10,1947]

Normal scan field data (X/Y/Z/Intensity)

-1.132629;-1.019671;0.000000;0.000000;
-1.146446;-1.050565;0.000000;0.000000;
-1.147578;-1.069966;0.000000;0.000000;
-1.148250;-1.089684;0.000000;0.000000;
-1.140244;-1.100940;0.000000;0.000000;
-1.141900;-1.122170;0.000000;0.000000;
-1.144904;-1.144708;0.000000;0.000000;
-1.145977;-1.166174;0.000000;0.000000;
-1.149071;-1.189686;0.000000;0.000000;
-1.150923;-1.212832;0.000000;0.000000;
-1.153374;-1.236612;0.000000;0.000000;
-1.155257;-1.260746;0.000000;0.000000;
-1.158811;-1.287237;0.000000;0.000000;
-1.160913;-1.312168;0.000000;0.000000;
-1.164382;-1.339716;0.000000;0.000000;
-1.167716;-1.367203;0.000000;0.000000;
-1.170393;-1.395070;0.000000;0.000000;
-1.184391;-1.436754;0.000000;0.000000;
-1.178594;-1.455694;0.000000;0.000000;
-1.187155;-1.492418;0.000000;0.000000;
-0.963411;-1.233315;0.000000;0.000000;
-0.947253;-1.234442;0.000000;0.000000;
-0.929709;-1.233964;0.000000;0.000000;
-0.913078;-1.233902;0.000000;0.000000;
-0.728192;-1.002426;0.000000;0.000000;
-0.717773;-1.006229;0.000000;0.000000;
-0.705428;-1.007607;0.000000;0.000000;
-0.693876;-1.009535;0.000000;0.000000;
-0.682707;-1.012300;0.000000;0.000000;
-0.671739;-1.014818;0.000000;0.000000;
-0.660039;-1.016510;0.000000;0.000000;
-0.649093;-1.018794;0.000000;0.000000;
-0.639552;-1.023632;0.000000;0.000000;
-0.628605;-1.025702;0.000000;0.000000;
-0.616959;-1.026921;0.000000;0.000000;
-0.609597;-1.034791;0.000000;0.000000;
-0.601946;-1.042726;0.000000;0.000000;
-0.585047;-1.033956;0.000000;0.000000;
-0.564754;-1.018959;0.000000;0.000000;
-0.583141;-1.073886;0.000000;0.000000;
-0.592893;-1.115189;0.000000;0.000000;
-0.588789;-1.130908;0.000000;0.000000;
-0.522047;-1.024679;0.000000;0.000000;
-0.506938;-1.016617;0.000000;0.000000;
-0.497075;-1.019251;0.000000;0.000000;
-0.495150;-1.037943;0.000000;0.000000;
-0.533728;-1.144685;0.000000;0.000000;
-0.530052;-1.162897;0.000000;0.000000;
-0.518961;-1.165700;0.000000;0.000000;
-0.507288;-1.166466;0.000000;0.000000;
-0.495416;-1.167213;0.000000;0.000000;
-0.484561;-1.169597;0.000000;0.000000;
-0.473476;-1.171971;0.000000;0.000000;
-0.462979;-1.175083;0.000000;0.000000;
-0.451879;-1.177254;0.000000;0.000000;
-0.439953;-1.176426;0.000000;0.000000;
-0.426823;-1.172743;0.000000;0.000000;
-0.415686;-1.173555;0.000000;0.000000;
-0.405318;-1.177176;0.000000;0.000000;
-0.417045;-1.246062;0.000000;0.000000;
-0.414381;-1.275370;0.000000;0.000000;
-0.402759;-1.276991;0.000000;0.000000;
-0.390310;-1.276669;0.000000;0.000000;
-0.372461;-1.256978;0.000000;0.000000;
-0.348956;-1.216958;0.000000;0.000000;
-0.351565;-1.268171;0.000000;0.000000;
-0.343974;-1.283715;0.000000;0.000000;
-0.325379;-1.258622;0.000000;0.000000;
-0.311603;-1.249739;0.000000;0.000000;
-0.304301;-1.267997;0.000000;0.000000;
-0.273777;-1.185806;0.000000;0.000000;
-0.251840;-1.136430;0.000000;0.000000;
-0.244520;-1.150298;0.000000;0.000000;
-0.234762;-1.154370;0.000000;0.000000;
-0.224984;-1.157335;0.000000;0.000000;
-0.214584;-1.158291;0.000000;0.000000;
-0.204408;-1.159114;0.000000;0.000000;
-0.193846;-1.158900;0.000000;0.000000;
-0.183995;-1.161517;0.000000;0.000000;
-0.173595;-1.162106;0.000000;0.000000;
-0.169686;-1.207132;0.000000;0.000000;
-0.168686;-1.281949;0.000000;0.000000;
-0.159202;-1.296260;0.000000;0.000000;
-0.147649;-1.296620;0.000000;0.000000;
-0.136455;-1.297846;0.000000;0.000000;
-0.124907;-1.298004;0.000000;0.000000;
-0.113614;-1.298037;0.000000;0.000000;
-0.102082;-1.297992;0.000000;0.000000;
-0.090599;-1.294834;0.000000;0.000000;
-0.078808;-1.289594;0.000000;0.000000;
-0.067520;-1.287230;0.000000;0.000000;
-0.056120;-1.286777;0.000000;0.000000;
-0.041764;-1.194270;0.000000;0.000000;
-0.027857;-1.065636;0.000000;0.000000;
-0.004446;-0.253961;0.000000;0.000000;
-0.002215;-0.254990;0.000000;0.000000;
-0.000014;-0.253000;0.000000;0.000000;
0.002226;-0.253990;0.000000;0.000000;
0.004418;-0.253962;0.000000;0.000000;
0.006605;-0.251913;0.000000;0.000000;
0.008744;-0.250848;0.000000;0.000000;
0.011043;-0.252759;0.000000;0.000000;
0.013433;-0.256649;0.000000;0.000000;
0.015818;-0.258516;0.000000;0.000000;
0.017979;-0.257373;0.000000;0.000000;
0.020248;-0.257204;0.000000;0.000000;
0.022380;-0.256024;0.000000;0.000000;
0.024541;-0.254821;0.000000;0.000000;
0.027679;-0.263550;0.000000;0.000000;
0.029210;-0.256341;0.000000;0.000000;
0.112166;-0.914144;0.000000;0.000000;
0.121922;-0.926008;0.000000;0.000000;
0.136723;-0.973445;0.000000;0.000000;
0.149443;-0.999894;0.000000;0.000000;
0.158222;-0.999555;0.000000;0.000000;
0.171489;-1.024750;0.000000;0.000000;
0.192127;-1.090200;0.000000;0.000000;
0.236725;-1.277248;0.000000;0.000000;
0.257909;-1.326154;0.000000;0.000000;
0.198368;-0.975026;0.000000;0.000000;
0.204465;-0.961500;0.000000;0.000000;
0.213836;-0.964582;0.000000;0.000000;
0.223011;-0.965581;0.000000;0.000000;
0.231801;-0.965566;0.000000;0.000000;
0.240551;-0.964454;0.000000;0.000000;
0.252370;-0.975896;0.000000;0.000000;
0.271065;-1.011303;0.000000;0.000000;
0.558403;-0.714727;0.000000;0.000000;
0.550366;-0.691776;0.000000;0.000000;
0.558203;-0.689332;0.000000;0.000000;
0.563625;-0.683610;0.000000;0.000000;
0.570146;-0.679487;0.000000;0.000000;
0.576766;-0.675192;0.000000;0.000000;
0.583883;-0.671700;0.000000;0.000000;
0.590448;-0.667272;0.000000;0.000000;
0.596853;-0.662896;0.000000;0.000000;
0.603352;-0.658343;0.000000;0.000000;
0.609693;-0.653843;0.000000;0.000000;
0.616125;-0.649165;0.000000;0.000000;
0.623093;-0.645263;0.000000;0.000000;
0.628760;-0.639742;0.000000;0.000000;
0.634964;-0.635000;0.000000;0.000000;
0.640540;-0.629375;0.000000;0.000000;
0.647386;-0.625213;0.000000;0.000000;
0.653601;-0.620167;0.000000;0.000000;
0.659659;-0.615186;0.000000;0.000000;
0.666534;-0.610695;0.000000;0.000000;
0.672522;-0.605590;0.000000;0.000000;
0.679336;-0.600959;0.000000;0.000000;
0.686760;-0.597043;0.000000;0.000000;
0.693520;-0.592261;0.000000;0.000000;
0.700137;-0.587541;0.000000;0.000000;
0.708379;-0.583886;0.000000;0.000000;
0.714168;-0.578381;0.000000;0.000000;
0.720807;-0.573304;0.000000;0.000000;
0.727303;-0.568295;0.000000;0.000000;
0.733874;-0.563075;0.000000;0.000000;
0.740303;-0.557925;0.000000;0.000000;
0.748411;-0.553753;0.000000;0.000000;
0.755588;-0.549038;0.000000;0.000000;
0.762030;-0.543513;0.000000;0.000000;
0.769968;-0.539212;0.000000;0.000000;
0.777167;-0.534098;0.000000;0.000000;
0.782575;-0.527932;0.000000;0.000000;
0.787202;-0.521008;0.000000;0.000000;
1.220474;-0.456346;0.000000;0.000000;
1.217874;-0.443170;0.000000;0.000000;
1.219767;-0.431977;0.000000;0.000000;
1.223530;-0.421201;0.000000;0.000000;
1.227119;-0.410628;0.000000;0.000000;
1.231644;-0.400097;0.000000;0.000000;
1.236005;-0.389755;0.000000;0.000000;
1.240351;-0.379130;0.000000;0.000000;
1.244535;-0.368697;0.000000;0.000000;
1.247738;-0.357705;0.000000;0.000000;
1.251742;-0.347192;0.000000;0.000000;
1.255722;-0.336396;0.000000;0.000000;
1.259546;-0.325799;0.000000;0.000000;
1.264311;-0.315160;0.000000;0.000000;
1.267956;-0.304472;0.000000;0.000000;
1.269618;-0.293051;0.000000;0.000000;
1.273076;-0.282302;0.000000;0.000000;
1.276494;-0.271269;0.000000;0.000000;
1.280748;-0.260643;0.000000;0.000000;
1.284960;-0.249718;0.000000;0.000000;
1.289033;-0.238985;0.000000;0.000000;
1.294046;-0.228127;0.000000;0.000000;
1.297939;-0.217282;0.000000;0.000000;
1.302768;-0.206295;0.000000;0.000000;
1.308455;-0.195637;0.000000;0.000000;
1.306169;-0.183531;0.000000;0.000000;
1.582263;0.453607;0.000000;0.000000;
1.583953;0.469250;0.000000;0.000000;
1.576976;0.482024;0.000000;0.000000;
1.572663;0.495915;0.000000;0.000000;
1.566423;0.508849;0.000000;0.000000;
1.559977;0.522011;0.000000;0.000000;
1.551633;0.534150;0.000000;0.000000;
1.542148;0.546147;0.000000;0.000000;
1.532679;0.557724;0.000000;0.000000;
1.523953;0.569820;0.000000;0.000000;
1.519913;0.583307;0.000000;0.000000;
1.513779;0.596325;0.000000;0.000000;
1.508577;0.609365;0.000000;0.000000;
1.502219;0.622265;0.000000;0.000000;
1.495873;0.634813;0.000000;0.000000;
1.490216;0.647983;0.000000;0.000000;
1.485483;0.661224;0.000000;0.000000;
1.479592;0.674302;0.000000;0.000000;
1.474625;0.687466;0.000000;0.000000;
1.468504;0.700446;0.000000;0.000000;
1.463304;0.713530;0.000000;0.000000;
1.456953;0.726410;0.000000;0.000000;
1.450489;0.739233;0.000000;0.000000;
1.447605;0.753568;0.000000;0.000000;
1.442667;0.767247;0.000000;0.000000;
0.939018;1.061195;0.000000;0.000000;
0.919780;1.058116;0.000000;0.000000;
0.908017;1.062972;0.000000;0.000000;
0.895392;1.067109;0.000000;0.000000;
0.882970;1.070938;0.000000;0.000000;
0.870343;1.074799;0.000000;0.000000;
0.861036;1.082269;0.000000;0.000000;
0.851456;1.089821;0.000000;0.000000;
0.843847;1.099508;0.000000;0.000000;
0.837727;1.111700;0.000000;0.000000;
0.826699;1.117438;0.000000;0.000000;
0.791751;1.089743;0.000000;0.000000;
0.766431;1.074701;0.000000;0.000000;
0.784661;1.120594;0.000000;0.000000;
0.700872;1.059093;0.000000;0.000000;
0.029463;0.674357;0.000000;0.000000;
0.023967;0.687582;0.000000;0.000000;
0.018059;0.688763;0.000000;0.000000;
0.012087;0.694895;0.000000;0.000000;
0.006082;0.693973;0.000000;0.000000;
-0.000039;0.692000;0.000000;0.000000;
-0.005993;0.689974;0.000000;0.000000;
-0.012131;0.692894;0.000000;0.000000;
-0.018136;0.693763;0.000000;0.000000;
-0.024290;0.694575;0.000000;0.000000;
-0.030413;0.697337;0.000000;0.000000;
-0.036720;0.700038;0.000000;0.000000;
-0.042698;0.698697;0.000000;0.000000;
-0.048789;0.697295;0.000000;0.000000;
-0.054726;0.695851;0.000000;0.000000;
-0.060775;0.694345;0.000000;0.000000;
-0.066955;0.695786;0.000000;0.000000;
-0.072985;0.694174;0.000000;0.000000;
-0.079312;0.696499;0.000000;0.000000;
-0.085574;0.696765;0.000000;0.000000;
-0.091714;0.696992;0.000000;0.000000;
-0.097997;0.697146;0.000000;0.000000;
-0.103862;0.695285;0.000000;0.000000;
-0.110303;0.696318;0.000000;0.000000;
-0.116637;0.697313;0.000000;0.000000;
-0.122957;0.697241;0.000000;0.000000;
-0.129151;0.697138;0.000000;0.000000;
-0.135677;0.697935;0.000000;0.000000;
-0.141894;0.697718;0.000000;0.000000;
-0.148250;0.697417;0.000000;0.000000;
-0.154479;0.697088;0.000000;0.000000;
-0.161297;0.698622;0.000000;0.000000;
-0.167319;0.697204;0.000000;0.000000;
-0.173946;0.697642;0.000000;0.000000;
-0.179960;0.696115;0.000000;0.000000;
-0.185834;0.693534;0.000000;0.000000;
-0.192613;0.694796;0.000000;0.000000;
-0.200112;0.697876;0.000000;0.000000;
-0.206544;0.697043;0.000000;0.000000;
-0.213136;0.697147;0.000000;0.000000;
-0.219878;0.697147;0.000000;0.000000;
-0.226195;0.696175;0.000000;0.000000;
-0.233279;0.696998;0.000000;0.000000;
-0.240261;0.697796;0.000000;0.000000;
-0.247074;0.697534;0.000000;0.000000;
-0.254110;0.698196;0.000000;0.000000;
-0.260959;0.697800;0.000000;0.000000;
-0.268404;0.699257;0.000000;0.000000;
-0.275661;0.699653;0.000000;0.000000;
-0.282437;0.699103;0.000000;0.000000;
-0.289741;0.699356;0.000000;0.000000;
-0.296546;0.698671;0.000000;0.000000;
-0.303495;0.697862;0.000000;0.000000;
-0.310319;0.697045;0.000000;0.000000;
-0.316870;0.695190;0.000000;0.000000;
-0.324970;0.696962;0.000000;0.000000;
-0.332397;0.696776;0.000000;0.000000;
-0.340150;0.697477;0.000000;0.000000;
-0.348074;0.698029;0.000000;0.000000;
-0.355446;0.697673;0.000000;0.000000;
-0.362971;0.697171;0.000000;0.000000;
-0.369913;0.695779;0.000000;0.000000;
-0.377944;0.696004;0.000000;0.000000;
-0.384905;0.694467;0.000000;0.000000;
-0.392986;0.694526;0.000000;0.000000;
-0.401964;0.696305;0.000000;0.000000;
-0.411136;0.697902;0.000000;0.000000;
-0.419202;0.697757;0.000000;0.000000;
-0.427431;0.697443;0.000000;0.000000;
-0.435023;0.696273;0.000000;0.000000;
-0.442759;0.694939;0.000000;0.000000;
-0.450373;0.693609;0.000000;0.000000;
-0.459785;0.694612;0.000000;0.000000;
-0.469117;0.695594;0.000000;0.000000;
-0.478066;0.695549;0.000000;0.000000;
-0.486344;0.694675;0.000000;0.000000;
-0.494776;0.693614;0.000000;0.000000;
-0.502505;0.691747;0.000000;0.000000;
-0.512751;0.692914;0.000000;0.000000;
-0.516906;0.686068;0.000000;0.000000;
-0.527199;0.687035;0.000000;0.000000;
-0.538648;0.689553;0.000000;0.000000;
-0.547199;0.687905;0.000000;0.000000;
-0.554373;0.684712;0.000000;0.000000;
-0.957309;1.161286;0.000000;0.000000;
-0.951868;1.134596;0.000000;0.000000;
-0.953396;1.116270;0.000000;0.000000;
-0.953153;1.096681;0.000000;0.000000;
-0.956826;1.081490;0.000000;0.000000;
-0.958094;1.064275;0.000000;0.000000;
-0.958661;1.046198;0.000000;0.000000;
-0.961031;1.030388;0.000000;0.000000;
-0.961626;1.013353;0.000000;0.000000;
-0.963580;0.997639;0.000000;0.000000;
-0.965845;0.982867;0.000000;0.000000;
-0.968819;0.968654;0.000000;0.000000;
-0.967869;0.951146;0.000000;0.000000;
-0.968308;0.934931;0.000000;0.000000;
-0.967635;0.918280;0.000000;0.000000;
-0.966920;0.901526;0.000000;0.000000;
-0.966553;0.885718;0.000000;0.000000;
-0.968383;0.871805;0.000000;0.000000;

Doubled Sector scan field data (X/Y/Z/Intensity)

-1.131886;-1.019001;0.000000;0.000000;
-1.145709;-1.049890;0.000000;0.000000;
-1.146846;-1.069284;0.000000;0.000000;
-1.147525;-1.088995;0.000000;0.000000;
-1.140963;-1.101635;0.000000;0.000000;
-1.142614;-1.122871;0.000000;0.000000;
-1.145611;-1.145415;0.000000;0.000000;
-1.145977;-1.166174;0.000000;0.000000;
-1.148376;-1.188967;0.000000;0.000000;
-1.150923;-1.212832;0.000000;0.000000;
-1.154056;-1.237343;0.000000;0.000000;
-1.155257;-1.260746;0.000000;0.000000;
-1.157473;-1.285751;0.000000;0.000000;
-1.160913;-1.312168;0.000000;0.000000;
-1.163726;-1.338962;0.000000;0.000000;
-1.167066;-1.366443;0.000000;0.000000;
-1.170393;-1.395070;0.000000;0.000000;
-1.185028;-1.437525;0.000000;0.000000;
-1.178594;-1.455694;0.000000;0.000000;
-1.187155;-1.492418;0.000000;0.000000;
-0.964026;-1.234103;0.000000;0.000000;
-0.947253;-1.234442;0.000000;0.000000;
-0.929709;-1.233964;0.000000;0.000000;
-0.913078;-1.233902;0.000000;0.000000;
-0.728192;-1.002426;0.000000;0.000000;
-0.717773;-1.006229;0.000000;0.000000;
-0.704855;-1.006787;0.000000;0.000000;
-0.693309;-1.008711;0.000000;0.000000;
-0.682707;-1.012300;0.000000;0.000000;
-0.671739;-1.014818;0.000000;0.000000;
-0.660039;-1.016510;0.000000;0.000000;
-0.648556;-1.017951;0.000000;0.000000;
-0.639552;-1.023632;0.000000;0.000000;
-0.628605;-1.025702;0.000000;0.000000;
-0.617474;-1.027778;0.000000;0.000000;
-0.609597;-1.034791;0.000000;0.000000;
-0.602446;-1.043592;0.000000;0.000000;
-0.585539;-1.034826;0.000000;0.000000;
-0.564754;-1.018959;0.000000;0.000000;
-0.586482;-1.080037;0.000000;0.000000;
-0.594771;-1.118721;0.000000;0.000000;
-0.588789;-1.130908;0.000000;0.000000;
-0.521139;-1.022897;0.000000;0.000000;
-0.506492;-1.015722;0.000000;0.000000;
-0.496636;-1.018352;0.000000;0.000000;
-0.494720;-1.037041;0.000000;0.000000;
-0.532038;-1.141059;0.000000;0.000000;
-0.529638;-1.161987;0.000000;0.000000;
-0.518961;-1.165700;0.000000;0.000000;
-0.507288;-1.166466;0.000000;0.000000;
-0.495026;-1.166293;0.000000;0.000000;
-0.484943;-1.170521;0.000000;0.000000;
-0.473851;-1.172898;0.000000;0.000000;
-0.462246;-1.173222;0.000000;0.000000;
-0.451879;-1.177254;0.000000;0.000000;
-0.439953;-1.176426;0.000000;0.000000;
-0.426139;-1.170864;0.000000;0.000000;
-0.415686;-1.173555;0.000000;0.000000;
-0.405644;-1.178121;0.000000;0.000000;
-0.417363;-1.247010;0.000000;0.000000;
-1.131886;-1.019001;0.000000;0.000000;
-1.145709;-1.049890;0.000000;0.000000;
-1.146846;-1.069284;0.000000;0.000000;
-1.146800;-1.088307;0.000000;0.000000;
-1.139524;-1.100245;0.000000;0.000000;
-1.141900;-1.122170;0.000000;0.000000;
-1.144904;-1.144708;0.000000;0.000000;
-1.145977;-1.166174;0.000000;0.000000;
-1.148376;-1.188967;0.000000;0.000000;
-1.151611;-1.213557;0.000000;0.000000;
-1.154056;-1.237343;0.000000;0.000000;
-1.155257;-1.260746;0.000000;0.000000;
-1.158142;-1.286494;0.000000;0.000000;
-1.160251;-1.311419;0.000000;0.000000;
-1.163070;-1.338207;0.000000;0.000000;
-1.166417;-1.365682;0.000000;0.000000;
-1.169751;-1.394304;0.000000;0.000000;
-1.183755;-1.435982;0.000000;0.000000;
-1.177965;-1.454917;0.000000;0.000000;
-1.187155;-1.492418;0.000000;0.000000;
-0.962795;-1.232527;0.000000;0.000000;
-0.946645;-1.233649;0.000000;0.000000;
-0.929709;-1.233964;0.000000;0.000000;
-0.913673;-1.234706;0.000000;0.000000;
-0.728192;-1.002426;0.000000;0.000000;
-0.717773;-1.006229;0.000000;0.000000;
-0.705428;-1.007607;0.000000;0.000000;
-0.693309;-1.008711;0.000000;0.000000;
-0.682148;-1.011471;0.000000;0.000000;
-0.671739;-1.014818;0.000000;0.000000;
-0.660039;-1.016510;0.000000;0.000000;
-0.649093;-1.018794;0.000000;0.000000;
-0.639552;-1.023632;0.000000;0.000000;
-0.629128;-1.026554;0.000000;0.000000;
-0.617989;-1.028635;0.000000;0.000000;
-0.609597;-1.034791;0.000000;0.000000;
-0.601946;-1.042726;0.000000;0.000000;
-0.585047;-1.033956;0.000000;0.000000;
-0.564754;-1.018959;0.000000;0.000000;
-0.583618;-1.074764;0.000000;0.000000;
-0.592893;-1.115189;0.000000;0.000000;
-0.588328;-1.130021;0.000000;0.000000;
-0.521139;-1.022897;0.000000;0.000000;
-0.506938;-1.016617;0.000000;0.000000;
-0.496636;-1.018352;0.000000;0.000000;
-0.495150;-1.037943;0.000000;0.000000;
-0.532038;-1.141059;0.000000;0.000000;
-0.529638;-1.161987;0.000000;0.000000;
-0.519368;-1.166613;0.000000;0.000000;
-0.507288;-1.166466;0.000000;0.000000;
-0.495026;-1.166293;0.000000;0.000000;
-0.484943;-1.170521;0.000000;0.000000;
-0.473851;-1.172898;0.000000;0.000000;
-0.462612;-1.174152;0.000000;0.000000;
-0.451879;-1.177254;0.000000;0.000000;
-0.439953;-1.176426;0.000000;0.000000;
-0.426481;-1.171803;0.000000;0.000000;
-0.415352;-1.172612;0.000000;0.000000;
-0.405318;-1.177176;0.000000;0.000000;
-0.416728;-1.245113;0.000000;0.000000;
-0.414381;-1.275370;0.000000;0.000000;
-0.402759;-1.276991;0.000000;0.000000;
-0.390603;-1.277625;0.000000;0.000000;
-0.373313;-1.259854;0.000000;0.000000;
-0.348680;-1.215996;0.000000;0.000000;
-0.351298;-1.267208;0.000000;0.000000;
-0.343974;-1.283715;0.000000;0.000000;
-0.325879;-1.260558;0.000000;0.000000;
-0.311119;-1.247798;0.000000;0.000000;
-0.304301;-1.267997;0.000000;0.000000;
-0.274227;-1.187754;0.000000;0.000000;
-0.251624;-1.135453;0.000000;0.000000;
-0.244312;-1.149320;0.000000;0.000000;
-0.234762;-1.154370;0.000000;0.000000;
-0.224602;-1.155371;0.000000;0.000000;
-0.214584;-1.158291;0.000000;0.000000;
-0.204408;-1.159114;0.000000;0.000000;
-0.193846;-1.158900;0.000000;0.000000;
-0.183839;-1.160529;0.000000;0.000000;
-0.173743;-1.163095;0.000000;0.000000;
-0.169964;-1.209113;0.000000;0.000000;
-0.168686;-1.281949;0.000000;0.000000;
-0.159202;-1.296260;0.000000;0.000000;
-0.147649;-1.296620;0.000000;0.000000;
-0.136351;-1.296852;0.000000;0.000000;
-0.124907;-1.298004;0.000000;0.000000;
-0.113614;-1.298037;0.000000;0.000000;
-0.102082;-1.297992;0.000000;0.000000;
-0.090599;-1.294834;0.000000;0.000000;
-0.078808;-1.289594;0.000000;0.000000;
-0.067573;-1.288229;0.000000;0.000000;
-0.056120;-1.286777;0.000000;0.000000;
-0.041764;-1.194270;0.000000;0.000000;
-0.027884;-1.066636;0.000000;0.000000;
-0.004446;-0.253961;0.000000;0.000000;
-0.002215;-0.254990;0.000000;0.000000;
-0.000014;-0.252000;0.000000;0.000000;
0.002226;-0.253990;0.000000;0.000000;
0.004435;-0.254961;0.000000;0.000000;
0.006605;-0.251913;0.000000;0.000000;
0.008778;-0.251847;0.000000;0.000000;
0.011043;-0.252759;0.000000;0.000000;
0.013433;-0.256649;0.000000;0.000000;
0.015757;-0.257518;0.000000;0.000000;
0.017909;-0.256375;0.000000;0.000000;
0.020170;-0.256207;0.000000;0.000000;
0.022293;-0.255028;0.000000;0.000000;
0.024445;-0.253826;0.000000;0.000000;
0.027575;-0.262556;0.000000;0.000000;
0.029097;-0.255348;0.000000;0.000000;
0.112045;-0.913152;0.000000;0.000000;
0.121792;-0.925017;0.000000;0.000000;
0.136723;-0.973445;0.000000;0.000000;
0.149296;-0.998905;0.000000;0.000000;
0.158222;-0.999555;0.000000;0.000000;
0.171324;-1.023764;0.000000;0.000000;
0.191953;-1.089215;0.000000;0.000000;
0.236361;-1.275281;0.000000;0.000000;
0.257718;-1.325172;0.000000;0.000000;
0.198368;-0.975026;0.000000;0.000000;
0.204465;-0.961500;0.000000;0.000000;
0.213836;-0.964582;0.000000;0.000000;
0.223011;-0.965581;0.000000;0.000000;
0.231801;-0.965566;0.000000;0.000000;
0.240793;-0.965424;0.000000;0.000000;
0.252370;-0.975896;0.000000;0.000000;
0.271065;-1.011303;0.000000;0.000000;
0.557171;-0.713151;0.000000;0.000000;
0.550366;-0.691776;0.000000;0.000000;
0.558832;-0.690109;0.000000;0.000000;
0.564261;-0.684382;0.000000;0.000000;
0.569503;-0.678721;0.000000;0.000000;
0.576766;-0.675192;0.000000;0.000000;
0.583883;-0.671700;0.000000;0.000000;
0.589785;-0.666523;0.000000;0.000000;
0.596853;-0.662896;0.000000;0.000000;
0.603352;-0.658343;0.000000;0.000000;
0.609011;-0.653112;0.000000;0.000000;
0.616125;-0.649165;0.000000;0.000000;
0.622398;-0.644544;0.000000;0.000000;
0.628760;-0.639742;0.000000;0.000000;
0.634964;-0.635000;0.000000;0.000000;
0.640540;-0.629375;0.000000;0.000000;
0.647386;-0.625213;0.000000;0.000000;
0.653601;-0.620167;0.000000;0.000000;
0.660390;-0.615868;0.000000;0.000000;
0.667272;-0.611370;0.000000;0.000000;
0.674008;-0.606928;0.000000;0.000000;
0.680085;-0.601622;0.000000;0.000000;
0.686760;-0.597043;0.000000;0.000000;
0.693520;-0.592261;0.000000;0.000000;
0.700137;-0.587541;0.000000;0.000000;
0.708379;-0.583886;0.000000;0.000000;
0.714945;-0.579011;0.000000;0.000000;
0.720025;-0.572682;0.000000;0.000000;
0.728091;-0.568910;0.000000;0.000000;
0.734668;-0.563684;0.000000;0.000000;
0.741102;-0.558527;0.000000;0.000000;
0.748411;-0.553753;0.000000;0.000000;
0.753970;-0.547862;0.000000;0.000000;
0.761216;-0.542932;0.000000;0.000000;
0.769149;-0.538638;0.000000;0.000000;
0.777167;-0.534098;0.000000;0.000000;
0.781746;-0.527372;0.000000;0.000000;
0.786368;-0.520456;0.000000;0.000000;
1.218601;-0.455646;0.000000;0.000000;
1.216934;-0.442828;0.000000;0.000000;
1.219767;-0.431977;0.000000;0.000000;
1.223530;-0.421201;0.000000;0.000000;
1.227119;-0.410628;0.000000;0.000000;
1.231644;-0.400097;0.000000;0.000000;
1.236005;-0.389755;0.000000;0.000000;
1.239394;-0.378837;0.000000;0.000000;
1.243576;-0.368413;0.000000;0.000000;
1.247738;-0.357705;0.000000;0.000000;
1.251742;-0.347192;0.000000;0.000000;
1.255722;-0.336396;0.000000;0.000000;
1.259546;-0.325799;0.000000;0.000000;
1.263341;-0.314918;0.000000;0.000000;
1.266011;-0.304005;0.000000;0.000000;
1.270592;-0.293276;0.000000;0.000000;
1.273076;-0.282302;0.000000;0.000000;
1.276494;-0.271269;0.000000;0.000000;
1.280748;-0.260643;0.000000;0.000000;
1.284960;-0.249718;0.000000;0.000000;
1.288050;-0.238803;0.000000;0.000000;
1.295030;-0.228300;0.000000;0.000000;
1.298925;-0.217447;0.000000;0.000000;
1.302768;-0.206295;0.000000;0.000000;
1.308455;-0.195637;0.000000;0.000000;
1.305179;-0.183392;0.000000;0.000000;
1.582263;0.453607;0.000000;0.000000;
1.583953;0.469250;0.000000;0.000000;
1.576976;0.482024;0.000000;0.000000;
1.572663;0.495915;0.000000;0.000000;
1.566423;0.508849;0.000000;0.000000;
1.559977;0.522011;0.000000;0.000000;
1.551633;0.534150;0.000000;0.000000;
1.542148;0.546147;0.000000;0.000000;
1.532679;0.557724;0.000000;0.000000;
1.524890;0.570170;0.000000;0.000000;
1.519913;0.583307;0.000000;0.000000;
1.512848;0.595958;0.000000;0.000000;
1.507650;0.608990;0.000000;0.000000;
1.502219;0.622265;0.000000;0.000000;
1.495873;0.634813;0.000000;0.000000;
1.491133;0.648382;0.000000;0.000000;
1.484569;0.660818;0.000000;0.000000;
1.480502;0.674716;0.000000;0.000000;
1.473719;0.687044;0.000000;0.000000;
1.468504;0.700446;0.000000;0.000000;
1.464203;0.713968;0.000000;0.000000;
1.457848;0.726856;0.000000;0.000000;
1.450489;0.739233;0.000000;0.000000;
1.447605;0.753568;0.000000;0.000000;
1.442667;0.767247;0.000000;0.000000;
0.939018;1.061195;0.000000;0.000000;
0.919780;1.058116;0.000000;0.000000;
0.908017;1.062972;0.000000;0.000000;
0.895392;1.067109;0.000000;0.000000;
0.882970;1.070938;0.000000;0.000000;
0.871602;1.076353;0.000000;0.000000;
0.861036;1.082269;0.000000;0.000000;
0.852072;1.090609;0.000000;0.000000;
0.843847;1.099508;0.000000;0.000000;
0.837727;1.111700;0.000000;0.000000;
0.826699;1.117438;0.000000;0.000000;
0.792339;1.090552;0.000000;0.000000;
0.765851;1.073887;0.000000;0.000000;
0.784661;1.120594;0.000000;0.000000;
0.700872;1.059093;0.000000;0.000000;
0.029463;0.674357;0.000000;0.000000;
0.023967;0.687582;0.000000;0.000000;
0.018059;0.688763;0.000000;0.000000;
0.012087;0.694895;0.000000;0.000000;
0.006082;0.693973;0.000000;0.000000;
-0.000039;0.691000;0.000000;0.000000;
-0.005993;0.689974;0.000000;0.000000;
-0.012131;0.692894;0.000000;0.000000;
-0.018136;0.693763;0.000000;0.000000;
-0.024290;0.694575;0.000000;0.000000;
-0.030413;0.697337;0.000000;0.000000;
-0.036667;0.699039;0.000000;0.000000;
-0.042698;0.698697;0.000000;0.000000;
-0.048789;0.697295;0.000000;0.000000;
-0.054648;0.694854;0.000000;0.000000;
-0.060600;0.692353;0.000000;0.000000;
-0.066668;0.692800;0.000000;0.000000;
-0.072881;0.693179;0.000000;0.000000;
-0.079199;0.695505;0.000000;0.000000;
-0.085696;0.697757;0.000000;0.000000;
-0.091714;0.696992;0.000000;0.000000;
-0.097997;0.697146;0.000000;0.000000;
-0.104157;0.697263;0.000000;0.000000;
-0.110460;0.697305;0.000000;0.000000;
-0.116637;0.697313;0.000000;0.000000;
-0.122957;0.697241;0.000000;0.000000;
-0.129333;0.698121;0.000000;0.000000;
-0.135677;0.697935;0.000000;0.000000;
-0.141894;0.697718;0.000000;0.000000;
-0.148250;0.697417;0.000000;0.000000;
-0.154479;0.697088;0.000000;0.000000;
-0.161072;0.697647;0.000000;0.000000;
-0.167319;0.697204;0.000000;0.000000;
-0.173946;0.697642;0.000000;0.000000;
-0.180210;0.697083;0.000000;0.000000;
-0.185834;0.693534;0.000000;0.000000;
-0.192346;0.693832;0.000000;0.000000;
-0.199836;0.696915;0.000000;0.000000;
-0.206544;0.697043;0.000000;0.000000;
-0.213136;0.697147;0.000000;0.000000;
-0.219577;0.696194;0.000000;0.000000;
-0.226195;0.696175;0.000000;0.000000;
-0.233279;0.696998;0.000000;0.000000;
-0.239935;0.696850;0.000000;0.000000;
-0.247074;0.697534;0.000000;0.000000;
-0.254110;0.698196;0.000000;0.000000;
-0.261310;0.698737;0.000000;0.000000;
-0.268404;0.699257;0.000000;0.000000;
-0.275295;0.698723;0.000000;0.000000;
-0.282437;0.699103;0.000000;0.000000;
-0.289741;0.699356;0.000000;0.000000;
-0.296937;0.699592;0.000000;0.000000;
-0.303894;0.698779;0.000000;0.000000;
-0.310319;0.697045;0.000000;0.000000;
-0.317285;0.696100;0.000000;0.000000;
-0.324547;0.696055;0.000000;0.000000;
-0.332397;0.696776;0.000000;0.000000;
-0.339712;0.696578;0.000000;0.000000;
-0.348074;0.698029;0.000000;0.000000;
-0.355446;0.697673;0.000000;0.000000;
-0.362971;0.697171;0.000000;0.000000;
-0.370382;0.696662;0.000000;0.000000;
-0.377944;0.696004;0.000000;0.000000;
-0.384905;0.694467;0.000000;0.000000;
-0.392986;0.694526;0.000000;0.000000;
-0.401964;0.696305;0.000000;0.000000;
-0.410628;0.697041;0.000000;0.000000;
-0.419202;0.697757;0.000000;0.000000;
-0.426908;0.696591;0.000000;0.000000;
-0.435023;0.696273;0.000000;0.000000;
-0.442759;0.694939;0.000000;0.000000;
-0.451462;0.695286;0.000000;0.000000;
-0.459785;0.694612;0.000000;0.000000;
-0.469117;0.695594;0.000000;0.000000;
-0.477500;0.694725;0.000000;0.000000;
-0.485771;0.693856;0.000000;0.000000;
-0.494195;0.692800;0.000000;0.000000;
-0.502505;0.691747;0.000000;0.000000;
-0.512156;0.692110;0.000000;0.000000;
-0.516304;0.685269;0.000000;0.000000;
-0.527808;0.687829;0.000000;0.000000;
-0.538648;0.689553;0.000000;0.000000;
-0.547199;0.687905;0.000000;0.000000;
-0.555003;0.685490;0.000000;0.000000;
-0.957309;1.161286;0.000000;0.000000;
-0.951226;1.133830;0.000000;0.000000;
-0.952747;1.115510;0.000000;0.000000;
-0.953809;1.097435;0.000000;0.000000;
-0.956826;1.081490;0.000000;0.000000;
-0.957425;1.063532;0.000000;0.000000;
-0.959337;1.046935;0.000000;0.000000;
-0.961031;1.030388;0.000000;0.000000;
-0.961626;1.013353;0.000000;0.000000;
-0.964275;0.998358;0.000000;0.000000;
-0.965845;0.982867;0.000000;0.000000;
-0.969526;0.969361;0.000000;0.000000;
-0.969296;0.952547;0.000000;0.000000;
-0.967589;0.934236;0.000000;0.000000;
-0.966909;0.917592;0.000000;0.000000;
-0.966920;0.901526;0.000000;0.000000;
-0.967291;0.886393;0.000000;0.000000;
-0.968383;0.871805;0.000000;0.000000;

Due to the real setup having objects in motion, meaning a variable amount of points; I am unable to filter this specific situation.

How do I prevent this from occurring, receiving just a singular full scan at all times?

rostest commented 2 weeks ago

Thank you for your feedback. We will be analysing the behaviour in more detail. Are you using the API on Windows or Linux? Are you using the default settings in the launchfile with full angle range and last echo only? If optional filters are enabled, please post the configuration and the launchfile.

Nigel-BMV commented 2 weeks ago

Are you using the API on Windows or Linux

Windows without ROS

Are you using the default settings in the launchfile with full angle range and last echo only?

The launch file is still in its default state, but I've included it here :

`<?xml version="1.0"?>

`

If optional filters are enabled

There are no optional filters in use, but we are using a distance limiter

Echo Filter = last Echo Distance filter 150-2000mm

rostest commented 2 weeks ago

Thanks for your reply. Unfortunately, I cannot reproduce this error.

Invalid scan points are dropped by default by the rangeFilter settings in the launch file. Depending on the scene, the point cloud dimension (number of valid scan points) may vary when scan points are close to the filter limits. To get constant point cloud dimensions for each measurement, you can disable the rangeFilter in the launch file by setting rangeFilter=0.05,999,0 (rangeFilter off) instead of the default setting rangeFilter=0.05,999,1 (rangeFilter on) in the point cloud configuration for "cloud_unstructured_segments" and "cloud_unstructured_fullframe":

<!-- cloud_unstructured_segments: cartesian coordinates, segmented, all echos, all layers, range filter on, max. 2700 points, mean ca. 1000 points per cloud -->
<param name="cloud_unstructured_segments" type="string" value="coordinateNotation=0 updateMethod=1 echos=0,1,2 layers=1 reflectors=0,1 infringed=0,1 rangeFilter=0.05,999,0 topic=/cloud_unstructured_segments frameid=world publish=1"/>    
<!-- cloud_unstructured_fullframe: cartesian coordinates, fullframe, all echos, all layers, range filter on, max. 32400 points, mean ca. 10000 points per cloud -->
<param name="cloud_unstructured_fullframe" type="string" value="coordinateNotation=0 updateMethod=0 echos=0,1,2 layers=1 reflectors=0,1 infringed=0,1 rangeFilter=0.05,999,0 topic=/cloud_unstructured_fullframe frameid=world publish=1"/>

Please try the following steps:

Please post the pcapng file for our further analysis.