54bool isEmpty(
const moveit_msgs::msg::RobotState& msg)
59 return static_cast<bool>(msg.is_diff) && msg.multi_dof_joint_state.joint_names.empty() &&
60 msg.joint_state.name.empty() && msg.attached_collision_objects.empty() && msg.joint_state.position.empty() &&
61 msg.joint_state.velocity.empty() && msg.joint_state.effort.empty() &&
62 msg.multi_dof_joint_state.transforms.empty() && msg.multi_dof_joint_state.twist.empty() &&
63 msg.multi_dof_joint_state.wrench.empty();