-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DMW-Thesis #15
base: main
Are you sure you want to change the base?
DMW-Thesis #15
Conversation
…v variable within the new session i.e. for docker names
…th special chars.
ea5eb73
to
b5c1539
Compare
parser.add_argument( | ||
"-n", | ||
"--number", | ||
help="the number to append to each session name within the config file. used for multi robot setups. Can also be used within sessions as a env_variable. this is used as a unique ros domain id", | ||
default="", | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit hesitant to just call this number
Maybe we should rather call this session_id_no
or session_prefix_no
or something
We should maybe also parse this argument as an integer explicitly to have some type checking
It is later used as ROS_DOMAIN_ID
- is this really guaranteed to be unique?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/4am-robotics/orga/wiki/ROS-Domain-Ids starts with 7
I'll add reserved
for 0-6
so no one is going to assign those ROS_DOMAIN_ID
s
👉 https://github.com/4am-robotics/orga/wiki/ROS-Domain-Ids/3025d5cc6f7d29fcc6cc63d32e79c96a6bffd74a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or maybe uuid?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would lean towards session_prefix_no
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instance_id
it is - as discussed with @Odin-byte
the (merge-able) version is provided via #19 |
No description provided.