Tesseract
Motion Planning Environment
|
#include <tesseract_common/macros.h>
#include <gtest/gtest.h>
#include <algorithm>
#include <vector>
#include <tesseract_urdf/urdf_parser.h>
#include <tesseract_common/resource_locator.h>
#include <tesseract_geometry/impl/box.h>
#include <tesseract_common/utils.h>
#include <tesseract_environment/commands.h>
#include <tesseract_environment/environment.h>
#include <tesseract_support/tesseract_support_resource_locator.h>
Functions | |
SceneGraph::UPtr | getSceneGraph () |
SRDFModel::Ptr | getSRDFModel (const SceneGraph &scene_graph) |
tesseract_environment::Environment::UPtr | getEnvironment () |
manager | setActiveCollisionObjects (active_links) |
manager | contactTest (collision, mCollisionCheckConfig.contact_request) |
EXPECT_FALSE (collision.empty()) | |
pose | translation () = Eigen::Vector3d(0, -2, 1.5) |
manager | setCollisionObjectsTransform ("link_n1", pose) |
manager | setCollisionMarginData (mCollisionCheckConfig.contact_manager_config.margin_data) |
manager | setCollisionObjectsTransform ("link_n1", pose1, pose2) |
env | clearCachedDiscreteContactManager () |
env | clearCachedContinuousContactManager () |
int | main (int argc, char **argv) |
Variables | |
CollisionCheckConfig | mCollisionCheckConfig |
mCollisionCheckConfig | longest_valid_segment_length = 0.1 |
mCollisionCheckConfig contact_request | type = tesseract_collision::ContactTestType::FIRST |
tesseract_collision::CollisionMarginData | margin_data (0.0) = margin_data |
DiscreteContactManager::Ptr | manager = env->getDiscreteContactManager() |
std::vector< std::string > | active_links = { "link_n1" } |
auto | pose = Eigen::Isometry3d::Identity() |
tesseract_collision::ContactResultMap | collision |
auto | pose1 = Eigen::Isometry3d::Identity() |
auto | pose2 = Eigen::Isometry3d::Identity() |
env clearCachedContinuousContactManager | ( | ) |
env clearCachedDiscreteContactManager | ( | ) |
EXPECT_FALSE | ( | collision. | empty() | ) |
tesseract_environment::Environment::UPtr getEnvironment | ( | ) |
SceneGraph::UPtr getSceneGraph | ( | ) |
SRDFModel::Ptr getSRDFModel | ( | const SceneGraph & | scene_graph | ) |
int main | ( | int | argc, |
char ** | argv | ||
) |
manager setActiveCollisionObjects | ( | active_links | ) |
manager setCollisionMarginData | ( | mCollisionCheckConfig.contact_manager_config. | margin_data | ) |
tcp_welder translation | ( | ) | = Eigen::Vector3d(0, -2, 1.5) |
std::vector< std::string > active_links = { "link_n1" } |
tesseract_collision::ContactResultMap collision |
default_config longest_valid_segment_length = 0.1 |
ContinuousContactManager::Ptr manager = env->getDiscreteContactManager() |
tesseract_common::CollisionMarginData::Ptr margin_data | ( | 0. | 0 | ) | = margin_data |
CollisionCheckConfig mCollisionCheckConfig |
auto pose = Eigen::Isometry3d::Identity() |
auto pose1 = Eigen::Isometry3d::Identity() |
auto pose2 = Eigen::Isometry3d::Identity() |