moveit2
The MoveIt Motion Planning Framework for ROS 2.
|
#include "load_test_robot.h"
#include <limits>
#include <ostream>
#include <gtest/gtest.h>
#include <moveit/ompl_interface/detail/state_validity_checker.h>
#include <moveit/ompl_interface/model_based_planning_context.h>
#include <moveit/ompl_interface/parameterization/joint_space/joint_model_state_space.h>
#include <moveit/planning_scene/planning_scene.h>
#include <moveit/utils/logger.hpp>
#include <ompl/geometric/SimpleSetup.h>
Go to the source code of this file.
Classes | |
class | TestStateValidityChecker |
Generic implementation of the tests that can be executed on different robots. More... | |
class | PandaValidity |
class | FanucTest |
Functions | |
rclcpp::Logger | getLogger () |
std::ostream & | operator<< (std::ostream &os, const std::vector< double > &v) |
Pretty print std:vectors. | |
TEST_F (PandaValidity, testConstructor) | |
TEST_F (PandaValidity, testJointLimits) | |
TEST_F (PandaValidity, testSelfCollision) | |
TEST_F (PandaValidity, testPathConstraints) | |
TEST_F (FanucTest, createStateValidityChecker) | |
TEST_F (FanucTest, testJointLimits) | |
TEST_F (FanucTest, testSelfCollision) | |
TEST_F (FanucTest, testPathConstraints) | |
int | main (int argc, char **argv) |
Variables | |
constexpr bool | VERBOSE = false |
This flag sets the verbosity level for the state validity checker. | |
rclcpp::Logger getLogger | ( | ) |
Definition at line 69 of file test_state_validity_checker.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 337 of file test_state_validity_checker.cpp.
std::ostream & operator<< | ( | std::ostream & | os, |
const std::vector< double > & | v | ||
) |
Pretty print std:vectors.
Definition at line 75 of file test_state_validity_checker.cpp.
TEST_F | ( | FanucTest | , |
createStateValidityChecker | |||
) |
Definition at line 310 of file test_state_validity_checker.cpp.
TEST_F | ( | FanucTest | , |
testJointLimits | |||
) |
Definition at line 315 of file test_state_validity_checker.cpp.
TEST_F | ( | FanucTest | , |
testPathConstraints | |||
) |
Definition at line 328 of file test_state_validity_checker.cpp.
TEST_F | ( | FanucTest | , |
testSelfCollision | |||
) |
Definition at line 321 of file test_state_validity_checker.cpp.
TEST_F | ( | PandaValidity | , |
testConstructor | |||
) |
Definition at line 273 of file test_state_validity_checker.cpp.
TEST_F | ( | PandaValidity | , |
testJointLimits | |||
) |
Definition at line 278 of file test_state_validity_checker.cpp.
TEST_F | ( | PandaValidity | , |
testPathConstraints | |||
) |
Definition at line 292 of file test_state_validity_checker.cpp.
TEST_F | ( | PandaValidity | , |
testSelfCollision | |||
) |
Definition at line 285 of file test_state_validity_checker.cpp.
|
constexpr |
This flag sets the verbosity level for the state validity checker.
This test checks the basics of a StateValidityChecker:
It does not yet test:
The test do show what is minimally required to create a working StateValidityChecker.
Definition at line 67 of file test_state_validity_checker.cpp.