46 std::string joint_name;
47 std::optional<double> position = std::nullopt;
48 std::optional<double> velocity = std::nullopt;
49 std::optional<double> effort = std::nullopt;
50 std::optional<double> acceleration = std::nullopt;
51 std::optional<double> jerk = std::nullopt;
55 return has_position() || has_velocity() || has_effort() || has_acceleration() || has_jerk();
58 bool has_position()
const {
return position.has_value(); }
60 bool has_velocity()
const {
return velocity.has_value(); }
62 bool has_effort()
const {
return effort.has_value(); }
64 bool has_acceleration()
const {
return acceleration.has_value(); }
66 bool has_jerk()
const {
return jerk.has_value(); }