Challenge - 5 Problems
URDF Robot Arm Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
❓ component_behavior
intermediateWhat is the effect of the element's tag in a URDF?
In a URDF file describing a robot arm, the element often contains an tag. What does this tag specify?
Attempts:
2 left
💡 Hint
Think about how parts connect and where they are placed in space.
✗ Incorrect
📝 Syntax
intermediateIdentify the syntax error in this URDF joint definition
Which option contains a syntax error in the URDF joint definition below?
ROS
<joint name="elbow_joint" type="revolute"> <parent link="upper_arm"/> <child link="forearm"/> <origin xyz="0 0 0.3" rpy="0 0 0"/> <axis xyz="0 1 0"/> <limit lower="-1.57" upper="1.57" effort="10" velocity="1.0"/> </joint>
Attempts:
2 left
💡 Hint
Check the number of values in the rpy attribute.
✗ Incorrect
The rpy attribute must have exactly three values (roll, pitch, yaw). Option A has only two values, causing a syntax error.
❓ state_output
advancedWhat is the resulting number of links in this simple robot arm URDF?
Given the following URDF snippet describing a robot arm, how many links does the robot have?
ROS
<robot name="simple_arm"> <link name="base_link"/> <link name="shoulder_link"/> <link name="elbow_link"/> <joint name="shoulder_joint" type="revolute"> <parent link="base_link"/> <child link="shoulder_link"/> </joint> <joint name="elbow_joint" type="revolute"> <parent link="shoulder_link"/> <child link="elbow_link"/> </joint> </robot>
Attempts:
2 left
💡 Hint
Count all unique elements defined.
✗ Incorrect
The URDF defines three elements: base_link, shoulder_link, and elbow_link.
🔧 Debug
advancedWhich option causes a runtime error when loading this URDF in ROS?
Consider a URDF with two joints connecting three links. Which option will cause a runtime error due to an invalid joint configuration?
Attempts:
2 left
💡 Hint
Check if any link is used as a child in more than one joint.
✗ Incorrect
Option D has both joints connecting to 'link3' as child, which is invalid and causes a runtime error in ROS.
🧠 Conceptual
expertHow does the element affect a robot arm URDF in ROS?
In a robot arm URDF, what is the main purpose of the element?
Attempts:
2 left
💡 Hint
Think about how motors control the joints.
✗ Incorrect
The element links actuators (motors) to joints, defining how motor movement translates to joint movement.
