Compare commits

..

No commits in common. "5dbf1b25186d65494c32c12d4ccccdee07c41862" and "237e159bb4defc50c4da1db3d4c73eb82543f55b" have entirely different histories.

17 changed files with 297 additions and 565 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
.vscode

24
.vscode/c_cpp_properties.json vendored Normal file
View File

@ -0,0 +1,24 @@
{
"configurations": [
{
"browse": {
"databaseFilename": "${default}",
"limitSymbolsToIncludedHeaders": false
},
"includePath": [
"/home/bjorn/Documents/ros_projects/cps_bot_mini_ws/install/odrive_hardware_interface/include/**",
"/home/bjorn/Documents/ros_projects/cps_bot_mini_ws/install/lslidar_msgs/include/**",
"/opt/ros/humble/include/**",
"/home/bjorn/Documents/ros_projects/cps_bot_mini_ws/src/Lslidar_ROS2_driver/lslidar_driver/include/**",
"/home/bjorn/Documents/ros_projects/cps_bot_mini_ws/src/odrive_ros2_control/odrive_hardware_interface/include/**",
"/usr/include/**"
],
"name": "ROS",
"intelliSenseMode": "gcc-x64",
"compilerPath": "/usr/bin/gcc",
"cStandard": "gnu11",
"cppStandard": "c++14"
}
],
"version": 4
}

20
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,20 @@
{
"python.autoComplete.extraPaths": [
"/home/bjorn/Documents/ros_projects/cps_bot_mini_ws/install/bot_mini_bringup/lib/python3.10/site-packages",
"/home/bjorn/Documents/ros_projects/cps_bot_mini_ws/install/rmp220_teleop/lib/python3.10/site-packages",
"/home/bjorn/Documents/ros_projects/cps_bot_mini_ws/install/lslidar_msgs/local/lib/python3.10/dist-packages",
"/home/bjorn/Documents/ros_projects/cps_bot_mini_ws/install/cam_opencv/lib/python3.10/site-packages",
"/home/bjorn/Documents/ros_projects/cps_bot_mini_ws/install/bot_mini_description/lib/python3.10/site-packages",
"/opt/ros/humble/lib/python3.10/site-packages",
"/opt/ros/humble/local/lib/python3.10/dist-packages"
],
"python.analysis.extraPaths": [
"/home/bjorn/Documents/ros_projects/cps_bot_mini_ws/install/bot_mini_bringup/lib/python3.10/site-packages",
"/home/bjorn/Documents/ros_projects/cps_bot_mini_ws/install/rmp220_teleop/lib/python3.10/site-packages",
"/home/bjorn/Documents/ros_projects/cps_bot_mini_ws/install/lslidar_msgs/local/lib/python3.10/dist-packages",
"/home/bjorn/Documents/ros_projects/cps_bot_mini_ws/install/cam_opencv/lib/python3.10/site-packages",
"/home/bjorn/Documents/ros_projects/cps_bot_mini_ws/install/bot_mini_description/lib/python3.10/site-packages",
"/opt/ros/humble/lib/python3.10/site-packages",
"/opt/ros/humble/local/lib/python3.10/dist-packages"
]
}

View File

@ -1,3 +1 @@
# cps_loki_description # bot_mini_description
ROS2 desription package for CPS Loki Robot (Small green one)

View File

@ -1,9 +1,9 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> <?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3"> <package format="3">
<name>cps_loki_description</name> <name>bot_mini_description</name>
<version>0.0.2</version> <version>0.0.0</version>
<description>This ROS2 package includes needed ROS2 urdf files for CPS Loki Robot</description> <description>TODO: Package description</description>
<maintainer email="bjoern.ellensohn@gmail.com">bjorn</maintainer> <maintainer email="bjoern.ellensohn@gmail.com">bjorn</maintainer>
<license>TODO: License declaration</license> <license>TODO: License declaration</license>

View File

@ -1,4 +1,4 @@
[develop] [develop]
script_dir=$base/lib/cps_loki_description script_dir=$base/lib/bot_mini_description
[install] [install]
install_scripts=$base/lib/cps_loki_description install_scripts=$base/lib/bot_mini_description

View File

@ -2,7 +2,7 @@ import os
from glob import glob from glob import glob
from setuptools import setup from setuptools import setup
package_name = 'cps_loki_description' package_name = 'bot_mini_description'
setup( setup(
name=package_name, name=package_name,

View File

@ -37,12 +37,4 @@ https://github.com/ros-simulation/gazebo_ros_demos/blob/kinetic-devel/rrbot_desc
<color rgba="1.0 1.0 1.0 1.0" /> <color rgba="1.0 1.0 1.0 1.0" />
</material> </material>
<material name="grey2">
<color rgba="0.9 0.9 0.9 1.0"/>
</material>
<material name="lightGrey">
<color rgba="0.6 0.6 0.6 1.0"/>
</material>
</robot> </robot>

View File

@ -2,234 +2,215 @@
<robot xmlns:xacro="http://www.ros.org/wiki/xacro"> <robot xmlns:xacro="http://www.ros.org/wiki/xacro">
<xacro:macro name="diffbot" params="prefix"> <xacro:macro name="diffbot" params="prefix">
<xacro:include filename="inertial_macros.xacro"/>
<!-- Constants for robot dimensions --> <!-- Constants for robot dimensions -->
<xacro:property name="PI" value="3.1415926535897931"/> <xacro:property name="PI" value="3.1415926535897931"/>
<xacro:property name="base_mass" value="0.3" />
<!-- new properties --> <!-- arbitrary value for base mass -->
<xacro:property name="chassis_length" value="0.34"/> <xacro:property name="base_width" value="0.26" />
<xacro:property name="chassis_width" value="0.26"/> <!-- Updated wheel spacing to 25cm -->
<xacro:property name="chassis_height" value="0.123"/> <xacro:property name="base_length" value="0.34" />
<xacro:property name="chassis_mass" value="3.0"/> <xacro:property name="base_height" value="0.123" />
<xacro:property name="wheel_mass" value="0.3" />
<!-- arbitrary value for wheel mass -->
<xacro:property name="wheel_len" value="0.020" />
<xacro:property name="wheel_radius" value="0.0625" /> <xacro:property name="wheel_radius" value="0.0625" />
<xacro:property name="wheel_thickness" value="0.020"/> <xacro:property name="caster_wheel_mass" value="0.1" />
<xacro:property name="wheel_mass" value="0.02"/> <!-- arbitrary value for caster wheel mass -->
<xacro:property name="wheel_offset_x" value="0.285748"/>
<xacro:property name="wheel_offset_y" value="0.33675"/>
<xacro:property name="wheel_offset_z" value="-0.035"/>
<xacro:property name="caster_wheel_radius" value="0.04" /> <xacro:property name="caster_wheel_radius" value="0.04" />
<xacro:property name="caster_wheel_mass" value="0.01"/> <xacro:property name="z_offset" value="-${base_height/2}" />
<xacro:property name="caster_wheel_offset_x" value="0.075"/> <!-- Offset of main Axis to center of base body (Axis of rotation for steering) -->
<xacro:property name="caster_wheel_offset_z" value="${wheel_offset_z - wheel_radius + caster_wheel_radius}"/> <xacro:property name="base_offset" value="0.11" />
<xacro:property name="chassis_offset" value="0.065"/>
<!-- Materials --> <!-- dummy link - used for ros2 control so it stops complaining?
<!-- <material name="white"> <link name="${prefix}dummy_link">
<color rgba="1 1 1 1" /> </link>
</material>
<material name="orange"> <joint name="${prefix}dummy_joint" type="fixed">
<color rgba="1 0.3 0.1 1"/> <parent link="${prefix}dummy_link" />
</material> <child link="${prefix}base_link" />
</joint> -->
<material name="blue"> <!-- needed for replacement to find mesh dir: package://bot_mini_description/mesh/ -->
<color rgba="0.2 0.2 1 1"/>
</material>
<material name="black">
<color rgba="0 0 0 1"/>
</material>
<material name="red">
<color rgba="1 0 0 1"/>
</material>
<material name="green">
<color rgba="0.0 0.8 0.0 1.0"/>
</material>
<material name="grey">
<color rgba="0.6 0.6 0.6 1.0"/>
</material>
<material name="grey2">
<color rgba="0.9 0.9 0.9 1.0"/>
</material>
<material name="lightGrey">
<color rgba="0.6 0.6 0.6 1.0"/>
</material> -->
<!-- Base Link --> <!-- Base Link -->
<link name="${prefix}base_link"> <link name="${prefix}base_link">
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="package://bot_mini_description/mesh/base_link_visual.stl"/>
</geometry>
<material name="base_link_material">
<color rgba="0.80032179626883115375 0.81301836741632160788 0.83346199892499306383 1.0"/>
</material>
</visual>
<collision>
<origin xyz="0 0 0" rpy="0 -0 0" />
<geometry>
<mesh filename="package://bot_mini_description/mesh/base_link_collision.stl"/>
</geometry>
</collision>
<inertial>
<origin xyz="0 0 0" rpy="0 0 0"/>
<mass value="8.4123950268139715547" />
<inertia ixx="0.090166990291185383777" ixy="4.7429179749238352248e-18" ixz="1.4209310488728267579e-18" iyy="0.055481261106946747064" iyz="-0.01112159061226025876" izz="0.13051099377067149065" />
</inertial>
</link> </link>
<!-- Adding base_footprint for mapping (Needed by slam toolbox) --> <!-- Adding base_footprint for mapping (Needed by slam toolbox) -->
<joint name="${prefix}base_footprint_joint" type="fixed">
<parent link="${prefix}base_link" />
<child link="${prefix}base_footprint" />
<origin xyz="0 0 0" rpy="0 0 0" />
</joint>
<link name="${prefix}base_footprint"> <link name="${prefix}base_footprint">
</link> </link>
<!-- CHASSIS LINK --> <joint name="${prefix}base_footprint_joint" type="fixed">
<joint name="${prefix}chassis_joint" type="fixed">
<parent link="${prefix}base_link" /> <parent link="${prefix}base_link" />
<child link="${prefix}chassis"/> <child link="${prefix}base_footprint" />
<origin xyz="${-chassis_length/2 + 0.065} 0 ${wheel_radius - wheel_offset_z}"/> <origin xyz="0 0 ${z_offset}" rpy="0 0 0" />
</joint> </joint>
<link name="${prefix}chassis"> <!-- right wheel joint -->
<visual> <!-- fixed wheel joint for testing, type was continuous -->
<origin xyz="0 0 0"/>
<geometry>
<box size="${chassis_length} ${chassis_width} ${chassis_height}"/>
</geometry>
<material name="orange"/>
</visual>
<collision>
<origin xyz="0 0 0"/>
<geometry>
<box size="${chassis_length} ${chassis_width} ${chassis_height}"/>
</geometry>
</collision>
<xacro:inertial_box mass="0.5" x="${chassis_length}" y="${chassis_width}" z="${chassis_height}">
<origin xyz="0 0 0" rpy="0 0 0"/>
</xacro:inertial_box>
</link>
<gazebo reference="chassis">
<material>Gazebo/Orange</material>
</gazebo>
<!-- RIGHT WHEEL -->
<joint name="${prefix}right_wheel_joint" type="continuous"> <joint name="${prefix}right_wheel_joint" type="continuous">
<parent link="${prefix}chassis"/> <origin xyz="0 ${-0.125 - wheel_len /2} ${z_offset}" rpy="${PI / 2} 0 0" />
<parent link="${prefix}base_link" />
<child link="${prefix}right_wheel" /> <child link="${prefix}right_wheel" />
<origin xyz="${chassis_length/2 - 0.075} -${wheel_offset_y/2 + wheel_thickness/2 + 0.01} ${wheel_offset_z}" rpy="${pi/2} 0 0" />
<axis xyz="0 0 -1"/> <axis xyz="0 0 -1"/>
<limit effort="1" velocity="20" /> <limit effort="1" velocity="20" />
<joint_properties friction="0.0"/> <joint_properties friction="0.0"/>
</joint> </joint>
<!-- right wheel Link -->
<link name="${prefix}right_wheel"> <link name="${prefix}right_wheel">
<visual> <visual>
<origin xyz="0 0 ${wheel_len}" rpy="0 -0 0" />
<geometry> <geometry>
<cylinder radius="${wheel_radius}" length="${wheel_thickness}"/> <mesh filename="package://bot_mini_description/mesh/wheel_link_visual.stl"/>
</geometry> </geometry>
<material name="blue"/> <material name="wheel_link_material">
<color rgba="0.50196078431372548323 0.50196078431372548323 0.50196078431372548323 1.0"/>
</material>
</visual> </visual>
<collision> <collision>
<origin xyz="0 0 ${wheel_len}" rpy="0 -0 0" />
<geometry> <geometry>
<sphere radius="${wheel_radius}"/> <mesh filename="package://bot_mini_description/mesh/wheel_link_collision.stl"/>
</geometry> </geometry>
</collision> </collision>
<xacro:inertial_cylinder mass="${wheel_mass}" length="${wheel_thickness}" radius="${wheel_radius}"> <inertial>
<origin xyz="0 0 0" rpy="0 0 0"/> <origin xyz="-1.3877787807814456755e-17 -6.9388939039072283776e-18 -0.017500000000000029421" rpy="0 0 0"/>
</xacro:inertial_cylinder> <mass value="0.43298678305638949038" />
<inertia ixx="0.00043196650576949035269" ixy="0" ixz="1.8666117243005040269e-36" iyy="0.00043196650576949029848" iyz="0" izz="0.00078373880522818965139" />
</inertial>
</link> </link>
<gazebo reference="right_wheel"> <!-- fixed wheel joint for testing, type was continuous -->
<material>Gazebo/Blue</material> <!-- left wheel joint -->
</gazebo>
<!-- LEFT WHEEL -->
<joint name="${prefix}left_wheel_joint" type="continuous"> <joint name="${prefix}left_wheel_joint" type="continuous">
<parent link="${prefix}chassis"/> <origin xyz="0 ${0.125 + wheel_len /2} ${z_offset}" rpy="${PI / 2} 0 0" />
<parent link="${prefix}base_link" />
<child link="${prefix}left_wheel" /> <child link="${prefix}left_wheel" />
<origin xyz="${chassis_length/2 - 0.075} ${wheel_offset_y/2 + wheel_thickness/2 + 0.01} ${wheel_offset_z}" rpy="-${pi/2} 0 0" />
<axis xyz="0 0 1" /> <axis xyz="0 0 1" />
<limit effort="1" velocity="20" />
<joint_properties friction="0.0" />
</joint> </joint>
<!-- left wheel Link -->
<link name="${prefix}left_wheel"> <link name="${prefix}left_wheel">
<visual> <visual>
<origin xyz="0 0 ${wheel_len}" rpy="0 -0 0" />
<geometry> <geometry>
<cylinder radius="${wheel_radius}" length="${wheel_thickness}"/> <mesh filename="package://bot_mini_description/mesh/wheel_link_2_visual.stl"/>
</geometry> </geometry>
<material name="blue"/> <material name="wheel_link_2_material">
<color rgba="0.50196078431372548323 0.50196078431372548323 0.50196078431372548323 1.0"/>
</material>
</visual> </visual>
<collision> <collision>
<origin xyz="0 0 ${wheel_len}" rpy="0 -0 0" />
<geometry> <geometry>
<sphere radius="${wheel_radius}"/> <mesh filename="package://bot_mini_description/mesh/wheel_link_2_collision.stl"/>
</geometry> </geometry>
</collision> </collision>
<xacro:inertial_cylinder mass="${wheel_mass}" length="${wheel_thickness}" radius="${wheel_radius}"> <inertial>
<origin xyz="0 0 0" rpy="0 0 0"/> <origin xyz="-2.7755575615628913511e-17 0 -0.017500000000000015543" rpy="0 0 0"/>
</xacro:inertial_cylinder> <mass value="0.43298678305638949038" />
<inertia ixx="0.00043196650576949035269" ixy="1.4778173856800390343e-52" ixz="-4.8081924471597460774e-36" iyy="0.00043196650576949029848" iyz="0" izz="0.00078373880522818965139" />
</inertial>
</link> </link>
<gazebo reference="left_wheel"> <!-- caster wheel joint -->
<material>Gazebo/Blue</material>
</gazebo>
<!-- CASTER WHEEL -->
<joint name="${prefix}caster_wheel_joint" type="fixed"> <joint name="${prefix}caster_wheel_joint" type="fixed">
<parent link="${prefix}chassis"/> <origin xyz="-${base_length / 2 + base_offset} 0 -0.02" rpy="0 0 ${PI}" />
<parent link="${prefix}base_link" />
<child link="${prefix}caster_wheel" /> <child link="${prefix}caster_wheel" />
<origin xyz="-${caster_wheel_offset_x*2} 0 ${caster_wheel_offset_z}"/> <axis xyz="0 0 1"/>
<limit effort="1" velocity="20" />
<joint_properties friction="0.0"/>
</joint> </joint>
<!-- caster wheel Link -->
<link name="${prefix}caster_wheel"> <link name="${prefix}caster_wheel">
<visual> <visual>
<origin xyz="0 0 0" rpy="0 -0 0" />
<geometry> <geometry>
<sphere radius="${caster_wheel_radius}"/> <mesh filename="package://bot_mini_description/mesh/caster_link_visual.stl"/>
</geometry> </geometry>
<material name="white"/> <material name="caster_link_material">
<color rgba="0.69513764518117548974 0.69513764518117548974 0.69513764518117548974 1.0"/>
</material>
</visual> </visual>
<collision> <collision>
<origin xyz="0 0 0" rpy="0 -0 0" />
<geometry> <geometry>
<sphere radius="${caster_wheel_radius}"/> <mesh filename="package://bot_mini_description/mesh/caster_link_collision.stl"/>
</geometry> </geometry>
</collision> </collision>
<xacro:inertial_sphere mass="${caster_wheel_mass}" radius="${caster_wheel_radius}"> <inertial>
<origin xyz="0 0 0" rpy="0 0 0"/> <origin xyz="-0.0043392325658342043027 -0.026018163063004008662 -0.040087257391101506487" rpy="0 0 0"/>
</xacro:inertial_sphere> <mass value="0.4365196214157913146" />
<inertia ixx="0.00065232223366267665706" ixy="-2.2812456870885095374e-05" ixz="-2.819328031928647945e-05" iyy="0.00051934268155350092177" iyz="-0.00016904771834628737077" izz="0.00028021186492738437085" />
</inertial>
</link> </link>
<gazebo reference="caster_wheel"> <!-- laser_link -->
<material>Gazebo/White</material> <link name="${prefix}laser_link">
<mu1 value="0.001"/>
<mu2 value="0.001"/>
</gazebo>
<!-- LASER -->
<joint name="${prefix}laser_joint" type="fixed">
<parent link="${prefix}chassis"/>
<child link="${prefix}laser_frame"/>
<origin xyz="${chassis_length/2 - 0.15285} 0 ${chassis_height/2 + 0.030}" rpy="0 0 ${pi}"/>
</joint>
<link name="${prefix}laser_frame">
<visual> <visual>
<origin xyz="0 0 0" rpy="${PI} -0 0" />
<geometry> <geometry>
<cylinder radius="0.04" length="0.05"/> <mesh filename="package://bot_mini_description/mesh/laser_link_visual.stl"/>
</geometry> </geometry>
<material name="black"/> <material name="laser_link_material">
<color rgba="0.49803921568627451677 0.49803921568627451677 0.49803921568627451677 1.0"/>
</material>
</visual> </visual>
<collision> <collision>
<origin xyz="0 0 0" rpy="${PI} -0 0" />
<geometry> <geometry>
<sphere radius="${caster_wheel_radius}"/> <mesh filename="package://bot_mini_description/mesh/laser_link_collision.stl"/>
</geometry> </geometry>
</collision> </collision>
<xacro:inertial_sphere mass="${caster_wheel_mass}" radius="${caster_wheel_radius}"> <inertial>
<origin xyz="0 0 0" rpy="0 0 0"/> <origin xyz="8.0502568807622093404e-21 2.7755575615628913511e-17 -0.01526549883836261258" rpy="${PI} 0 0"/>
</xacro:inertial_sphere> <mass value="0.065307030550339775776" />
<inertia ixx="1.578111853789072904e-05" ixy="-4.8590457654361857326e-53" ixz="1.0816309858643350309e-52" iyy="1.5781118537890654501e-05" iyz="9.8088682514084147142e-38" izz="1.9760068210357054465e-05" />
</inertial>
</link> </link>
<gazebo reference="laser_frame"> <!-- laser_joint -->
<material>Gazebo/White</material> <joint name="${prefix}laser_joint" type="fixed">
</gazebo> <origin xyz="-0.015 0 0.09" rpy="0 0 0"/>
<parent link="${prefix}base_link" />
<child link="${prefix}laser_link" />
<axis xyz="0 0 1"/>
<limit effort="1" velocity="20" />
<joint_properties friction="0.0"/>
</joint>
<!-- camera_link --> <!-- camera_link -->
<link name="${prefix}camera_link"> <link name="${prefix}camera_link">
<visual> <visual>
<origin xyz="0 0 0" rpy="0 -0 0" /> <origin xyz="0 0 0" rpy="0 -0 0" />
<geometry> <geometry>
<mesh filename="package://cps_loki_description/mesh/camera_link_visual.stl"/> <mesh filename="package://bot_mini_description/mesh/camera_link_visual.stl"/>
</geometry> </geometry>
<material name="camera_link_material"> <material name="camera_link_material">
<color rgba="0.26274509803921569651 0.28235294117647058432 0.30196078431372547213 1.0"/> <color rgba="0.26274509803921569651 0.28235294117647058432 0.30196078431372547213 1.0"/>
@ -238,7 +219,7 @@
<collision> <collision>
<origin xyz="0 0 0" rpy="0 -0 0" /> <origin xyz="0 0 0" rpy="0 -0 0" />
<geometry> <geometry>
<mesh filename="package://cps_loki_description/mesh/camera_link_collision.stl"/> <mesh filename="package://bot_mini_description/mesh/camera_link_collision.stl"/>
</geometry> </geometry>
</collision> </collision>
<inertial> <inertial>
@ -251,7 +232,7 @@
<!-- Camera Joint --> <!-- Camera Joint -->
<joint name="${prefix}camera_joint" type="fixed"> <joint name="${prefix}camera_joint" type="fixed">
<origin xyz="${chassis_length / 2 - chassis_offset} 0 0" rpy="0 0 ${PI}" /> <origin xyz="${base_length / 2 - base_offset} 0 0" rpy="0 0 ${PI}" />
<parent link="${prefix}base_link" /> <parent link="${prefix}base_link" />
<child link="${prefix}camera_link" /> <child link="${prefix}camera_link" />
<axis xyz="0 0 1"/> <axis xyz="0 0 1"/>

View File

@ -1,242 +0,0 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">
<xacro:macro name="diffbot" params="prefix">
<!-- Constants for robot dimensions -->
<xacro:property name="PI" value="3.1415926535897931"/>
<xacro:property name="base_mass" value="0.3" />
<!-- arbitrary value for base mass -->
<xacro:property name="base_width" value="0.26" />
<!-- Updated wheel spacing to 25cm -->
<xacro:property name="base_length" value="0.34" />
<xacro:property name="base_height" value="0.123" />
<xacro:property name="wheel_mass" value="0.3" />
<!-- arbitrary value for wheel mass -->
<xacro:property name="wheel_len" value="0.020" />
<xacro:property name="wheel_radius" value="0.0625" />
<xacro:property name="caster_wheel_mass" value="0.1" />
<!-- arbitrary value for caster wheel mass -->
<xacro:property name="caster_wheel_radius" value="0.04" />
<xacro:property name="z_offset" value="-${base_height/2}" />
<!-- Offset of main Axis to center of base body (Axis of rotation for steering) -->
<xacro:property name="base_offset" value="0.11" />
<!-- dummy link - used for ros2 control so it stops complaining?
<link name="${prefix}dummy_link">
</link>
<joint name="${prefix}dummy_joint" type="fixed">
<parent link="${prefix}dummy_link" />
<child link="${prefix}base_link" />
</joint> -->
<!-- needed for replacement to find mesh dir: package://cps_loki_description/mesh/ -->
<!-- Base Link -->
<link name="${prefix}base_link">
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="package://cps_loki_description/mesh/base_link_visual.stl"/>
</geometry>
<material name="base_link_material">
<color rgba="0.80032179626883115375 0.81301836741632160788 0.83346199892499306383 1.0"/>
</material>
</visual>
<collision>
<origin xyz="0 0 0" rpy="0 -0 0" />
<geometry>
<mesh filename="package://cps_loki_description/mesh/base_link_collision.stl"/>
</geometry>
</collision>
<inertial>
<origin xyz="0 0 0" rpy="0 0 0"/>
<mass value="8.4123950268139715547" />
<inertia ixx="0.090166990291185383777" ixy="4.7429179749238352248e-18" ixz="1.4209310488728267579e-18" iyy="0.055481261106946747064" iyz="-0.01112159061226025876" izz="0.13051099377067149065" />
</inertial>
</link>
<!-- Adding base_footprint for mapping (Needed by slam toolbox) -->
<link name="${prefix}base_footprint">
</link>
<joint name="${prefix}base_footprint_joint" type="fixed">
<parent link="${prefix}base_link" />
<child link="${prefix}base_footprint" />
<origin xyz="0 0 ${z_offset}" rpy="0 0 0" />
</joint>
<!-- right wheel joint -->
<joint name="${prefix}right_wheel_joint" type="continuous">
<origin xyz="0 ${-0.125 - wheel_len /2} ${z_offset}" rpy="${PI / 2} 0 0" />
<parent link="${prefix}base_link" />
<child link="${prefix}right_wheel" />
<axis xyz="0 0 -1"/>
<limit effort="1" velocity="20" />
<joint_properties friction="0.0"/>
</joint>
<!-- right wheel Link -->
<link name="${prefix}right_wheel">
<visual>
<origin xyz="0 0 ${wheel_len}" rpy="0 -0 0" />
<geometry>
<mesh filename="package://cps_loki_description/mesh/wheel_link_visual.stl"/>
</geometry>
<material name="wheel_link_material">
<color rgba="0.50196078431372548323 0.50196078431372548323 0.50196078431372548323 1.0"/>
</material>
</visual>
<collision>
<origin xyz="0 0 ${wheel_len}" rpy="0 -0 0" />
<geometry>
<mesh filename="package://cps_loki_description/mesh/wheel_link_collision.stl"/>
</geometry>
</collision>
<inertial>
<origin xyz="-1.3877787807814456755e-17 -6.9388939039072283776e-18 -0.017500000000000029421" rpy="0 0 0"/>
<mass value="0.43298678305638949038" />
<inertia ixx="0.00043196650576949035269" ixy="0" ixz="1.8666117243005040269e-36" iyy="0.00043196650576949029848" iyz="0" izz="0.00078373880522818965139" />
</inertial>
</link>
<!-- left wheel joint -->
<joint name="${prefix}left_wheel_joint" type="continuous">
<origin xyz="0 ${0.125 + wheel_len /2} ${z_offset}" rpy="${PI / 2} 0 0" />
<parent link="${prefix}base_link" />
<child link="${prefix}left_wheel" />
<axis xyz="0 0 1" />
<limit effort="1" velocity="20" />
<joint_properties friction="0.0" />
</joint>
<!-- left wheel Link -->
<link name="${prefix}left_wheel">
<visual>
<origin xyz="0 0 ${wheel_len}" rpy="0 -0 0" />
<geometry>
<mesh filename="package://cps_loki_description/mesh/wheel_link_2_visual.stl"/>
</geometry>
<material name="wheel_link_2_material">
<color rgba="0.50196078431372548323 0.50196078431372548323 0.50196078431372548323 1.0"/>
</material>
</visual>
<collision>
<origin xyz="0 0 ${wheel_len}" rpy="0 -0 0" />
<geometry>
<mesh filename="package://cps_loki_description/mesh/wheel_link_2_collision.stl"/>
</geometry>
</collision>
<inertial>
<origin xyz="-2.7755575615628913511e-17 0 -0.017500000000000015543" rpy="0 0 0"/>
<mass value="0.43298678305638949038" />
<inertia ixx="0.00043196650576949035269" ixy="1.4778173856800390343e-52" ixz="-4.8081924471597460774e-36" iyy="0.00043196650576949029848" iyz="0" izz="0.00078373880522818965139" />
</inertial>
</link>
<!-- caster wheel joint -->
<joint name="${prefix}caster_wheel_joint" type="fixed">
<origin xyz="-${base_length / 2 + base_offset} 0 -0.02" rpy="0 0 ${PI}" />
<parent link="${prefix}base_link" />
<child link="${prefix}caster_wheel" />
<axis xyz="0 0 1"/>
<limit effort="1" velocity="20" />
<joint_properties friction="0.0"/>
</joint>
<!-- caster wheel Link -->
<link name="${prefix}caster_wheel">
<visual>
<origin xyz="0 0 0" rpy="0 -0 0" />
<geometry>
<mesh filename="package://cps_loki_description/mesh/caster_link_visual.stl"/>
</geometry>
<material name="caster_link_material">
<color rgba="0.69513764518117548974 0.69513764518117548974 0.69513764518117548974 1.0"/>
</material>
</visual>
<collision>
<origin xyz="0 0 0" rpy="0 -0 0" />
<geometry>
<mesh filename="package://cps_loki_description/mesh/caster_link_collision.stl"/>
</geometry>
</collision>
<inertial>
<origin xyz="-0.0043392325658342043027 -0.026018163063004008662 -0.040087257391101506487" rpy="0 0 0"/>
<mass value="0.4365196214157913146" />
<inertia ixx="0.00065232223366267665706" ixy="-2.2812456870885095374e-05" ixz="-2.819328031928647945e-05" iyy="0.00051934268155350092177" iyz="-0.00016904771834628737077" izz="0.00028021186492738437085" />
</inertial>
</link>
<!-- laser_link -->
<link name="${prefix}laser_link">
<visual>
<origin xyz="0 0 0" rpy="${PI} -0 0" />
<geometry>
<mesh filename="package://cps_loki_description/mesh/laser_link_visual.stl"/>
</geometry>
<material name="laser_link_material">
<color rgba="0.49803921568627451677 0.49803921568627451677 0.49803921568627451677 1.0"/>
</material>
</visual>
<collision>
<origin xyz="0 0 0" rpy="${PI} -0 0" />
<geometry>
<mesh filename="package://cps_loki_description/mesh/laser_link_collision.stl"/>
</geometry>
</collision>
<inertial>
<origin xyz="8.0502568807622093404e-21 2.7755575615628913511e-17 -0.01526549883836261258" rpy="${PI} 0 0"/>
<mass value="0.065307030550339775776" />
<inertia ixx="1.578111853789072904e-05" ixy="-4.8590457654361857326e-53" ixz="1.0816309858643350309e-52" iyy="1.5781118537890654501e-05" iyz="9.8088682514084147142e-38" izz="1.9760068210357054465e-05" />
</inertial>
</link>
<!-- laser_joint -->
<joint name="${prefix}laser_joint" type="fixed">
<origin xyz="-0.015 0 0.09" rpy="0 0 0"/>
<parent link="${prefix}base_link" />
<child link="${prefix}laser_link" />
<axis xyz="0 0 1"/>
<limit effort="1" velocity="20" />
<joint_properties friction="0.0"/>
</joint>
<!-- camera_link -->
<link name="${prefix}camera_link">
<visual>
<origin xyz="0 0 0" rpy="0 -0 0" />
<geometry>
<mesh filename="package://cps_loki_description/mesh/camera_link_visual.stl"/>
</geometry>
<material name="camera_link_material">
<color rgba="0.26274509803921569651 0.28235294117647058432 0.30196078431372547213 1.0"/>
</material>
</visual>
<collision>
<origin xyz="0 0 0" rpy="0 -0 0" />
<geometry>
<mesh filename="package://cps_loki_description/mesh/camera_link_collision.stl"/>
</geometry>
</collision>
<inertial>
<origin xyz="5.3378961738576549005e-07 0.0016484827975361887251 -0.020840554768345870285" rpy="0 0 0"/>
<mass value="0.064008494238512375629" />
<inertia ixx="1.7394518695567356026e-05" ixy="-4.87317899857206066e-10" ixz="-1.7982620680900958214e-11" iyy="3.2074360900148983727e-05" iyz="2.0892555595878115295e-06" izz="2.8321439372619354409e-05" />
</inertial>
</link>
<!-- Camera Joint -->
<joint name="${prefix}camera_joint" type="fixed">
<origin xyz="${base_length / 2 - base_offset} 0 0" rpy="0 0 ${PI}" />
<parent link="${prefix}base_link" />
<child link="${prefix}camera_link" />
<axis xyz="0 0 1"/>
<limit effort="1" velocity="20" />
<joint_properties friction="0.0"/>
</joint>
</xacro:macro>
</robot>

View File

@ -31,7 +31,7 @@
<visual> <visual>
<origin xyz="1.2116163827517698533e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="1.2116163827517698533e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/right_motor.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/right_motor.stl" />
</geometry> </geometry>
<material name="right_motor_material"> <material name="right_motor_material">
<color rgba="0.49803921568627451677 0.49803921568627451677 0.49803921568627451677 1.0" /> <color rgba="0.49803921568627451677 0.49803921568627451677 0.49803921568627451677 1.0" />
@ -40,13 +40,13 @@
<collision> <collision>
<origin xyz="1.2116163827517698533e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="1.2116163827517698533e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/right_motor.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/right_motor.stl" />
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="1.142227443712697323e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="1.142227443712697323e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/motor_bar_frame.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/motor_bar_frame.stl" />
</geometry> </geometry>
<material name="motor_bar_frame_material"> <material name="motor_bar_frame_material">
<color rgba="0.91764705882352937127 0.91764705882352937127 0.91764705882352937127 1.0" /> <color rgba="0.91764705882352937127 0.91764705882352937127 0.91764705882352937127 1.0" />
@ -55,13 +55,13 @@
<collision> <collision>
<origin xyz="1.142227443712697323e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="1.142227443712697323e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/motor_bar_frame.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/motor_bar_frame.stl" />
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="1.142227443712697323e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="1.142227443712697323e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/base_frame.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/base_frame.stl" />
</geometry> </geometry>
<material name="base_frame_material"> <material name="base_frame_material">
<color rgba="0.91764705882352937127 0.91764705882352937127 0.91764705882352937127 1.0" /> <color rgba="0.91764705882352937127 0.91764705882352937127 0.91764705882352937127 1.0" />
@ -70,13 +70,13 @@
<collision> <collision>
<origin xyz="1.142227443712697323e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="1.142227443712697323e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/base_frame.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/base_frame.stl" />
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="7.952827485173360274e-17 -0.4790000000000002589 -0.045000000000000012212" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="7.952827485173360274e-17 -0.4790000000000002589 -0.045000000000000012212" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/left_motor.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/left_motor.stl" />
</geometry> </geometry>
<material name="left_motor_material"> <material name="left_motor_material">
<color rgba="0.49803921568627451677 0.49803921568627451677 0.49803921568627451677 1.0" /> <color rgba="0.49803921568627451677 0.49803921568627451677 0.49803921568627451677 1.0" />
@ -85,13 +85,13 @@
<collision> <collision>
<origin xyz="7.952827485173360274e-17 -0.4790000000000002589 -0.045000000000000012212" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="7.952827485173360274e-17 -0.4790000000000002589 -0.045000000000000012212" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/left_motor.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/left_motor.stl" />
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="7.4868290514223760072e-17 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="7.4868290514223760072e-17 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_connector.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/caster_connector.stl" />
</geometry> </geometry>
<material name="caster_connector_material"> <material name="caster_connector_material">
<color rgba="0.91764705882352937127 0.91764705882352937127 0.91764705882352937127 1.0" /> <color rgba="0.91764705882352937127 0.91764705882352937127 0.91764705882352937127 1.0" />
@ -100,13 +100,13 @@
<collision> <collision>
<origin xyz="7.4868290514223760072e-17 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="7.4868290514223760072e-17 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_connector.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/caster_connector.stl" />
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="1.1422274437126975695e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="1.1422274437126975695e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/right_motor_frame.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/right_motor_frame.stl" />
</geometry> </geometry>
<material name="right_motor_frame_material"> <material name="right_motor_frame_material">
<color rgba="0.08627450980392156743 0.31764705882352939348 0.69019607843137253944 1.0" /> <color rgba="0.08627450980392156743 0.31764705882352939348 0.69019607843137253944 1.0" />
@ -115,13 +115,13 @@
<collision> <collision>
<origin xyz="1.1422274437126975695e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="1.1422274437126975695e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/right_motor_frame.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/right_motor_frame.stl" />
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="8.6467168755640818792e-17 -0.47900000000000020339 -0.04500000000000002609" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="8.6467168755640818792e-17 -0.47900000000000020339 -0.04500000000000002609" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/left_motor_frame.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/left_motor_frame.stl" />
</geometry> </geometry>
<material name="left_motor_frame_material"> <material name="left_motor_frame_material">
<color rgba="0.08627450980392156743 0.31764705882352939348 0.69019607843137253944 1.0" /> <color rgba="0.08627450980392156743 0.31764705882352939348 0.69019607843137253944 1.0" />
@ -130,33 +130,33 @@
<collision> <collision>
<origin xyz="8.6467168755640818792e-17 -0.47900000000000020339 -0.04500000000000002609" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="8.6467168755640818792e-17 -0.47900000000000020339 -0.04500000000000002609" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/left_motor_frame.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/left_motor_frame.stl" />
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="1.1834508674736059205e-16 -0.4790000000000002589 -0.045000000000000012212" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="1.1834508674736059205e-16 -0.4790000000000002589 -0.045000000000000012212" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/laser_frame.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/laser_frame.stl" />
</geometry> </geometry>
<material name="orange"/> <material name="orange"/>
</visual> </visual>
<collision> <collision>
<origin xyz="1.1834508674736059205e-16 -0.4790000000000002589 -0.045000000000000012212" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="1.1834508674736059205e-16 -0.4790000000000002589 -0.045000000000000012212" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/laser_frame.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/laser_frame.stl" />
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="7.4868290514223760072e-17 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="7.4868290514223760072e-17 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_angle.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/caster_angle.stl" />
</geometry> </geometry>
<material name="black"/> <material name="black"/>
</visual> </visual>
<collision> <collision>
<origin xyz="7.4868290514223760072e-17 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="7.4868290514223760072e-17 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_angle.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/caster_angle.stl" />
</geometry> </geometry>
</collision> </collision>
<inertial> <inertial>
@ -179,7 +179,7 @@
<visual> <visual>
<origin xyz="-0.10999999999999998668 0.060000000000000011657 0.125" rpy="-1.570796326794896558 -1.570796326794896558 0" /> <origin xyz="-0.10999999999999998668 0.060000000000000011657 0.125" rpy="-1.570796326794896558 -1.570796326794896558 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/left_wheel.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/left_wheel.stl" />
</geometry> </geometry>
<material name="left_wheel_material"> <material name="left_wheel_material">
<color rgba="0.50196078431372548323 0.50196078431372548323 0.50196078431372548323 1.0" /> <color rgba="0.50196078431372548323 0.50196078431372548323 0.50196078431372548323 1.0" />
@ -220,7 +220,7 @@
<collision> <collision>
<origin xyz="-0.10999999999999998668 0.05999999999999999778 0.125" rpy="-1.570796326794896558 -1.570796326794896558 0" /> <origin xyz="-0.10999999999999998668 0.05999999999999999778 0.125" rpy="-1.570796326794896558 -1.570796326794896558 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/left_wheel.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/left_wheel.stl" />
</geometry> </geometry>
</collision> </collision>
<inertial> <inertial>
@ -244,7 +244,7 @@
<visual> <visual>
<origin xyz="1.1302212892091925974e-17 5.5511151231257827021e-17 0" rpy="3.141592653589793116 -8.3802055560433424155e-17 -3.141592653589793116" /> <origin xyz="1.1302212892091925974e-17 5.5511151231257827021e-17 0" rpy="3.141592653589793116 -8.3802055560433424155e-17 -3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_wheel.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/caster_wheel.stl" />
</geometry> </geometry>
<material name="caster_wheel_material"> <material name="caster_wheel_material">
<color rgba="0.50196078431372548323 0.50196078431372548323 0.50196078431372548323 1.0" /> <color rgba="0.50196078431372548323 0.50196078431372548323 0.50196078431372548323 1.0" />
@ -253,13 +253,13 @@
<collision> <collision>
<origin xyz="1.1302212892091925974e-17 5.5511151231257827021e-17 0" rpy="3.141592653589793116 -8.3802055560433424155e-17 -3.141592653589793116" /> <origin xyz="1.1302212892091925974e-17 5.5511151231257827021e-17 0" rpy="3.141592653589793116 -8.3802055560433424155e-17 -3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_wheel.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/caster_wheel.stl" />
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="2.6961896103443574151e-18 0 0" rpy="3.141592653589793116 -0 0" /> <origin xyz="2.6961896103443574151e-18 0 0" rpy="3.141592653589793116 -0 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_bearing_frame.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/caster_bearing_frame.stl" />
</geometry> </geometry>
<material name="caster_bearing_frame_material"> <material name="caster_bearing_frame_material">
<color rgba="0.80000000000000004441 0.80000000000000004441 0.80000000000000004441 1.0" /> <color rgba="0.80000000000000004441 0.80000000000000004441 0.80000000000000004441 1.0" />
@ -268,13 +268,13 @@
<collision> <collision>
<origin xyz="2.6961896103443574151e-18 0 0" rpy="3.141592653589793116 -0 0" /> <origin xyz="2.6961896103443574151e-18 0 0" rpy="3.141592653589793116 -0 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_bearing_frame.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/caster_bearing_frame.stl" />
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" /> <origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_frame_left.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/caster_frame_left.stl" />
</geometry> </geometry>
<material name="caster_frame_left_material"> <material name="caster_frame_left_material">
<color rgba="0.90196078431372550543 0.90196078431372550543 0.90196078431372550543 1.0" /> <color rgba="0.90196078431372550543 0.90196078431372550543 0.90196078431372550543 1.0" />
@ -283,13 +283,13 @@
<collision> <collision>
<origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" /> <origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_frame_left.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/caster_frame_left.stl" />
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" /> <origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_frame_top.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/caster_frame_top.stl" />
</geometry> </geometry>
<material name="caster_frame_top_material"> <material name="caster_frame_top_material">
<color rgba="0.80000000000000004441 0.80000000000000004441 0.80000000000000004441 1.0" /> <color rgba="0.80000000000000004441 0.80000000000000004441 0.80000000000000004441 1.0" />
@ -311,7 +311,7 @@
<collision> <collision>
<origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" /> <origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_frame_right.stl" /> <mesh filename="file://$(find bot_mini_description)/mesh/caster_frame_right.stl" />
</geometry> </geometry>
</collision> </collision>
<inertial> <inertial>

View File

@ -30,14 +30,14 @@
<child link="${prefix}base_link" /> <child link="${prefix}base_link" />
</joint> </joint>
<!-- needed for replacement to find mesh dir: file://$(find cps_loki_description)/mesh/ --> <!-- needed for replacement to find mesh dir: file://$(find bot_mini_description)/mesh/ -->
<!-- Base Link --> <!-- Base Link -->
<link name="${prefix}base_link"> <link name="${prefix}base_link">
<visual> <visual>
<origin xyz="1.2116163827517698533e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="1.2116163827517698533e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/right_motor.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/right_motor.stl"/>
</geometry> </geometry>
<material name="right_motor_material"> <material name="right_motor_material">
<color rgba="0.49803921568627451677 0.49803921568627451677 0.49803921568627451677 1.0"/> <color rgba="0.49803921568627451677 0.49803921568627451677 0.49803921568627451677 1.0"/>
@ -46,13 +46,13 @@
<collision> <collision>
<origin xyz="1.2116163827517698533e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="1.2116163827517698533e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/right_motor.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/right_motor.stl"/>
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="1.142227443712697323e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="1.142227443712697323e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/motor_bar_frame.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/motor_bar_frame.stl"/>
</geometry> </geometry>
<material name="motor_bar_frame_material"> <material name="motor_bar_frame_material">
<color rgba="0.91764705882352937127 0.91764705882352937127 0.91764705882352937127 1.0"/> <color rgba="0.91764705882352937127 0.91764705882352937127 0.91764705882352937127 1.0"/>
@ -61,13 +61,13 @@
<collision> <collision>
<origin xyz="1.142227443712697323e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="1.142227443712697323e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/motor_bar_frame.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/motor_bar_frame.stl"/>
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="1.142227443712697323e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="1.142227443712697323e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/base_frame.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/base_frame.stl"/>
</geometry> </geometry>
<material name="base_frame_material"> <material name="base_frame_material">
<color rgba="0.91764705882352937127 0.91764705882352937127 0.91764705882352937127 1.0"/> <color rgba="0.91764705882352937127 0.91764705882352937127 0.91764705882352937127 1.0"/>
@ -76,13 +76,13 @@
<collision> <collision>
<origin xyz="1.142227443712697323e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="1.142227443712697323e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/base_frame.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/base_frame.stl"/>
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="7.952827485173360274e-17 -0.4790000000000002589 -0.045000000000000012212" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="7.952827485173360274e-17 -0.4790000000000002589 -0.045000000000000012212" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/left_motor.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/left_motor.stl"/>
</geometry> </geometry>
<material name="left_motor_material"> <material name="left_motor_material">
<color rgba="0.49803921568627451677 0.49803921568627451677 0.49803921568627451677 1.0"/> <color rgba="0.49803921568627451677 0.49803921568627451677 0.49803921568627451677 1.0"/>
@ -91,13 +91,13 @@
<collision> <collision>
<origin xyz="7.952827485173360274e-17 -0.4790000000000002589 -0.045000000000000012212" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="7.952827485173360274e-17 -0.4790000000000002589 -0.045000000000000012212" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/left_motor.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/left_motor.stl"/>
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="7.4868290514223760072e-17 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="7.4868290514223760072e-17 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_connector.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/caster_connector.stl"/>
</geometry> </geometry>
<material name="caster_connector_material"> <material name="caster_connector_material">
<color rgba="0.91764705882352937127 0.91764705882352937127 0.91764705882352937127 1.0"/> <color rgba="0.91764705882352937127 0.91764705882352937127 0.91764705882352937127 1.0"/>
@ -106,13 +106,13 @@
<collision> <collision>
<origin xyz="7.4868290514223760072e-17 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="7.4868290514223760072e-17 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_connector.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/caster_connector.stl"/>
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="1.1422274437126975695e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="1.1422274437126975695e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/right_motor_frame.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/right_motor_frame.stl"/>
</geometry> </geometry>
<material name="right_motor_frame_material"> <material name="right_motor_frame_material">
<color rgba="0.08627450980392156743 0.31764705882352939348 0.69019607843137253944 1.0"/> <color rgba="0.08627450980392156743 0.31764705882352939348 0.69019607843137253944 1.0"/>
@ -121,13 +121,13 @@
<collision> <collision>
<origin xyz="1.1422274437126975695e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="1.1422274437126975695e-16 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/right_motor_frame.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/right_motor_frame.stl"/>
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="8.6467168755640818792e-17 -0.47900000000000020339 -0.04500000000000002609" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="8.6467168755640818792e-17 -0.47900000000000020339 -0.04500000000000002609" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/left_motor_frame.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/left_motor_frame.stl"/>
</geometry> </geometry>
<material name="left_motor_frame_material"> <material name="left_motor_frame_material">
<color rgba="0.08627450980392156743 0.31764705882352939348 0.69019607843137253944 1.0"/> <color rgba="0.08627450980392156743 0.31764705882352939348 0.69019607843137253944 1.0"/>
@ -136,13 +136,13 @@
<collision> <collision>
<origin xyz="8.6467168755640818792e-17 -0.47900000000000020339 -0.04500000000000002609" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="8.6467168755640818792e-17 -0.47900000000000020339 -0.04500000000000002609" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/left_motor_frame.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/left_motor_frame.stl"/>
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="7.4868290514223760072e-17 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="7.4868290514223760072e-17 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_angle.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/caster_angle.stl"/>
</geometry> </geometry>
<material name="caster_angle_material"> <material name="caster_angle_material">
<color rgba="0.64705882352941179736 0.64705882352941179736 0.64705882352941179736 1.0"/> <color rgba="0.64705882352941179736 0.64705882352941179736 0.64705882352941179736 1.0"/>
@ -151,7 +151,7 @@
<collision> <collision>
<origin xyz="7.4868290514223760072e-17 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" /> <origin xyz="7.4868290514223760072e-17 -0.47900000000000020339 -0.044999999999999998335" rpy="-5.5511151231257814695e-17 -0 3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_angle.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/caster_angle.stl"/>
</geometry> </geometry>
</collision> </collision>
<inertial> <inertial>
@ -185,7 +185,7 @@
<visual> <visual>
<origin xyz="-0.10999999999999998668 0.060000000000000011657 0.125" rpy="-1.570796326794896558 -1.570796326794896558 0" /> <origin xyz="-0.10999999999999998668 0.060000000000000011657 0.125" rpy="-1.570796326794896558 -1.570796326794896558 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/left_wheel.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/left_wheel.stl"/>
</geometry> </geometry>
<material name="left_wheel_material"> <material name="left_wheel_material">
<color rgba="0.50196078431372548323 0.50196078431372548323 0.50196078431372548323 1.0"/> <color rgba="0.50196078431372548323 0.50196078431372548323 0.50196078431372548323 1.0"/>
@ -194,7 +194,7 @@
<collision> <collision>
<origin xyz="-0.10999999999999998668 0.060000000000000011657 0.125" rpy="-1.570796326794896558 -1.570796326794896558 0" /> <origin xyz="-0.10999999999999998668 0.060000000000000011657 0.125" rpy="-1.570796326794896558 -1.570796326794896558 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/left_wheel.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/left_wheel.stl"/>
</geometry> </geometry>
</collision> </collision>
<inertial> <inertial>
@ -219,7 +219,7 @@
<visual> <visual>
<origin xyz="-0.10999999999999998668 0.05999999999999999778 0.125" rpy="-1.570796326794896558 -1.570796326794896558 0" /> <origin xyz="-0.10999999999999998668 0.05999999999999999778 0.125" rpy="-1.570796326794896558 -1.570796326794896558 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/left_wheel.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/left_wheel.stl"/>
</geometry> </geometry>
<material name="left_wheel_material"> <material name="left_wheel_material">
<color rgba="0.50196078431372548323 0.50196078431372548323 0.50196078431372548323 1.0"/> <color rgba="0.50196078431372548323 0.50196078431372548323 0.50196078431372548323 1.0"/>
@ -228,7 +228,7 @@
<collision> <collision>
<origin xyz="-0.10999999999999998668 0.05999999999999999778 0.125" rpy="-1.570796326794896558 -1.570796326794896558 0" /> <origin xyz="-0.10999999999999998668 0.05999999999999999778 0.125" rpy="-1.570796326794896558 -1.570796326794896558 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/left_wheel.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/left_wheel.stl"/>
</geometry> </geometry>
</collision> </collision>
<inertial> <inertial>
@ -253,7 +253,7 @@
<visual> <visual>
<origin xyz="1.1302212892091925974e-17 5.5511151231257827021e-17 0" rpy="3.141592653589793116 -8.3802055560433424155e-17 -3.141592653589793116" /> <origin xyz="1.1302212892091925974e-17 5.5511151231257827021e-17 0" rpy="3.141592653589793116 -8.3802055560433424155e-17 -3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_wheel.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/caster_wheel.stl"/>
</geometry> </geometry>
<material name="caster_wheel_material"> <material name="caster_wheel_material">
<color rgba="0.50196078431372548323 0.50196078431372548323 0.50196078431372548323 1.0"/> <color rgba="0.50196078431372548323 0.50196078431372548323 0.50196078431372548323 1.0"/>
@ -262,13 +262,13 @@
<collision> <collision>
<origin xyz="1.1302212892091925974e-17 5.5511151231257827021e-17 0" rpy="3.141592653589793116 -8.3802055560433424155e-17 -3.141592653589793116" /> <origin xyz="1.1302212892091925974e-17 5.5511151231257827021e-17 0" rpy="3.141592653589793116 -8.3802055560433424155e-17 -3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_wheel.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/caster_wheel.stl"/>
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="2.6961896103443574151e-18 0 0" rpy="3.141592653589793116 -0 0" /> <origin xyz="2.6961896103443574151e-18 0 0" rpy="3.141592653589793116 -0 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_bearing_frame.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/caster_bearing_frame.stl"/>
</geometry> </geometry>
<material name="caster_bearing_frame_material"> <material name="caster_bearing_frame_material">
<color rgba="0.80000000000000004441 0.80000000000000004441 0.80000000000000004441 1.0"/> <color rgba="0.80000000000000004441 0.80000000000000004441 0.80000000000000004441 1.0"/>
@ -277,13 +277,13 @@
<collision> <collision>
<origin xyz="2.6961896103443574151e-18 0 0" rpy="3.141592653589793116 -0 0" /> <origin xyz="2.6961896103443574151e-18 0 0" rpy="3.141592653589793116 -0 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_bearing_frame.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/caster_bearing_frame.stl"/>
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" /> <origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_frame_left.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/caster_frame_left.stl"/>
</geometry> </geometry>
<material name="caster_frame_left_material"> <material name="caster_frame_left_material">
<color rgba="0.90196078431372550543 0.90196078431372550543 0.90196078431372550543 1.0"/> <color rgba="0.90196078431372550543 0.90196078431372550543 0.90196078431372550543 1.0"/>
@ -292,13 +292,13 @@
<collision> <collision>
<origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" /> <origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_frame_left.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/caster_frame_left.stl"/>
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" /> <origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_frame_top.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/caster_frame_top.stl"/>
</geometry> </geometry>
<material name="caster_frame_top_material"> <material name="caster_frame_top_material">
<color rgba="0.80000000000000004441 0.80000000000000004441 0.80000000000000004441 1.0"/> <color rgba="0.80000000000000004441 0.80000000000000004441 0.80000000000000004441 1.0"/>
@ -307,13 +307,13 @@
<collision> <collision>
<origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" /> <origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_frame_top.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/caster_frame_top.stl"/>
</geometry> </geometry>
</collision> </collision>
<visual> <visual>
<origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" /> <origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_frame_right.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/caster_frame_right.stl"/>
</geometry> </geometry>
<material name="caster_frame_right_material"> <material name="caster_frame_right_material">
<color rgba="0.90196078431372550543 0.90196078431372550543 0.90196078431372550543 1.0"/> <color rgba="0.90196078431372550543 0.90196078431372550543 0.90196078431372550543 1.0"/>
@ -322,7 +322,7 @@
<collision> <collision>
<origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" /> <origin xyz="-1.232595164407830946e-32 0 0" rpy="3.141592653589793116 4.7934256393637874986e-32 -3.141592653589793116" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_frame_right.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/caster_frame_right.stl"/>
</geometry> </geometry>
</collision> </collision>
<inertial> <inertial>
@ -337,7 +337,7 @@
<visual> <visual>
<origin xyz="-4.1223423760908350982e-18 0.13500000000000000888 0.025000000000000001388" rpy="3.141592653589793116 -0 1.0263416486754026723e-48" /> <origin xyz="-4.1223423760908350982e-18 0.13500000000000000888 0.025000000000000001388" rpy="3.141592653589793116 -0 1.0263416486754026723e-48" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/laser_frame.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/laser_frame.stl"/>
</geometry> </geometry>
<material name="laser_frame_material"> <material name="laser_frame_material">
<color rgba="0.49803921568627451677 0.49803921568627451677 0.49803921568627451677 1.0"/> <color rgba="0.49803921568627451677 0.49803921568627451677 0.49803921568627451677 1.0"/>
@ -346,7 +346,7 @@
<collision> <collision>
<origin xyz="-4.1223423760908350982e-18 0.13500000000000000888 0.025000000000000001388" rpy="3.141592653589793116 -0 1.0263416486754026723e-48" /> <origin xyz="-4.1223423760908350982e-18 0.13500000000000000888 0.025000000000000001388" rpy="3.141592653589793116 -0 1.0263416486754026723e-48" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/laser_frame.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/laser_frame.stl"/>
</geometry> </geometry>
</collision> </collision>
<inertial> <inertial>
@ -371,7 +371,7 @@
<visual> <visual>
<origin xyz="3.0814879110195773649e-32 0 0" rpy="-1.570796326794896558 2.775557561562890365e-16 -9.2444637330585569324e-33" /> <origin xyz="3.0814879110195773649e-32 0 0" rpy="-1.570796326794896558 2.775557561562890365e-16 -9.2444637330585569324e-33" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/camera_frame.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/camera_frame.stl"/>
</geometry> </geometry>
<material name="hikvision_ds-u02_material"> <material name="hikvision_ds-u02_material">
<color rgba="0.26274509803921569651 0.28235294117647058432 0.30196078431372547213 1.0"/> <color rgba="0.26274509803921569651 0.28235294117647058432 0.30196078431372547213 1.0"/>
@ -380,7 +380,7 @@
<collision> <collision>
<origin xyz="3.0814879110195773649e-32 0 0" rpy="-1.570796326794896558 2.775557561562890365e-16 -9.2444637330585569324e-33" /> <origin xyz="3.0814879110195773649e-32 0 0" rpy="-1.570796326794896558 2.775557561562890365e-16 -9.2444637330585569324e-33" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/camera_frame.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/camera_frame.stl"/>
</geometry> </geometry>
</collision> </collision>
<inertial> <inertial>

View File

@ -30,14 +30,14 @@
<child link="${prefix}base_link" /> <child link="${prefix}base_link" />
</joint> --> </joint> -->
<!-- needed for replacement to find mesh dir: file://$(find cps_loki_description)/mesh/ --> <!-- needed for replacement to find mesh dir: file://$(find bot_mini_description)/mesh/ -->
<!-- Base Link --> <!-- Base Link -->
<link name="${prefix}base_link"> <link name="${prefix}base_link">
<visual> <visual>
<origin xyz="0 0 0" rpy="0 -0 0" /> <origin xyz="0 0 0" rpy="0 -0 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/base_link_visual.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/base_link_visual.stl"/>
</geometry> </geometry>
<material name="base_link_material"> <material name="base_link_material">
<color rgba="0.80032179626883115375 0.81301836741632160788 0.83346199892499306383 1.0"/> <color rgba="0.80032179626883115375 0.81301836741632160788 0.83346199892499306383 1.0"/>
@ -46,7 +46,7 @@
<collision> <collision>
<origin xyz="0 0 0" rpy="0 -0 0" /> <origin xyz="0 0 0" rpy="0 -0 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/base_link_collision.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/base_link_collision.stl"/>
</geometry> </geometry>
</collision> </collision>
<inertial> <inertial>
@ -81,7 +81,7 @@
<visual> <visual>
<origin xyz="0 0 0" rpy="0 -0 0" /> <origin xyz="0 0 0" rpy="0 -0 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/wheel_link_visual.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/wheel_link_visual.stl"/>
</geometry> </geometry>
<material name="wheel_link_material"> <material name="wheel_link_material">
<color rgba="0.50196078431372548323 0.50196078431372548323 0.50196078431372548323 1.0"/> <color rgba="0.50196078431372548323 0.50196078431372548323 0.50196078431372548323 1.0"/>
@ -90,7 +90,7 @@
<collision> <collision>
<origin xyz="0 0 0" rpy="0 -0 0" /> <origin xyz="0 0 0" rpy="0 -0 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/wheel_link_collision.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/wheel_link_collision.stl"/>
</geometry> </geometry>
</collision> </collision>
<inertial> <inertial>
@ -116,7 +116,7 @@
<visual> <visual>
<origin xyz="0 0 0" rpy="0 -0 0" /> <origin xyz="0 0 0" rpy="0 -0 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/wheel_link_2_visual.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/wheel_link_2_visual.stl"/>
</geometry> </geometry>
<material name="wheel_link_2_material"> <material name="wheel_link_2_material">
<color rgba="0.50196078431372548323 0.50196078431372548323 0.50196078431372548323 1.0"/> <color rgba="0.50196078431372548323 0.50196078431372548323 0.50196078431372548323 1.0"/>
@ -125,7 +125,7 @@
<collision> <collision>
<origin xyz="0 0 0" rpy="0 -0 0" /> <origin xyz="0 0 0" rpy="0 -0 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/wheel_link_2_collision.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/wheel_link_2_collision.stl"/>
</geometry> </geometry>
</collision> </collision>
<inertial> <inertial>
@ -150,7 +150,7 @@
<visual> <visual>
<origin xyz="0 0 0" rpy="0 -0 0" /> <origin xyz="0 0 0" rpy="0 -0 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_link_visual.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/caster_link_visual.stl"/>
</geometry> </geometry>
<material name="caster_link_material"> <material name="caster_link_material">
<color rgba="0.69513764518117548974 0.69513764518117548974 0.69513764518117548974 1.0"/> <color rgba="0.69513764518117548974 0.69513764518117548974 0.69513764518117548974 1.0"/>
@ -159,7 +159,7 @@
<collision> <collision>
<origin xyz="0 0 0" rpy="0 -0 0" /> <origin xyz="0 0 0" rpy="0 -0 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/caster_link_collision.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/caster_link_collision.stl"/>
</geometry> </geometry>
</collision> </collision>
<inertial> <inertial>
@ -174,7 +174,7 @@
<visual> <visual>
<origin xyz="0 0 0" rpy="0 -0 0" /> <origin xyz="0 0 0" rpy="0 -0 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/laser_link_visual.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/laser_link_visual.stl"/>
</geometry> </geometry>
<material name="laser_link_material"> <material name="laser_link_material">
<color rgba="0.49803921568627451677 0.49803921568627451677 0.49803921568627451677 1.0"/> <color rgba="0.49803921568627451677 0.49803921568627451677 0.49803921568627451677 1.0"/>
@ -183,7 +183,7 @@
<collision> <collision>
<origin xyz="0 0 0" rpy="0 -0 0" /> <origin xyz="0 0 0" rpy="0 -0 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/laser_link_collision.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/laser_link_collision.stl"/>
</geometry> </geometry>
</collision> </collision>
<inertial> <inertial>
@ -208,7 +208,7 @@
<visual> <visual>
<origin xyz="0 0 0" rpy="0 -0 0" /> <origin xyz="0 0 0" rpy="0 -0 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/camera_link_visual.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/camera_link_visual.stl"/>
</geometry> </geometry>
<material name="camera_link_material"> <material name="camera_link_material">
<color rgba="0.26274509803921569651 0.28235294117647058432 0.30196078431372547213 1.0"/> <color rgba="0.26274509803921569651 0.28235294117647058432 0.30196078431372547213 1.0"/>
@ -217,7 +217,7 @@
<collision> <collision>
<origin xyz="0 0 0" rpy="0 -0 0" /> <origin xyz="0 0 0" rpy="0 -0 0" />
<geometry> <geometry>
<mesh filename="file://$(find cps_loki_description)/mesh/camera_link_collision.stl"/> <mesh filename="file://$(find bot_mini_description)/mesh/camera_link_collision.stl"/>
</geometry> </geometry>
</collision> </collision>
<inertial> <inertial>

View File

@ -1,40 +0,0 @@
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro" >
<!-- Specify some standard inertial calculations https://en.wikipedia.org/wiki/List_of_moments_of_inertia -->
<!-- These make use of xacro's mathematical functionality -->
<xacro:macro name="inertial_sphere" params="mass radius *origin">
<inertial>
<xacro:insert_block name="origin"/>
<mass value="${mass}" />
<inertia ixx="${(2/5) * mass * (radius*radius)}" ixy="0.0" ixz="0.0"
iyy="${(2/5) * mass * (radius*radius)}" iyz="0.0"
izz="${(2/5) * mass * (radius*radius)}" />
</inertial>
</xacro:macro>
<xacro:macro name="inertial_box" params="mass x y z *origin">
<inertial>
<xacro:insert_block name="origin"/>
<mass value="${mass}" />
<inertia ixx="${(1/12) * mass * (y*y+z*z)}" ixy="0.0" ixz="0.0"
iyy="${(1/12) * mass * (x*x+z*z)}" iyz="0.0"
izz="${(1/12) * mass * (x*x+y*y)}" />
</inertial>
</xacro:macro>
<xacro:macro name="inertial_cylinder" params="mass length radius *origin">
<inertial>
<xacro:insert_block name="origin"/>
<mass value="${mass}" />
<inertia ixx="${(1/12) * mass * (3*radius*radius + length*length)}" ixy="0.0" ixz="0.0"
iyy="${(1/12) * mass * (3*radius*radius + length*length)}" iyz="0.0"
izz="${(1/2) * mass * (radius*radius)}" />
</inertial>
</xacro:macro>
</robot>

View File

@ -3,11 +3,11 @@
<xacro:arg name="prefix" default="" /> <xacro:arg name="prefix" default="" />
<xacro:include filename="$(find cps_loki_description)/urdf/diffbot_description.urdf.xacro" /> <xacro:include filename="$(find bot_mini_description)/urdf/diffbot_description.urdf.xacro" />
<xacro:include filename="$(find cps_loki_description)/urdf/diffbot.materials.xacro" /> <xacro:include filename="$(find bot_mini_description)/urdf/diffbot.materials.xacro" />
<xacro:include filename="$(find cps_loki_description)/urdf/odrive.ros2_control.xacro" /> <xacro:include filename="$(find bot_mini_description)/urdf/odrive.ros2_control.xacro" />
<xacro:diffbot prefix="$(arg prefix)" /> <xacro:diffbot prefix="$(arg prefix)" />