Go to the documentation of this file.
26 template<
typename GetT,
typename SetT>
35 ArrayInputImpl(
const std::string &
name,
const std::vector<std::string> & labels, GetT get_fn, SetT set_fn)
45 writer.
write(labels_);
52 std::vector<std::string> labels_;
58 template<
typename GetT,
typename SetT>
59 auto ArrayInput(
const std::string & name, GetT get_fn, SetT set_fn)
65 template<
typename GetT,
typename SetT>
66 auto ArrayInput(
const std::string & name,
const std::vector<std::string> & labels, GetT get_fn, SetT set_fn)
73 auto ArrayInput(
const std::string & name,
const std::vector<std::string> & labels, T & value)
96 template<
bool Degrees = true,
typename T>
97 auto RPYInput(
const std::string & name, T & value)
100 [&value](
const Eigen::Vector3d & rpy)
static constexpr size_t write_size()
Definition: elements.h:106
Definition: MessagePackBuilder.h:86
auto ArrayInput(const std::string &name, GetT get_fn, SetT set_fn)
Definition: ArrayInput.h:59
auto read(const T &&value)
Definition: traits.h:188
auto write(T &value)
Definition: traits.h:224
constexpr double PI
Definition: constants.h:18
auto RPYInput(const std::string &name, T &value)
Definition: ArrayInput.h:97
void write(mc_rtc::MessagePackBuilder &builder)
Definition: elements.h:108
Eigen::Matrix3d rpyToMat(const double &r, const double &p, const double &y)
Definition: rpy_utils.h:25
Definition: Observer.h:15
const std::string & name() const
Definition: elements.h:61