PointCloudLibrary/pcl

[PCL] Use C++11 random generators, not `rand`

Open

#3,781 opened on 2020年3月23日

GitHub で見る
 (7 comments) (0 reactions) (0 assignees)C++ (4,506 forks)batch import
effort: mediumgood first issuekind: todo

Repository metrics

Stars
 (9,023 stars)
PR merge metrics
 (平均マージ 8d 7h) (30d で 3 merged PRs)

説明

Context

rand has several issues, which C++11 random generators don't. New PR often see the rand usage and try to emulate the wrong behavior.

Expected behavior

Remove all rand so when people search for how PCL did its random num generation, they get good quality results

Additional context

Usage of old-fashioned rand discovered by codacity (or maybe try grep)

コントリビューターガイド