Skip to content

Commit 9b2079b

Browse files
committed
now moma_corner works, and wheels turn
1 parent bba3a93 commit 9b2079b

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

moma_description/urdf/giraffe.urdf.xacro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<xacro:arg name="load_gripper" default="true" />
88
<xacro:arg name="gazebo" default="true" />
99
<xacro:arg name="arm_id" default="panda" />
10-
<!-- <xacro:arg name="use_nominal_extrinsics" default="false"/> -->
1110

1211
<xacro:include filename="$(find gmp_robot)/config/urdf/gmp.xacro"/>
1312
<xacro:gmp include_control_plugin="true" multiple_robots="true"/>
@@ -27,6 +26,7 @@
2726
use_fixed_camera="$(arg use_fixed_camera)"
2827
use_wrist_camera="$(arg use_wrist_camera)"
2928
use_bota="$(arg use_bota)"
30-
include_control_plugin="true"/>
29+
include_control_plugin="true"
30+
multiple_robots="true"/>
3131

3232
</robot>

moma_description/urdf/panda_arm.xacro

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
fixed_calibration_xyz:='0.890 -0.162 1.293'
2222
fixed_camera_parent_link:='panda_link0'
2323
use_bota:=false
24+
multiple_robots:=false
2425
include_control_plugin:=true,
2526
publish_realsense_extrinsics:=true">
2627

@@ -157,9 +158,11 @@
157158
<plugin name="gazebo_ros_control" filename="libgazebo_ros_control.so">
158159
<controlPeriod>0.001</controlPeriod>
159160
<robotSimType>franka_gazebo/FrankaHWSim</robotSimType>
160-
<robotNamespace>/panda</robotNamespace>
161-
<robotParam>robot_description_arm</robotParam>
162-
<robotDescription>robot_description_arm</robotDescription>
161+
<xacro:if value="${multiple_robots}">
162+
<robotNamespace>/panda</robotNamespace>
163+
<robotParam>robot_description_arm</robotParam>
164+
<robotDescription>robot_description_arm</robotDescription>
165+
</xacro:if>
163166
</plugin>
164167
<self_collide>true</self_collide>
165168
</gazebo>

0 commit comments

Comments
 (0)