Skip to content

Commit

Permalink
[Mujoco][hydrus] fix servo bridge node in launcher for mujoco
Browse files Browse the repository at this point in the history
  • Loading branch information
sugikazu75 committed Oct 18, 2023
1 parent 7423240 commit cc11549
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aerial_robot_simulation/launch/mujoco.launch
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<arg name="headless" default="false" />
<arg name="mujoco_model" default="" />

<!-- mujoco ros controll -->
<!-- mujoco ros control -->
<include file="$(find mujoco_ros_control)/launch/mujoco.launch" >
<arg name="robot_ns" value="$(arg robot_ns)" />
<arg name="headless" value="$(arg headless)"/>
Expand Down
4 changes: 3 additions & 1 deletion robots/hydrus/launch/bringup.launch
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@
</include >

########### Servo Bridge ###########
<node pkg="aerial_robot_model" type="servo_bridge_node" name="servo_bridge" ns="$(arg robot_ns)" output="screen" />
<node pkg="aerial_robot_model" type="servo_bridge_node" name="servo_bridge" ns="$(arg robot_ns)" output="screen" >
<param name="use_mujoco" value="true" if="$(arg mujoco)"/>
</node>

########## Simulation in Gazebo #########
<include file="$(find aerial_robot_simulation)/launch/gazebo.launch" if = "$(eval arg('simulation') and not arg('real_machine') and not arg('mujoco'))" >
Expand Down

0 comments on commit cc11549

Please sign in to comment.