Skip to content

Instantly share code, notes, and snippets.


Josh Newans joshnewans

  • Newcastle, Australia
View GitHub Profile
joshnewans / example_robot.urdf.xacro
Last active Sep 18, 2021
ROS Transform Gripper Example URDF
View example_robot.urdf.xacro
<?xml version="1.0"?>
<robot xmlns:xacro="" name="robot">
<material name="grey">
<color rgba="0.2 0.2 0.2 1"/>
<material name="white">
<color rgba="1 1 1 1"/>
joshnewans /
Created Sep 10, 2021
Simple Robot State Publisher Launch File
import os
from ament_index_python.packages import get_package_share_directory
from launch import LaunchDescription
from launch_ros.actions import Node
import xacro
def generate_launch_description():
# Specify the name of the package and path to xacro file within the package