moveit2
The MoveIt Motion Planning Framework for ROS 2.
|
#include <gtest/gtest.h>
#include <moveit/distance_field/voxel_grid.h>
#include <moveit/distance_field/propagation_distance_field.h>
#include <moveit/distance_field/find_internal_points.h>
#include <geometric_shapes/body_operations.h>
#include <tf2_eigen/tf2_eigen.hpp>
#include <octomap/octomap.h>
#include <memory>
Go to the source code of this file.
Functions | |
int | dist_sq (int x, int y, int z) |
void | print (PropagationDistanceField &pdf, int numX, int numY, int numZ) |
void | printNeg (PropagationDistanceField &pdf, int numX, int numY, int numZ) |
void | printPointCoords (const Eigen::Vector3i &p) |
void | printBoth (PropagationDistanceField &pdf, int numX, int numY, int numZ) |
bool | areDistanceFieldsDistancesEqual (const PropagationDistanceField &df1, const PropagationDistanceField &df2) |
bool | checkOctomapVersusDistanceField (const PropagationDistanceField &df, const octomap::OcTree &octree) |
unsigned int | countOccupiedCells (const PropagationDistanceField &df) |
unsigned int | countLeafNodes (const octomap::OcTree &octree) |
void | check_distance_field (const PropagationDistanceField &df, const EigenSTL::vector_Vector3d &points, int numX, int numY, int numZ, bool do_negs) |
TEST (TestPropagationDistanceField, TestAddRemovePoints) | |
TEST (TestSignedPropagationDistanceField, TestSignedAddRemovePoints) | |
TEST (TestSignedPropagationDistanceField, TestShape) | |
TEST (TestSignedPropagationDistanceField, TestPerformance) | |
TEST (TestSignedPropagationDistanceField, TestOcTree) | |
TEST (TestSignedPropagationDistanceField, TestReadWrite) | |
int | main (int argc, char **argv) |
bool areDistanceFieldsDistancesEqual | ( | const PropagationDistanceField & | df1, |
const PropagationDistanceField & | df2 | ||
) |
void check_distance_field | ( | const PropagationDistanceField & | df, |
const EigenSTL::vector_Vector3d & | points, | ||
int | numX, | ||
int | numY, | ||
int | numZ, | ||
bool | do_negs | ||
) |
bool checkOctomapVersusDistanceField | ( | const PropagationDistanceField & | df, |
const octomap::OcTree & | octree | ||
) |
unsigned int countLeafNodes | ( | const octomap::OcTree & | octree | ) |
Definition at line 271 of file test_distance_field.cpp.
unsigned int countOccupiedCells | ( | const PropagationDistanceField & | df | ) |
int dist_sq | ( | int | x, |
int | y, | ||
int | z | ||
) |
Definition at line 62 of file test_distance_field.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 976 of file test_distance_field.cpp.
void print | ( | PropagationDistanceField & | pdf, |
int | numX, | ||
int | numY, | ||
int | numZ | ||
) |
Definition at line 67 of file test_distance_field.cpp.
void printBoth | ( | PropagationDistanceField & | pdf, |
int | numX, | ||
int | numY, | ||
int | numZ | ||
) |
void printNeg | ( | PropagationDistanceField & | pdf, |
int | numX, | ||
int | numY, | ||
int | numZ | ||
) |
void printPointCoords | ( | const Eigen::Vector3i & | p | ) |
TEST | ( | TestPropagationDistanceField | , |
TestAddRemovePoints | |||
) |
Definition at line 327 of file test_distance_field.cpp.
TEST | ( | TestSignedPropagationDistanceField | , |
TestOcTree | |||
) |
Definition at line 831 of file test_distance_field.cpp.
TEST | ( | TestSignedPropagationDistanceField | , |
TestPerformance | |||
) |
Definition at line 658 of file test_distance_field.cpp.
TEST | ( | TestSignedPropagationDistanceField | , |
TestReadWrite | |||
) |
Definition at line 928 of file test_distance_field.cpp.
TEST | ( | TestSignedPropagationDistanceField | , |
TestShape | |||
) |
Definition at line 598 of file test_distance_field.cpp.
TEST | ( | TestSignedPropagationDistanceField | , |
TestSignedAddRemovePoints | |||
) |
Definition at line 429 of file test_distance_field.cpp.