[tests] One test failing on OpenBSD
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- computer-vision, testing-qa
Research direction
Reproduce the filters_sampling failure on OpenBSD using the reported test command and inspect test/filters/test_sampling.cpp around lines 174-176 and 240-242. Trace the RandomSample test and its input point-cloud data to determine why the sampled coordinates differ on this platform. Done means the test passes on OpenBSD while preserving the existing sampling checks on other platforms.
Written by the indexing model from the issue text.
Description
I have a finished port of pcl on OpenBSD and all tests are passing except the following one (apologies for the long code-block, for some reason the <details> block wasn't working):
67/131 Testing: filters_sampling
67/131 Test: filters_sampling
Command: "/usr/ports/pobj/pcl-1.14.1/build-amd64/test/filters/test_filters_sampling" "/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/sac_plane_test.pcd" "/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/cturtle.pcd"
Directory: /usr/ports/pobj/pcl-1.14.1/build-amd64/test/filters
"filters_sampling" start time: Nov 23 15:05 CET
Output:
----------------------------------------------------------
[==========] Running 3 tests from 3 test suites.
[----------] Global test environment set-up.
[----------] 1 test from CovarianceSampling
[ RUN ] CovarianceSampling.Filters
[ OK ] CovarianceSampling.Filters (467 ms)
[----------] 1 test from CovarianceSampling (468 ms total)
[----------] 1 test from NormalSpaceSampling
[ RUN ] NormalSpaceSampling.Filters
[ OK ] NormalSpaceSampling.Filters (0 ms)
[----------] 1 test from NormalSpaceSampling (0 ms total)
[----------] 1 test from RandomSample
[ RUN ] RandomSample.Filters
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:174: Failure
The difference between (*cloud_walls)[indices[i]].x and cloud_out[i].x is 0.13532000780105591, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].x evaluates to 0.746940016746521,
cloud_out[i].x evaluates to 0.8822600245475769, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:175: Failure
The difference between (*cloud_walls)[indices[i]].y and cloud_out[i].y is 0.035482000559568405, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].y evaluates to 0.061050001531839371,
cloud_out[i].y evaluates to 0.096532002091407776, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:176: Failure
The difference between (*cloud_walls)[indices[i]].z and cloud_out[i].z is 0.093139998614788055, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].z evaluates to 0.21504999697208405,
cloud_out[i].z evaluates to 0.12190999835729599, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:174: Failure
The difference between (*cloud_walls)[indices[i]].x and cloud_out[i].x is 0.16710007190704346, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].x evaluates to 1.169700026512146,
cloud_out[i].x evaluates to 1.0025999546051025, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:175: Failure
The difference between (*cloud_walls)[indices[i]].y and cloud_out[i].y is 0.11173499748110771, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].y evaluates to -0.07779499888420105,
cloud_out[i].y evaluates to 0.033939998596906662, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:176: Failure
The difference between (*cloud_walls)[indices[i]].z and cloud_out[i].z is 0.06676039844751358, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].z evaluates to -0.0049254000186920166,
cloud_out[i].z evaluates to 0.061834998428821564, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:174: Failure
The difference between (*cloud_walls)[indices[i]].x and cloud_out[i].x is 0.52496999502182007, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].x evaluates to 1.2644000053405762,
cloud_out[i].x evaluates to 0.7394300103187561, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:175: Failure
The difference between (*cloud_walls)[indices[i]].y and cloud_out[i].y is 0.53175699710845947, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].y evaluates to -0.46367999911308289,
cloud_out[i].y evaluates to 0.068076997995376587, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:176: Failure
The difference between (*cloud_walls)[indices[i]].z and cloud_out[i].z is 0.085060000419616699, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].z evaluates to 0.12296999990940094,
cloud_out[i].z evaluates to 0.20803000032901764, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:174: Failure
The difference between (*cloud_walls)[indices[i]].x and cloud_out[i].x is 0.41408997774124146, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].x evaluates to 0.97210997343063354,
cloud_out[i].x evaluates to 1.386199951171875, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:175: Failure
The difference between (*cloud_walls)[indices[i]].y and cloud_out[i].y is 0.30687500536441803, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].y evaluates to -0.075084999203681946,
cloud_out[i].y evaluates to -0.38196000456809998, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:176: Failure
The difference between (*cloud_walls)[indices[i]].z and cloud_out[i].z is 0.14896999672055244, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].z evaluates to 0.13686999678611755,
cloud_out[i].z evaluates to -0.012099999934434891, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:174: Failure
The difference between (*cloud_walls)[indices[i]].x and cloud_out[i].x is 0.015799999237060547, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].x evaluates to 1.117400050163269,
cloud_out[i].x evaluates to 1.1332000494003296, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:175: Failure
The difference between (*cloud_walls)[indices[i]].y and cloud_out[i].y is 0.58767998218536377, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].y evaluates to 0.20919999480247498,
cloud_out[i].y evaluates to -0.37847998738288879, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:176: Failure
The difference between (*cloud_walls)[indices[i]].z and cloud_out[i].z is 0.27554000169038773, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].z evaluates to -0.10115999728441238,
cloud_out[i].z evaluates to 0.17438000440597534, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:174: Failure
The difference between (*cloud_walls)[indices[i]].x and cloud_out[i].x is 0.17079997062683105, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].x evaluates to 1.2455999851226807,
cloud_out[i].x evaluates to 1.4163999557495117, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:175: Failure
The difference between (*cloud_walls)[indices[i]].y and cloud_out[i].y is 0.49975098669528961, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].y evaluates to 0.059230998158454895,
cloud_out[i].y evaluates to -0.44051998853683472, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:176: Failure
The difference between (*cloud_walls)[indices[i]].z and cloud_out[i].z is 0.23713169433176517, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].z evaluates to -0.24710999429225922,
cloud_out[i].z evaluates to -0.0099782999604940414, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:174: Failure
The difference between (*cloud_walls)[indices[i]].x and cloud_out[i].x is 0.083500027656555176, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].x evaluates to 1.3276000022888184,
cloud_out[i].x evaluates to 1.4111000299453735, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:175: Failure
The difference between (*cloud_walls)[indices[i]].y and cloud_out[i].y is 0.37752000987529755, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].y evaluates to -0.14044000208377838,
cloud_out[i].y evaluates to -0.51796001195907593, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:176: Failure
The difference between (*cloud_walls)[indices[i]].z and cloud_out[i].z is 0.12269199639558792, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].z evaluates to -0.091027997434139252,
cloud_out[i].z evaluates to 0.031663998961448669, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:174: Failure
The difference between (*cloud_walls)[indices[i]].x and cloud_out[i].x is 0.477649986743927, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].x evaluates to 1.2958999872207642,
cloud_out[i].x evaluates to 0.81825000047683716, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:175: Failure
The difference between (*cloud_walls)[indices[i]].y and cloud_out[i].y is 0.021604999899864197, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].y evaluates to -0.098802000284194946,
cloud_out[i].y evaluates to -0.07719700038433075, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:176: Failure
The difference between (*cloud_walls)[indices[i]].z and cloud_out[i].z is 0.42886999249458313, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].z evaluates to -0.17535999417304993,
cloud_out[i].z evaluates to 0.2535099983215332, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:174: Failure
The difference between (*cloud_walls)[indices[i]].x and cloud_out[i].x is 0.04440009593963623, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].x evaluates to 1.3631000518798828,
cloud_out[i].x evaluates to 1.3186999559402466, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:175: Failure
The difference between (*cloud_walls)[indices[i]].y and cloud_out[i].y is 0.071829989552497864, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].y evaluates to -0.24099999666213989,
cloud_out[i].y evaluates to -0.16917000710964203, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:176: Failure
The difference between (*cloud_walls)[indices[i]].z and cloud_out[i].z is 0.054789997637271881, which exceeds 1e-4, where
(*cloud_walls)[indices[i]].z evaluates to -0.084090001881122589,
cloud_out[i].z evaluates to -0.13887999951839447, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:240: Failure
The difference between (*cloud_walls)[indices2[i]].x and cloud_out[i].x is 0.2284199595451355, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].x evaluates to 0.90428000688552856,
cloud_out[i].x evaluates to 1.1326999664306641, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:241: Failure
The difference between (*cloud_walls)[indices2[i]].y and cloud_out[i].y is 0.13600100018084049, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].y evaluates to 0.11766000092029572,
cloud_out[i].y evaluates to -0.018340999260544777, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:242: Failure
The difference between (*cloud_walls)[indices2[i]].z and cloud_out[i].z is 0.10837760381400585, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].z evaluates to 0.1030300036072731,
cloud_out[i].z evaluates to -0.0053476002067327499, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:240: Failure
The difference between (*cloud_walls)[indices2[i]].x and cloud_out[i].x is 0.28091001510620117, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].x evaluates to 1.0195000171661377,
cloud_out[i].x evaluates to 0.73859000205993652, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:241: Failure
The difference between (*cloud_walls)[indices2[i]].y and cloud_out[i].y is 0.27792400773614645, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].y evaluates to -0.011963999830186367,
cloud_out[i].y evaluates to 0.26596000790596008, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:242: Failure
The difference between (*cloud_walls)[indices2[i]].z and cloud_out[i].z is 0.06136699765920639, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].z evaluates to 0.077432997524738312,
cloud_out[i].z evaluates to 0.1387999951839447, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:240: Failure
The difference between (*cloud_walls)[indices2[i]].x and cloud_out[i].x is 0.13488996028900146, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].x evaluates to 1.0673999786376953,
cloud_out[i].x evaluates to 0.93251001834869385, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:241: Failure
The difference between (*cloud_walls)[indices2[i]].y and cloud_out[i].y is 0.38509999215602875, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].y evaluates to -0.26350998878479004,
cloud_out[i].y evaluates to 0.12159000337123871, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:242: Failure
The difference between (*cloud_walls)[indices2[i]].z and cloud_out[i].z is 0.090688005089759827, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].z evaluates to 0.16467000544071198,
cloud_out[i].z evaluates to 0.073982000350952148, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:240: Failure
The difference between (*cloud_walls)[indices2[i]].x and cloud_out[i].x is 0.1417999267578125, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].x evaluates to 1.1528999805450439,
cloud_out[i].x evaluates to 1.0111000537872314, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:241: Failure
The difference between (*cloud_walls)[indices2[i]].y and cloud_out[i].y is 0.25688101164996624, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].y evaluates to -0.27755001187324524,
cloud_out[i].y evaluates to -0.020669000223278999, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:242: Failure
The difference between (*cloud_walls)[indices2[i]].z and cloud_out[i].z is 0.025024004280567169, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].z evaluates to 0.11364000290632248,
cloud_out[i].z evaluates to 0.08861599862575531, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:240: Failure
The difference between (*cloud_walls)[indices2[i]].x and cloud_out[i].x is 0.47460001707077026, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].x evaluates to 1.1964000463485718,
cloud_out[i].x evaluates to 0.72180002927780151, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:241: Failure
The difference between (*cloud_walls)[indices2[i]].y and cloud_out[i].y is 0.37826000154018402, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].y evaluates to -0.23783999681472778,
cloud_out[i].y evaluates to 0.14042000472545624, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:242: Failure
The difference between (*cloud_walls)[indices2[i]].z and cloud_out[i].z is 0.16248800233006477, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].z evaluates to 0.055461999028921127,
cloud_out[i].z evaluates to 0.2179500013589859, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:240: Failure
The difference between (*cloud_walls)[indices2[i]].x and cloud_out[i].x is 0.094720005989074707, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].x evaluates to 0.87834000587463379,
cloud_out[i].x evaluates to 0.9730600118637085, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:241: Failure
The difference between (*cloud_walls)[indices2[i]].y and cloud_out[i].y is 0.11180000007152557, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].y evaluates to -0.21128000319004059,
cloud_out[i].y evaluates to -0.099480003118515015, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:242: Failure
The difference between (*cloud_walls)[indices2[i]].z and cloud_out[i].z is 0.1198900043964386, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].z evaluates to 0.27511000633239746,
cloud_out[i].z evaluates to 0.15522000193595886, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:240: Failure
The difference between (*cloud_walls)[indices2[i]].x and cloud_out[i].x is 0.036999940872192383, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].x evaluates to 1.086899995803833,
cloud_out[i].x evaluates to 1.0499000549316406, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:241: Failure
The difference between (*cloud_walls)[indices2[i]].y and cloud_out[i].y is 0.61370998620986938, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].y evaluates to 0.35444998741149902,
cloud_out[i].y evaluates to -0.25925999879837036, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:242: Failure
The difference between (*cloud_walls)[indices2[i]].z and cloud_out[i].z is 0.30862000584602356, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].z evaluates to -0.13671000301837921,
cloud_out[i].z evaluates to 0.17191000282764435, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:240: Failure
The difference between (*cloud_walls)[indices2[i]].x and cloud_out[i].x is 0.13580000400543213, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].x evaluates to 1.1421999931335449,
cloud_out[i].x evaluates to 1.2779999971389771, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:241: Failure
The difference between (*cloud_walls)[indices2[i]].y and cloud_out[i].y is 0.21322400495409966, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].y evaluates to 0.17111000418663025,
cloud_out[i].y evaluates to -0.042114000767469406, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:242: Failure
The difference between (*cloud_walls)[indices2[i]].z and cloud_out[i].z is 0.098091006278991699, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].z evaluates to -0.099188998341560364,
cloud_out[i].z evaluates to -0.19728000462055206, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:240: Failure
The difference between (*cloud_walls)[indices2[i]].x and cloud_out[i].x is 0.1128000020980835, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].x evaluates to 1.3722000122070312,
cloud_out[i].x evaluates to 1.2594000101089478, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:241: Failure
The difference between (*cloud_walls)[indices2[i]].y and cloud_out[i].y is 0.31408799439668655, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].y evaluates to -0.33634999394416809,
cloud_out[i].y evaluates to -0.022261999547481537, and
1e-4 evaluates to 0.0001.
/usr/ports/pobj/pcl-1.14.1/pcl-pcl-1.14.1/test/filters/test_sampling.cpp:242: Failure
The difference between (*cloud_walls)[indices2[i]].z and cloud_out[i].z is 0.2145290020853281, which exceeds 1e-4, where
(*cloud_walls)[indices2[i]].z evaluates to -0.023381000384688377,
cloud_out[i].z evaluates to -0.23791000247001648, and
1e-4 evaluates to 0.0001.
[ FAILED ] RandomSample.Filters (6 ms)
[----------] 1 test from RandomSample (6 ms total)
[----------] Global test environment tear-down
[==========] 3 tests from 3 test suites ran. (475 ms total)
[ PASSED ] 2 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] RandomSample.Filters
1 FAILED TEST
<end of output>
Test time = 1.02 sec
----------------------------------------------------------
Test Failed.
"filters_sampling" end time: Nov 23 15:05 CET
"filters_sampling" time elapsed: 00:00:01
----------------------------------------------------------
Any clues? I'm compiling pcl version 1.14.1
- Dominant language
- C++
- Stars
- 11.2k
- Forks
- 4.7k
- Avg merge
- 6d 13h
- Merged PRs (30d)
- 10
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PointCloudLibrary/pcl
-
kind: bug status: triage
Difficulty 1/5 Under an hour Newbie friendliness 82/100
PointCloudLibrary/pcl#6536 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
PointCloudLibrary/pcl#6509 · 1 comment ·
Maintainers usually reply within 3 days
-
kind: bug status: triage
Difficulty 4/5 3-5 days Newbie friendliness 48/100
PointCloudLibrary/pcl#6537 ·
Maintainers usually reply within 3 days
-
[cmake] QHULL/FLANN dll missing when linking single modulePossibly taken @SIDDARTHAREDDY8 claimed this 5 days ago. Openkind: bug module: cmake
Difficulty 3/5 Half a day Newbie friendliness 50/100
PointCloudLibrary/pcl#6522 · 1 comment ·
Maintainers usually reply within 3 days
-
kind: bug status: triage
Difficulty 4/5 3-5 days Newbie friendliness 35/100
PointCloudLibrary/pcl#6395 ·
Maintainers usually reply within 3 days
All issues in PointCloudLibrary/pcl
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
nextcloud/passman-android#214 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
feature wsl2
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
microsoft/WSL#42306 · 3 comments ·
Maintainers usually reply within 1 day
-
2026.11.0 fails to install on Intel macOS: requirements.txt pins cryptography==50.0.2 for Darwin x86_64May be free again A pull request for this issue was closed without being merged. Open
Difficulty 1/5 Under an hour Newbie friendliness 87/100
esphome/esphome#22892 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
distante/esphome-components#50 · 1 comment ·
Maintainers usually reply within 1 day