426 lines
13 KiB
Plaintext
426 lines
13 KiB
Plaintext
<sdf version='1.12'>
|
|
<model name='sentry'>
|
|
<link name='base_link'>
|
|
<inertial>
|
|
<pose>-0.0011065088757396451 -0.001789349112426035 0.18260591715976329 0 0 0</pose>
|
|
<mass>25.350000000000001</mass>
|
|
<inertia>
|
|
<ixx>1.108330048903353</ixx>
|
|
<ixy>-0.00419096875739645</ixy>
|
|
<ixz>0.0062437640236686397</ixz>
|
|
<iyy>1.234650669205128</iyy>
|
|
<iyz>0.010096867597633129</iyz>
|
|
<izz>1.2710893212169621</izz>
|
|
</inertia>
|
|
</inertial>
|
|
<collision name='base_link_fixed_joint_lump__chassis_collision_collision'>
|
|
<pose>0 0 0.125 0 0 0</pose>
|
|
<geometry>
|
|
<box>
|
|
<size>0.57799999999999996 0.52100000000000002 0.25</size>
|
|
</box>
|
|
</geometry>
|
|
</collision>
|
|
<collision name='base_link_fixed_joint_lump__gimbal_collision_collision_1'>
|
|
<pose>0.12 0 0.375 0 0 0</pose>
|
|
<geometry>
|
|
<box>
|
|
<size>0.40000000000000002 0.29999999999999999 0.25</size>
|
|
</box>
|
|
</geometry>
|
|
</collision>
|
|
<visual name='base_link_visual'>
|
|
<pose>0 0 0 0 0 0</pose>
|
|
<geometry>
|
|
<mesh>
|
|
<scale>1 1 1</scale>
|
|
<uri>/home/mzxiang/Gazebo_projects/sentry_nav_dev/src/sentry_sim/meshes/base.stl</uri>
|
|
</mesh>
|
|
</geometry>
|
|
<material>
|
|
<diffuse>0.187500015 0.187500015 0.212500006 1</diffuse>
|
|
<ambient>0.187500015 0.187500015 0.212500006 1</ambient>
|
|
</material>
|
|
</visual>
|
|
<visual name='base_link_fixed_joint_lump__lidar_link_visual_1'>
|
|
<pose>-0.0935 -0.1512 0.4052 0 0 0</pose>
|
|
<geometry>
|
|
<box>
|
|
<size>0.084000000000000005 0.068000000000000005 0.082000000000000003</size>
|
|
</box>
|
|
</geometry>
|
|
<material>
|
|
<diffuse>0.125 0.3125 0.75000006 1</diffuse>
|
|
<ambient>0.125 0.3125 0.75000006 1</ambient>
|
|
</material>
|
|
</visual>
|
|
<sensor name='imu' type='imu'>
|
|
<topic>imu</topic>
|
|
<update_rate>100</update_rate>
|
|
<always_on>true</always_on>
|
|
<pose>0 0 0.14999999999999999 0 0 0</pose>
|
|
<gz_frame_id>imu_link</gz_frame_id>
|
|
<imu/>
|
|
</sensor>
|
|
<sensor name='lidar' type='lidar'>
|
|
<topic>scan</topic>
|
|
<update_rate>10</update_rate>
|
|
<always_on>true</always_on>
|
|
<visualize>true</visualize>
|
|
<ray>
|
|
<scan>
|
|
<horizontal>
|
|
<samples>360</samples>
|
|
<resolution>1</resolution>
|
|
<min_angle>-3.1415926500000002</min_angle>
|
|
<max_angle>3.1415926500000002</max_angle>
|
|
</horizontal>
|
|
<vertical>
|
|
<samples>40</samples>
|
|
<resolution>1</resolution>
|
|
<min_angle>-0.12217304800000001</min_angle>
|
|
<max_angle>0.90757121100000004</max_angle>
|
|
</vertical>
|
|
</scan>
|
|
<range>
|
|
<min>0.10000000000000001</min>
|
|
<max>12</max>
|
|
<resolution>0.01</resolution>
|
|
</range>
|
|
<noise>
|
|
<type>gaussian</type>
|
|
<mean>0</mean>
|
|
<stddev>0.01</stddev>
|
|
</noise>
|
|
</ray>
|
|
<pose>-0.0935 -0.1512 0.4052 0 0 0</pose>
|
|
<gz_frame_id>lidar_link</gz_frame_id>
|
|
</sensor>
|
|
<sensor name='scan2d' type='lidar'>
|
|
<topic>scan2d</topic>
|
|
<update_rate>10</update_rate>
|
|
<always_on>true</always_on>
|
|
<visualize>false</visualize>
|
|
<ray>
|
|
<scan>
|
|
<horizontal>
|
|
<samples>360</samples>
|
|
<resolution>1</resolution>
|
|
<min_angle>-3.1415926500000002</min_angle>
|
|
<max_angle>3.1415926500000002</max_angle>
|
|
</horizontal>
|
|
<vertical>
|
|
<samples>1</samples>
|
|
<resolution>1</resolution>
|
|
<min_angle>0</min_angle>
|
|
<max_angle>0</max_angle>
|
|
</vertical>
|
|
</scan>
|
|
<range>
|
|
<min>0.10000000000000001</min>
|
|
<max>12</max>
|
|
<resolution>0.01</resolution>
|
|
</range>
|
|
<noise>
|
|
<type>gaussian</type>
|
|
<mean>0</mean>
|
|
<stddev>0.01</stddev>
|
|
</noise>
|
|
</ray>
|
|
<pose>-0.0935 -0.1512 0.4052 0 0 0</pose>
|
|
<gz_frame_id>lidar_link</gz_frame_id>
|
|
</sensor>
|
|
</link>
|
|
<joint name='wheel_bl_joint' type='revolute'>
|
|
<pose relative_to='base_link'>-0.16582 0.21351999999999999 0.076200000000000004 0 0 0</pose>
|
|
<parent>base_link</parent>
|
|
<child>wheel_bl</child>
|
|
<axis>
|
|
<xyz>0 1 0</xyz>
|
|
<limit>
|
|
<lower>-10000000000000000</lower>
|
|
<upper>10000000000000000</upper>
|
|
<effort>80</effort>
|
|
<velocity>50</velocity>
|
|
</limit>
|
|
<dynamics>
|
|
<spring_reference>0</spring_reference>
|
|
<spring_stiffness>0</spring_stiffness>
|
|
</dynamics>
|
|
</axis>
|
|
</joint>
|
|
<link name='wheel_bl'>
|
|
<pose relative_to='wheel_bl_joint'>0 0 0 0 0 0</pose>
|
|
<inertial>
|
|
<pose>0 0 0 0 0 0</pose>
|
|
<mass>1.5</mass>
|
|
<inertia>
|
|
<ixx>0.0028453662500000001</ixx>
|
|
<ixy>0</ixy>
|
|
<ixz>0</ixz>
|
|
<iyy>0.0043548300000000014</iyy>
|
|
<iyz>0</iyz>
|
|
<izz>0.0028453662500000001</izz>
|
|
</inertia>
|
|
</inertial>
|
|
<collision name='wheel_bl_collision'>
|
|
<pose>0 0 0 1.5708 0 0</pose>
|
|
<geometry>
|
|
<cylinder>
|
|
<length>0.073099999999999998</length>
|
|
<radius>0.076200000000000004</radius>
|
|
</cylinder>
|
|
</geometry>
|
|
<surface>
|
|
<contact>
|
|
<ode/>
|
|
</contact>
|
|
<friction>
|
|
<ode>
|
|
<mu>1.2</mu>
|
|
<mu2>1.2</mu2>
|
|
</ode>
|
|
</friction>
|
|
</surface>
|
|
</collision>
|
|
<visual name='wheel_bl_visual'>
|
|
<pose>0 0 0 0 0 0</pose>
|
|
<geometry>
|
|
<mesh>
|
|
<scale>1 1 1</scale>
|
|
<uri>/home/mzxiang/Gazebo_projects/sentry_nav_dev/src/sentry_sim/meshes/wheel.stl</uri>
|
|
</mesh>
|
|
</geometry>
|
|
<material>
|
|
<diffuse>0.187500015 0.187500015 0.212500006 1</diffuse>
|
|
<ambient>0.187500015 0.187500015 0.212500006 1</ambient>
|
|
</material>
|
|
</visual>
|
|
</link>
|
|
<joint name='wheel_br_joint' type='revolute'>
|
|
<pose relative_to='base_link'>-0.16663 -0.21288000000000001 0.076200000000000004 0 0 0</pose>
|
|
<parent>base_link</parent>
|
|
<child>wheel_br</child>
|
|
<axis>
|
|
<xyz>0 1 0</xyz>
|
|
<limit>
|
|
<lower>-10000000000000000</lower>
|
|
<upper>10000000000000000</upper>
|
|
<effort>80</effort>
|
|
<velocity>50</velocity>
|
|
</limit>
|
|
<dynamics>
|
|
<spring_reference>0</spring_reference>
|
|
<spring_stiffness>0</spring_stiffness>
|
|
</dynamics>
|
|
</axis>
|
|
</joint>
|
|
<link name='wheel_br'>
|
|
<pose relative_to='wheel_br_joint'>0 0 0 0 0 0</pose>
|
|
<inertial>
|
|
<pose>0 0 0 0 0 0</pose>
|
|
<mass>1.5</mass>
|
|
<inertia>
|
|
<ixx>0.0028453662500000001</ixx>
|
|
<ixy>0</ixy>
|
|
<ixz>0</ixz>
|
|
<iyy>0.0043548300000000014</iyy>
|
|
<iyz>0</iyz>
|
|
<izz>0.0028453662500000001</izz>
|
|
</inertia>
|
|
</inertial>
|
|
<collision name='wheel_br_collision'>
|
|
<pose>0 0 0 1.5708 0 0</pose>
|
|
<geometry>
|
|
<cylinder>
|
|
<length>0.073099999999999998</length>
|
|
<radius>0.076200000000000004</radius>
|
|
</cylinder>
|
|
</geometry>
|
|
<surface>
|
|
<contact>
|
|
<ode/>
|
|
</contact>
|
|
<friction>
|
|
<ode>
|
|
<mu>1.2</mu>
|
|
<mu2>1.2</mu2>
|
|
</ode>
|
|
</friction>
|
|
</surface>
|
|
</collision>
|
|
<visual name='wheel_br_visual'>
|
|
<pose>0 0 0 0 0 0</pose>
|
|
<geometry>
|
|
<mesh>
|
|
<scale>1 1 1</scale>
|
|
<uri>/home/mzxiang/Gazebo_projects/sentry_nav_dev/src/sentry_sim/meshes/wheel.stl</uri>
|
|
</mesh>
|
|
</geometry>
|
|
<material>
|
|
<diffuse>0.187500015 0.187500015 0.212500006 1</diffuse>
|
|
<ambient>0.187500015 0.187500015 0.212500006 1</ambient>
|
|
</material>
|
|
</visual>
|
|
</link>
|
|
<joint name='wheel_fl_joint' type='revolute'>
|
|
<pose relative_to='base_link'>0.16633999999999999 0.21288000000000001 0.076200000000000004 0 0 0</pose>
|
|
<parent>base_link</parent>
|
|
<child>wheel_fl</child>
|
|
<axis>
|
|
<xyz>0 1 0</xyz>
|
|
<limit>
|
|
<lower>-10000000000000000</lower>
|
|
<upper>10000000000000000</upper>
|
|
<effort>80</effort>
|
|
<velocity>50</velocity>
|
|
</limit>
|
|
<dynamics>
|
|
<spring_reference>0</spring_reference>
|
|
<spring_stiffness>0</spring_stiffness>
|
|
</dynamics>
|
|
</axis>
|
|
</joint>
|
|
<link name='wheel_fl'>
|
|
<pose relative_to='wheel_fl_joint'>0 0 0 0 0 0</pose>
|
|
<inertial>
|
|
<pose>0 0 0 0 0 0</pose>
|
|
<mass>1.5</mass>
|
|
<inertia>
|
|
<ixx>0.0028453662500000001</ixx>
|
|
<ixy>0</ixy>
|
|
<ixz>0</ixz>
|
|
<iyy>0.0043548300000000014</iyy>
|
|
<iyz>0</iyz>
|
|
<izz>0.0028453662500000001</izz>
|
|
</inertia>
|
|
</inertial>
|
|
<collision name='wheel_fl_collision'>
|
|
<pose>0 0 0 1.5708 0 0</pose>
|
|
<geometry>
|
|
<cylinder>
|
|
<length>0.073099999999999998</length>
|
|
<radius>0.076200000000000004</radius>
|
|
</cylinder>
|
|
</geometry>
|
|
<surface>
|
|
<contact>
|
|
<ode/>
|
|
</contact>
|
|
<friction>
|
|
<ode>
|
|
<mu>1.2</mu>
|
|
<mu2>1.2</mu2>
|
|
</ode>
|
|
</friction>
|
|
</surface>
|
|
</collision>
|
|
<visual name='wheel_fl_visual'>
|
|
<pose>0 0 0 0 0 0</pose>
|
|
<geometry>
|
|
<mesh>
|
|
<scale>1 1 1</scale>
|
|
<uri>/home/mzxiang/Gazebo_projects/sentry_nav_dev/src/sentry_sim/meshes/wheel.stl</uri>
|
|
</mesh>
|
|
</geometry>
|
|
<material>
|
|
<diffuse>0.187500015 0.187500015 0.212500006 1</diffuse>
|
|
<ambient>0.187500015 0.187500015 0.212500006 1</ambient>
|
|
</material>
|
|
</visual>
|
|
</link>
|
|
<joint name='wheel_fr_joint' type='revolute'>
|
|
<pose relative_to='base_link'>0.16553000000000001 -0.21351999999999999 0.076200000000000004 0 0 0</pose>
|
|
<parent>base_link</parent>
|
|
<child>wheel_fr</child>
|
|
<axis>
|
|
<xyz>0 1 0</xyz>
|
|
<limit>
|
|
<lower>-10000000000000000</lower>
|
|
<upper>10000000000000000</upper>
|
|
<effort>80</effort>
|
|
<velocity>50</velocity>
|
|
</limit>
|
|
<dynamics>
|
|
<spring_reference>0</spring_reference>
|
|
<spring_stiffness>0</spring_stiffness>
|
|
</dynamics>
|
|
</axis>
|
|
</joint>
|
|
<link name='wheel_fr'>
|
|
<pose relative_to='wheel_fr_joint'>0 0 0 0 0 0</pose>
|
|
<inertial>
|
|
<pose>0 0 0 0 0 0</pose>
|
|
<mass>1.5</mass>
|
|
<inertia>
|
|
<ixx>0.0028453662500000001</ixx>
|
|
<ixy>0</ixy>
|
|
<ixz>0</ixz>
|
|
<iyy>0.0043548300000000014</iyy>
|
|
<iyz>0</iyz>
|
|
<izz>0.0028453662500000001</izz>
|
|
</inertia>
|
|
</inertial>
|
|
<collision name='wheel_fr_collision'>
|
|
<pose>0 0 0 1.5708 0 0</pose>
|
|
<geometry>
|
|
<cylinder>
|
|
<length>0.073099999999999998</length>
|
|
<radius>0.076200000000000004</radius>
|
|
</cylinder>
|
|
</geometry>
|
|
<surface>
|
|
<contact>
|
|
<ode/>
|
|
</contact>
|
|
<friction>
|
|
<ode>
|
|
<mu>1.2</mu>
|
|
<mu2>1.2</mu2>
|
|
</ode>
|
|
</friction>
|
|
</surface>
|
|
</collision>
|
|
<visual name='wheel_fr_visual'>
|
|
<pose>0 0 0 0 0 0</pose>
|
|
<geometry>
|
|
<mesh>
|
|
<scale>1 1 1</scale>
|
|
<uri>/home/mzxiang/Gazebo_projects/sentry_nav_dev/src/sentry_sim/meshes/wheel.stl</uri>
|
|
</mesh>
|
|
</geometry>
|
|
<material>
|
|
<diffuse>0.187500015 0.187500015 0.212500006 1</diffuse>
|
|
<ambient>0.187500015 0.187500015 0.212500006 1</ambient>
|
|
</material>
|
|
</visual>
|
|
</link>
|
|
<plugin name='gz::sim::systems::MecanumDrive' filename='gz-sim-mecanum-drive-system'>
|
|
<front_left_joint>wheel_fl_joint</front_left_joint>
|
|
<front_right_joint>wheel_fr_joint</front_right_joint>
|
|
<back_left_joint>wheel_bl_joint</back_left_joint>
|
|
<back_right_joint>wheel_br_joint</back_right_joint>
|
|
<wheel_separation>0.4263</wheel_separation>
|
|
<wheelbase>0.3323</wheelbase>
|
|
<wheel_radius>0.0762</wheel_radius>
|
|
<max_linear_velocity>2.0</max_linear_velocity>
|
|
<max_angular_velocity>4.0</max_angular_velocity>
|
|
<odom_topic>/odom</odom_topic>
|
|
<odom_publish_frequency>50</odom_publish_frequency>
|
|
<frame_id>odom</frame_id>
|
|
</plugin>
|
|
<frame name='imu_joint' attached_to='base_link'>
|
|
<pose>0 0 0.14999999999999999 0 0 0</pose>
|
|
</frame>
|
|
<frame name='imu_link' attached_to='imu_joint'>
|
|
<pose>0 0 0 0 0 0</pose>
|
|
</frame>
|
|
<frame name='lidar_joint' attached_to='base_link'>
|
|
<pose>-0.0935 -0.1512 0.4052 0 0 0</pose>
|
|
</frame>
|
|
<frame name='lidar_link' attached_to='lidar_joint'>
|
|
<pose>0 0 0 0 0 0</pose>
|
|
</frame>
|
|
</model>
|
|
</sdf>
|