Skip to content

Commit d664373

Browse files
committed
Geat headless mode working
1 parent 2b5e97a commit d664373

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/sam_bot_nav2_gz/launch/waypoint_follower_example_launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def generate_launch_description():
135135
PythonLaunchDescriptionSource(
136136
os.path.join(nav2_bringup_dir, "launch", "rviz_launch.py")
137137
),
138-
condition=IfCondition(use_rviz),
138+
condition=IfCondition(PythonExpression([use_rviz, " and not ", headless])),
139139
launch_arguments={"namespace": ""}.items(),
140140
)
141141

src/sam_bot_nav2_gz/test/test_follow_waypoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def navigation_stack():
6363
"sam_bot_nav2_gz",
6464
"waypoint_follower_example_launch.py",
6565
f"world_file:={world}",
66-
"run_headless:=True",
66+
"headless:=True",
6767
]
6868
print(f"Starting navigation stack with command: {' '.join(launch_cmd)}")
6969

0 commit comments

Comments
 (0)