Skip to content

Conversation

@m3d
Copy link
Member

@m3d m3d commented Sep 11, 2025

The motivation is 5 robots which should behave differently in particular situations. There is already OSGAR_LOGS_PREFIX to distinguish origin of the logfile, so this is step further, that the robots can use this info and behave differently base on this info. OTOH we still want to keep the replay capability and this saving this environment info into config.

Example of new config (automatically filled):

0:00:00.000459 0 b"{'version': 2, 'robot': {'env': {'OSGAR_LOGS_PREFIX': 'm05-'}, 'modules': {'app': {'driver': 'dtc:DARPATriageChallenge', 'in': ['emergency_stop', 'pose2d',

Copy link
Collaborator

@tajgr tajgr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the first view it looks good, but it is critical part and i would like to test it. I won't be able to do that until tomorrow.

@m3d
Copy link
Member Author

m3d commented Sep 11, 2025

For the first view it looks good, but it is critical part and i would like to test it. I won't be able to do that until tomorrow.

sure, no problem - I can continue from this branch and test it a bit more. Thanks m.

Copy link
Collaborator

@tajgr tajgr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's working. Just, it may be also added to the zmqrouter.. But it is not necessary to do it now.

@m3d
Copy link
Member Author

m3d commented Sep 14, 2025

OK, thanks - good point. I would add it once there is a user for it (which could verify the functionality). thank you - merging

@m3d m3d merged commit 0851757 into master Sep 14, 2025
4 checks passed
@m3d m3d deleted the feature/osgar-env branch September 14, 2025 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants