Skip to content

Commit

Permalink
[Beetle] modified sensor launch to support multi streaming id of mocap
Browse files Browse the repository at this point in the history
  • Loading branch information
sugihara-16 committed Sep 9, 2023
1 parent 75e6b9e commit 652507e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion robots/beetle/launch/bringup.launch
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<arg name="spawn_z" default="0.0"/>
<arg name="spawn_yaw" default="0.0"/>
<arg name="config_dir" default="$(find beetle)/config"/>
<arg name="robot_id" default="1" />
<arg name="robot_id" default="2" />
<arg name="robot_ns" value="beetle$(arg robot_id)" />

########### Parameters ###########
Expand Down Expand Up @@ -78,6 +78,7 @@
<arg name="real_machine" value="$(arg real_machine)" />
<arg name="simulation" value="$(arg simulation)" />
<arg name="robot_ns" value="$(arg robot_ns)" />
<arg name="robot_id" value="$(arg robot_id)"/>
</include >

########### Servo Bridge ###########
Expand Down
6 changes: 4 additions & 2 deletions robots/beetle/launch/include/sensors.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<arg name="real_machine" default="false" />
<arg name="simulation" default="false" />
<arg name="robot_ns" default="gimbalrotor" />

<arg name="robot_id" default="1" />
<group ns="$(arg robot_ns)">

<group if="$(arg real_machine)">
Expand All @@ -17,7 +17,9 @@
</group>

<!-- mocap -->
<include file="$(find aerial_robot_base)/launch/external_module/mocap.launch" />
<include file="$(find aerial_robot_base)/launch/external_module/mocap.launch">
<arg name="robot_id" value="$(arg robot_id)"/>
</include>
</group>

<!-- basic configuration for sensors (e.g. noise sigma) -->
Expand Down

0 comments on commit 652507e

Please sign in to comment.