Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
change_joint_origin_command.h
Go to the documentation of this file.
1
26#ifndef TESSERACT_ENVIRONMENT_CHANGE_JOINT_ORIGIN_COMMAND_H
27#define TESSERACT_ENVIRONMENT_CHANGE_JOINT_ORIGIN_COMMAND_H
28
31#include <boost/serialization/access.hpp>
32#include <memory>
33#include <Eigen/Geometry>
35
37
39{
41{
42public:
43 // LCOV_EXCL_START
44 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
45 // LCOV_EXCL_STOP
46
47 using Ptr = std::shared_ptr<ChangeJointOriginCommand>;
48 using ConstPtr = std::shared_ptr<const ChangeJointOriginCommand>;
49
51
60 ChangeJointOriginCommand(std::string joint_name, const Eigen::Isometry3d& origin);
61
62 const std::string& getJointName() const;
63 const Eigen::Isometry3d& getOrigin() const;
64
65 bool operator==(const ChangeJointOriginCommand& rhs) const;
66 bool operator!=(const ChangeJointOriginCommand& rhs) const;
67
68private:
69 std::string joint_name_;
70 Eigen::Isometry3d origin_;
71
73 template <class Archive>
74 void serialize(Archive& ar, const unsigned int version); // NOLINT
75};
76} // namespace tesseract_environment
77
78#include <boost/serialization/export.hpp>
79#include <boost/serialization/tracking.hpp>
80BOOST_CLASS_EXPORT_KEY2(tesseract_environment::ChangeJointOriginCommand, "ChangeJointOriginCommand")
81#endif // TESSERACT_ENVIRONMENT_CHANGE_JOINT_ORIGIN_COMMAND_H
Definition: change_joint_origin_command.h:41
std::string joint_name_
Definition: change_joint_origin_command.h:69
std::shared_ptr< const ChangeJointOriginCommand > ConstPtr
Definition: change_joint_origin_command.h:48
std::shared_ptr< ChangeJointOriginCommand > Ptr
Definition: change_joint_origin_command.h:47
ChangeJointOriginCommand()
Definition: change_joint_origin_command.cpp:41
const Eigen::Isometry3d & getOrigin() const
Definition: change_joint_origin_command.cpp:49
bool operator==(const ChangeJointOriginCommand &rhs) const
Definition: change_joint_origin_command.cpp:51
Eigen::Isometry3d origin_
Definition: change_joint_origin_command.h:70
friend class boost::serialization::access
Definition: change_joint_origin_command.h:72
bool operator!=(const ChangeJointOriginCommand &rhs) const
Definition: change_joint_origin_command.cpp:59
void serialize(Archive &ar, const unsigned int version)
Definition: change_joint_origin_command.cpp:62
const std::string & getJointName() const
Definition: change_joint_origin_command.cpp:48
Definition: command.h:76
This contains classes for recording operations applied to the environment for tracking changes....
Common Tesseract Macros.
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
Definition: macros.h:71
Definition: create_convex_hull.cpp:36
Definition: command.h:39
joint_1 mimic joint_name
Definition: tesseract_scene_graph_joint_unit.cpp:163