Feature/houston -- an alternative process manager#609
Draft
mvukov wants to merge 37 commits into
Draft
Conversation
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.
I am exploring, for a while now, how to use an alternative to the native ROS process mgmt. Some stuff that bothers me with the current situation:
I kinda think that most of the deployment checks can be done in build time -- if a launch target builds it should mean that the launch config is OK. No surprises.
Searching the web the best thing I could find is https://github.com/malyn/groundcontrol/tree/main. I imported it here and patched since build broke with a newer rust compiler.
Demonstration
The zero-copy example is a bit more complicated, and therefore more interesting.
One of the nice things about groundcontrol is that the processes are torn down in the reverse order.
This is very very early prototype but hopefully illustrates ideas.
Pay attention that all Python launch stuff is basically executed during build in exec config. No Python dependencies in runtime at all (at least for those two examples). Didn't want to invent a DSL nor use YAML or something third. Deployment composition is done in Python for convenience.
@ahans @lalten @rdelfin WDYT?