Skip to content
Discussion options

You must be logged in to vote

The launch file of the template project is configured with required="true" option to launch the main algorithm:
https://github.com/devrt/robocup-at-home-2021-challenge/blob/main/robocup_challenge/launch/run.launch#L2

So if you exit from the main algorithm (by using sys.exit() API) simulation will be stopped at that point and return the result.
Monitoring the simulation time by rospy time API is recommended.

We also observe some algorithm does not stop even if the simulation server sends a kill signal to them which may be caused by a memory leak problem inside the algorithm.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TomohiroOno33
Comment options

Answer selected by TomohiroOno33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants