This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> |