Skip to content

Commit

Permalink
[Beetle] change robot name in multi egent world
Browse files Browse the repository at this point in the history
  • Loading branch information
sugihara-16 committed Nov 18, 2023
1 parent 60782fd commit 33b3907
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
16 changes: 6 additions & 10 deletions robots/beetle/launch/assembly_tasks/four_module_test.launch
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<launch>
<arg name="headless" default="false"/>
<arg name="spawn_x_1" default="0.0"/>
<arg name="spawn_y_1" default="1.5"/>
<arg name="spawn_x_1" default="-2.0"/>
<arg name="spawn_y_1" default="0.0"/>
<arg name="spawn_yaw_1" default="0.0"/>
<arg name="spawn_x_2" default="0.0"/>
<arg name="spawn_x_2" default="-1.0"/>
<arg name="spawn_y_2" default="0.0"/>
<arg name="spawn_yaw_2" default="0.0"/>
<arg name="spawn_x_3" default="1.0"/>
<arg name="spawn_x_3" default="0.0"/>
<arg name="spawn_y_3" default="0.0"/>
<arg name="spawn_yaw_3" default="0.0"/>
<arg name="spawn_x_4" default="3.5"/>
<arg name="spawn_y_4" default="1.5"/>
<arg name="spawn_x_4" default="1.0"/>
<arg name="spawn_y_4" default="0.0"/>
<arg name="spawn_yaw_4" default="0.0"/>
<group>
<include file="$(find beetle)/launch/bringup.launch">
Expand All @@ -24,7 +24,6 @@
<arg name="spawn_x" default="$(arg spawn_x_1)"/>
<arg name="spawn_y" default="$(arg spawn_y_1)"/>
<arg name="spawn_yaw" default="$(arg spawn_yaw_1)"/>
<!-- <arg name="airframe" default="tri"/> -->
</include>

<include file="$(find beetle)/launch/bringup.launch">
Expand All @@ -37,7 +36,6 @@
<arg name="spawn_x" default="$(arg spawn_x_2)"/>
<arg name="spawn_y" default="$(arg spawn_y_2)"/>
<arg name="spawn_yaw" default="$(arg spawn_yaw_2)"/>
<!-- <arg name="airframe" default="tri"/> -->
</include>

<include file="$(find beetle)/launch/bringup.launch">
Expand All @@ -50,7 +48,6 @@
<arg name="spawn_x" default="$(arg spawn_x_3)"/>
<arg name="spawn_y" default="$(arg spawn_y_3)"/>
<arg name="spawn_yaw" default="$(arg spawn_yaw_3)"/>
<!-- <arg name="airframe" value="tri"/> -->
</include>

<include file="$(find beetle)/launch/bringup.launch">
Expand All @@ -63,7 +60,6 @@
<arg name="spawn_x" default="$(arg spawn_x_4)"/>
<arg name="spawn_y" default="$(arg spawn_y_4)"/>
<arg name="spawn_yaw" default="$(arg spawn_yaw_4)"/>
<!-- <arg name="airframe" default="tri"/> -->
</include>
</group>

Expand Down
9 changes: 3 additions & 6 deletions robots/beetle/launch/assembly_tasks/three_module_test.launch
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<arg name="spawn_y_3" default="0.0"/>
<arg name="spawn_yaw_3" default="0.0"/>
<group>
<include file="$(find gimbalrotor)/launch/bringup.launch">
<include file="$(find beetle)/launch/bringup.launch">
<arg name="robot_id" value="1"/>
<arg name="real_machine" value="false"/>
<arg name="simulation" value="true"/>
Expand All @@ -21,10 +21,9 @@
<arg name="spawn_x" default="$(arg spawn_x_1)"/>
<arg name="spawn_y" default="$(arg spawn_y_1)"/>
<arg name="spawn_yaw" default="$(arg spawn_yaw_1)"/>
<!-- <arg name="airframe" default="tri"/> -->
</include>

<include file="$(find gimbalrotor)/launch/bringup.launch">
<include file="$(find beetle)/launch/bringup.launch">
<arg name="robot_id" value="2"/>
<arg name="real_machine" value="false"/>
<arg name="simulation" value="true"/>
Expand All @@ -34,10 +33,9 @@
<arg name="spawn_x" default="$(arg spawn_x_2)"/>
<arg name="spawn_y" default="$(arg spawn_y_2)"/>
<arg name="spawn_yaw" default="$(arg spawn_yaw_2)"/>
<!-- <arg name="airframe" default="tri"/> -->
</include>

<include file="$(find gimbalrotor)/launch/bringup.launch">
<include file="$(find beetle)/launch/bringup.launch">
<arg name="robot_id" value="3"/>
<arg name="real_machine" value="false"/>
<arg name="simulation" value="true"/>
Expand All @@ -47,7 +45,6 @@
<arg name="spawn_x" default="$(arg spawn_x_3)"/>
<arg name="spawn_y" default="$(arg spawn_y_3)"/>
<arg name="spawn_yaw" default="$(arg spawn_yaw_3)"/>
<!-- <arg name="airframe" value="tri"/> -->
</include>

</group>
Expand Down

0 comments on commit 33b3907

Please sign in to comment.