Tesseract
Motion Planning Environment
|
Tests serialization of tesseract_scene_graph. More...
#include <tesseract_common/macros.h>
#include <gtest/gtest.h>
#include <boost/serialization/shared_ptr.hpp>
#include <tesseract_common/serialization.h>
#include <tesseract_common/unit_test_utils.h>
#include <tesseract_common/utils.h>
#include <tesseract_geometry/geometries.h>
#include <tesseract_scene_graph/graph.h>
#include <tesseract_scene_graph/joint.h>
#include <tesseract_scene_graph/link.h>
#include <tesseract_scene_graph/scene_state.h>
Functions | |
object parent_to_joint_origin_transform | translate (Eigen::Vector3d(5.5, 6.6, 7.7)) |
object origin | translate (Eigen::Vector3d(5.6, 7.8, -1.7)) |
object visual | push_back (std::make_shared< Visual >()) |
object visual | push_back (vis) |
object collision | push_back (std::make_shared< Collision >()) |
object collision | push_back (col) |
tesseract_scene_graph::SceneGraph | createTestSceneGraph () |
object link_transforms["link_transforms_key"] | setIdentity () |
object link_transforms["link_transforms_key"] | translate (Eigen::Vector3d(1, 2, 3)) |
object joint_transforms["joint_transforms_key"] | translate (Eigen::Vector3d(5, 6, 7)) |
int | main (int argc, char **argv) |
Variables | |
tesseract_common::testSerialization< JointDynamics > * | object |
object | type = JointType::PLANAR |
object | axis = Eigen::Vector3d(1.1, 2.2, 3.3) |
object | child_link_name = "child_name" |
object | parent_link_name = "parent_name" |
object | dynamics = std::make_shared<JointDynamics>(1.1, 2.2) |
object | limits = std::make_shared<JointLimits>(1.1, 2.2, 3.3, 4.4, 5.5) |
object | safety = std::make_shared<JointSafety>(1.1, 2.2, 3.3, 4.4) |
object | calibration = std::make_shared<JointCalibration>(1.1, 2.2, 3.3) |
object | mimic = std::make_shared<JointMimic>(1.1, 2.2, "mimic_name") |
object | color = Eigen::Vector4d(0.1, 0.2, 0.3, 1.0) |
object | texture_filename = "test_filename" |
object | mass = 1.2 |
object | ixx = 2.3 |
object | ixy = 3.4 |
object | ixz = 4.5 |
object | iyy = 5.6 |
object | iyz = 6.7 |
object | izz = 7.8 |
object | geometry = std::make_shared<tesseract_geometry::Cone>(1.1, 2.2) |
object | material = std::make_shared<Material>("test_name") |
object | name = "visual_name" |
object | inertial = std::make_shared<Inertial>() |
auto | vis = std::make_shared<Visual>() |
auto | col = std::make_shared<Collision>() |
object | joints ["j_1"] = 12.3 |
Tests serialization of tesseract_scene_graph.
tesseract_scene_graph::SceneGraph createTestSceneGraph | ( | ) |
int main | ( | int | argc, |
char ** | argv | ||
) |
object link_transforms["link_transforms_key"] setIdentity | ( | ) |
object link_transforms["link_transforms_key"] translate | ( | Eigen::Vector3d(1, 2, 3) | ) |
object joint_transforms["joint_transforms_key"] translate | ( | Eigen::Vector3d(5, 6, 7) | ) |
vis origin translate | ( | Eigen::Vector3d(5.5, 6.6, 7.7) | ) |
col origin translate | ( | Eigen::Vector3d(5.6, 7.8, -1.7) | ) |
object axis = Eigen::Vector3d(1.1, 2.2, 3.3) |
object calibration = std::make_shared<JointCalibration>(1.1, 2.2, 3.3) |
joint_tool0 child_link_name = "child_name" |
object color = Eigen::Vector4d(0.1, 0.2, 0.3, 1.0) |
object dynamics = std::make_shared<JointDynamics>(1.1, 2.2) |
col geometry = std::make_shared<tesseract_geometry::Cone>(1.1, 2.2) |
object ixx = 2.3 |
object ixy = 3.4 |
object ixz = 4.5 |
object iyy = 5.6 |
object iyz = 6.7 |
object izz = 7.8 |
object joints = 12.3 |
object limits = std::make_shared<JointLimits>(1.1, 2.2, 3.3, 4.4, 5.5) |
object mass = 1.2 |
object mimic = std::make_shared<JointMimic>(1.1, 2.2, "mimic_name") |
col name = "visual_name" |
joint_tool0 parent_link_name = "parent_name" |
object safety = std::make_shared<JointSafety>(1.1, 2.2, 3.3, 4.4) |
object texture_filename = "test_filename" |
object type = JointType::PLANAR |