pcod-common v1.0.0
Shared preprocessing and postprocessing for point-cloud object detection
Loading...
Searching...
No Matches
main.cpp File Reference

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )

Verify the installed CMake package can be consumed by a downstream target.

Definition at line 7 of file main.cpp.

7 {
8 const auto grid = pcod_common::BuildPillarGrid({2, 2}, {{{0.0f, 2.0f}, {0.0f, 2.0f}, {0.0f, 1.0f}}}, 1, 1);
9 return grid.centers.size() == 12 ? 0 : 1;
10}
PillarGrid BuildPillarGrid(const std::array< int, 2 > &pillar_map_size, const std::array< std::array< float, 2 >, 3 > &pillar_map_range, int first_up_stride, int stride)
std::vector< float > centers
Flat center array with shape [num_pillars, 3].

References pcod_common::BuildPillarGrid(), and pcod_common::PillarGrid::centers.