# URDF **Under Construction** :::{caution} Verwijder COLCON_IGNORE voor aanvang van de demonstratie ut de pacakge `urdf_demo` in de workspace. En bouw de workspace opnieuw. Vergeet niet om na het bouwen de workspace opnieuw te sourcen. ::: ## URDF Demo ```bash ros2 launch urdf_demo view_demo.launch.py ``` ### Uitvoeing van de demo Voeg vanuit het soultion.urdf.xacro bestand aan het demo.urdf.xacro bestand in stappen toe toe: #### Mounting plate link ```xml ``` #### Mounting plate joint ```xml ``` #### Base link ```xml ``` #### Base link joint ```xml ``` #### Fanuc robot macro include ```xml ``` #### Robot base joint ```xml ``` #### Enable Joint State Publisher verwijder het commentaar van de volgende regel in de view_demo.launch.py ```python # Nodes started by this launch file. nodes_to_start = [ #joint_state_publisher_node, robot_state_publisher_node, rviz_node, ] ``` #### Vaccuum gripper include ```xml ``` #### Gripper to robot joint ```xml ``` ## Xacro ```bash ros2 run urdf_tutorial xacro_demo -d demo.urdf.xacro `` ## Checking the URDF ```bash ros2 run urdf_tutorial check_urdf -d demo.urdf.xacro ``` ## URDF Solution ```bash ros2 launch urdf_demo view_solution.launch.py ```