The ROS2 control framework requires the use of the ros2_control tag in the URDF, however yourdfpy does not seem to take this into account