Go to the documentation of this file.
9 #include <SpaceVecAlg/SpaceVecAlg>
35 Device(
const std::string & name);
38 Device(
const std::string & name,
const std::string & parent,
const sva::PTransformd & X_p_s);
46 virtual ~
Device() noexcept =
default;
49 inline const std::string &
name()
const {
return name_; }
52 inline const std::string &
type()
const {
return type_; }
55 inline const std::string &
parent()
const {
return parent_; }
58 inline void parent(
const std::string & p) { parent_ = p; }
61 inline const sva::PTransformd &
X_p_d()
const {
return X_p_s_; }
64 inline const sva::PTransformd &
X_p_s()
const {
return X_p_s_; }
67 inline void X_p_d(
const sva::PTransformd & pt) { X_p_s_ = pt; }
70 inline void X_p_s(
const sva::PTransformd & pt) { X_p_s_ = pt; }
std::string parent_
Definition: Device.h:87
const std::string & type() const
Definition: Device.h:52
const sva::PTransformd & X_p_s() const
Definition: Device.h:64
void X_p_s(const sva::PTransformd &pt)
Definition: Device.h:70
DevicePtr SensorPtr
Definition: Device.h:22
std::string name_
Definition: Device.h:85
sva::PTransformd X_0_d(const mc_rbdyn::Robot &robot) const
Definition: Device.h:73
const std::string & name() const
Definition: Device.h:49
#define MC_RBDYN_DLLAPI
Definition: api.h:50
std::string type_
Definition: Device.h:83
const std::string & parent() const
Definition: Device.h:55
std::unique_ptr< Device > DevicePtr
Definition: Device.h:20
const sva::PTransformd & X_p_d() const
Definition: Device.h:61
Definition: generic_gripper.h:14
auto Robot(const std::string &name, GetT get_fn)
Definition: Robot.h:56
sva::PTransformd X_p_s_
Definition: Device.h:89
void X_p_d(const sva::PTransformd &pt)
Definition: Device.h:67
void parent(const std::string &p)
Definition: Device.h:58