Skip to content

Commit 36d0c92

Browse files
committed
using launch file instead py file
1 parent 73f9995 commit 36d0c92

3 files changed

Lines changed: 10 additions & 36 deletions

File tree

src/bitbots_misc/bitbots_bringup/launch/motion.launch

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,11 @@
6060
-->
6161

6262

63-
<!--launch rl policies (currently diabled)
64-
<group if="$(var rl_policies)">
65-
<node pkg="bitbots_rl_motion" exec="run_policies" output="screen">
66-
<param name="use_sim_time" value="$(var sim)"/>
67-
</node>
68-
</group>
69-
-->
63+
<!--launch rl policies -->
64+
<include file="$(find-pkg-share bitbots_rl_motion)/launch/rl_motion.launch">
65+
<arg name="sim" value="$(var sim)"/>
66+
<arg name="viz" value="$(var viz)"/>
67+
</include>
7068

7169
<!-- launch dynup -->
7270
<include file="$(find-pkg-share bitbots_dynup)/launch/dynup.launch">

src/bitbots_motion/bitbots_rl_motion/bitbots_rl_motion/policy_nodes.py

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/bitbots_motion/bitbots_rl_motion/launch/rl_motion.launch

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
<arg name="sim" default="false"/>
33

44
<group unless="$(var sim)">
5-
<node pkg="bitbots_rl_motion" exec="policy_nodes" output="screen" launch-prefix="$(var taskset)">
6-
<param from="$(find-pkg-share bitbots_rl_motion)/configs/wolfgang_dribbling_model_config.yaml" />
5+
<node pkg="bitbots_rl_motion" exec="walk_node" output="screen">
76
<param from="$(find-pkg-share bitbots_rl_motion)/configs/wolfgang_walking_model_config.yaml" />
87
</node>
8+
9+
<node pkg="bitbots_rl_motion" exec="kick_node" output="screen">
10+
<param from="$(find-pkg-share bitbots_rl_motion)/configs/wolfgang_dribbling_model_config.yaml" />
11+
</node>
912
</group>
1013
</launch>

0 commit comments

Comments
 (0)