-
Notifications
You must be signed in to change notification settings - Fork 16
/
robot_system.gazebo.xacro
37 lines (34 loc) · 1.24 KB
/
robot_system.gazebo.xacro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0"?>
<robot name="robot_system" xmlns:xacro="http://www.ros.org/wiki/xacro">
<xacro:macro name="robot_system_gazebo" params="robot_prefix robot_parameter_name">
<gazebo reference="${robot_prefix}base_link">
<turnGravityOff>true</turnGravityOff>
</gazebo>
<gazebo reference="${robot_prefix}shoulder_link">
<turnGravityOff>true</turnGravityOff>
</gazebo>
<gazebo reference="${robot_prefix}upper_arm_link">
<turnGravityOff>true</turnGravityOff>
</gazebo>
<gazebo reference="${robot_prefix}forearm_link">
<turnGravityOff>true</turnGravityOff>
</gazebo>
<gazebo reference="${robot_prefix}wrist_1_link">
<turnGravityOff>true</turnGravityOff>
</gazebo>
<gazebo reference="${robot_prefix}wrist_2_link">
<turnGravityOff>true</turnGravityOff>
</gazebo>
<gazebo reference="${robot_prefix}wrist_3_link">
<turnGravityOff>true</turnGravityOff>
</gazebo>
<gazebo reference="${robot_prefix}ee_link">
<turnGravityOff>true</turnGravityOff>
</gazebo>
<gazebo>
<plugin name="gazebo_ros_control" filename="libgazebo_ros_control.so">
<robotParam>${robot_parameter_name}</robotParam>
</plugin>
</gazebo>
</xacro:macro>
</robot>