Skip to content

Commit

Permalink
fix(franka_gazebo): add physics engine launch argument
Browse files Browse the repository at this point in the history
This commit gives users the ability to set the Gazebo physics engine
through the `physics` launch file argument.
  • Loading branch information
rickstaa committed Mar 23, 2024
1 parent 86f2254 commit 826abc8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Requires `libfranka` >= 0.8.0
* `franka_description`: `<xacro:franka_robot/>` macro now supports to customize the `parent` frame and its `xyz` + `rpy` offset
* `franka_hw`: Fix the bug where the previous controller is still running after switching the controller. ([#326](https://github.com/frankaemika/franka_ros/issues/326))
* `franka_gazebo`: Add `set_franka_model_configuration` service.
* `franka_gazebo`: Add Gazebo simulation physics engine command line argument

## 0.10.1 - 2022-09-15

Expand Down
2 changes: 2 additions & 0 deletions franka_gazebo/launch/panda.launch
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<arg name="paused" default="false" doc="Should the simulation directly be stopped at 0s?" />
<arg name="world" default="worlds/empty.world" doc="Filename to a SDF World for gazebo to use" />
<arg name="rviz" default="false" doc="Should RVIz be launched?" />
<arg name="physics" default="ode" doc="The physics engine used by gazebo"/> <!--Phyics engines: ode|dart-->

<!-- Robot Customization -->
<arg name="arm_id" default="panda" doc="Name of the robot to spawn" />
Expand Down Expand Up @@ -38,6 +39,7 @@
<arg name="paused" value="$(arg paused)" />
<arg name="world" value="$(arg world)" />
<arg name="rviz" value="$(arg rviz)" />
<arg name="physics" value="$(arg physics)" />

<arg name="robot" value="panda" />
<arg name="arm_id" value="$(arg arm_id)" />
Expand Down
2 changes: 2 additions & 0 deletions franka_gazebo/launch/robot.launch
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<arg name="paused" default="false" doc="Should the simulation directly be stopped at 0s?" />
<arg name="world" default="worlds/empty.world" doc="Filename to a SDF World for gazebo to use" />
<arg name="rviz" default="false" doc="Should RVIz be launched?" />
<arg name="physics" default="ode" doc="The physics engine used by gazebo"/> <!--Phyics engines: ode|dart-->

<!-- Robot Customization -->
<arg name="robot" doc="Which robot to spawn (one of {panda,fr3})" />
Expand Down Expand Up @@ -40,6 +41,7 @@
<arg name="paused" value="true"/>
<arg name="gui" value="$(eval not arg('headless'))"/>
<arg name="use_sim_time" value="true"/>
<arg name="physics" value="$(arg physics)"/>
</include>

<param name="robot_description"
Expand Down

0 comments on commit 826abc8

Please sign in to comment.