Skip to content

Instantly share code, notes, and snippets.

View joshnewans's full-sized avatar

Josh Newans joshnewans

  • Newcastle, Australia
View GitHub Profile
@joshnewans
joshnewans / example_robot.urdf.xacro
Last active April 14, 2024 17:44
ROS Transform Gripper Example URDF
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro" name="robot">
<material name="grey">
<color rgba="0.2 0.2 0.2 1"/>
</material>
<material name="white">
<color rgba="1 1 1 1"/>
</material>
@joshnewans
joshnewans / robot_state_publisher.launch.py
Created September 10, 2021 22:16
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