Skip to content

Commit

Permalink
Fix optenv for launch file
Browse files Browse the repository at this point in the history
  • Loading branch information
Rick-v-E committed Jan 18, 2024
1 parent bf938a4 commit c856231
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ros-noetic-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: ros-noetic

on:
workflow_dispatch:
branches:
- main
pull_request:
branches:
- main
Expand Down
2 changes: 1 addition & 1 deletion launch/simulation.launch
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<arg name="gui" default="true" />
<arg name="paused" default="false" />
<arg name="headless" default="false" />
<arg name="world_path" default="$(optenv ROS_HOME ~/.ros)/virtual_maize_field/"/>
<arg name="world_path" default="$(eval optenv('ROS_HOME', env('HOME')+'/.ros')+'/virtual_maize_field/')" />
<arg name="world_name" default="generated.world"/>

<!-- Launch Gazebo with the specified world -->
Expand Down

0 comments on commit c856231

Please sign in to comment.