Keep Gazebo server running without GUI - #67
Open
yeseorizi wants to merge 1 commit into
Open
Conversation
Signed-off-by: yeseorizi <172019512+yeseorizi@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Keep the Gazebo server and entity spawning active when DAVE is launched without the GUI.
Problem
The top-level robot, sensor, and object launch files conditioned the entire Gazebo include on
gui. As a result,gui:=falsedisabled not only the GUI client but also the simulation server. Spawn actions then waited for a world that did not exist.Some child upload launch files also conditioned entity creation on
headless, which prevented models from being inserted in valid server-only runs.Changes
headless:=trueorgui:=false.Validation
Rebased onto
ros2after PR #65 and rebuilt the affected packages in an ARM64 Lyrical / Jetty container.The following four cases passed:
gui:=false headless:=falsegui:=false headless:=truegui:=false headless:=truegui:=false headless:=trueEvery case reported:
pre-commit run --all-filesalso passed.