Skip to content
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

Added discrete movement and utility to build mission from an XML file #180

Merged
merged 30 commits into from
Jan 9, 2025

Conversation

EHAT32
Copy link
Contributor

@EHAT32 EHAT32 commented Dec 23, 2024

@CICS-Oleg

@EHAT32
Copy link
Contributor Author

EHAT32 commented Dec 25, 2024

I believe discrete movement test failed because trueagi-io/Vereya#81 is not accepted yet

import tagilmo.utils.mission_builder as mb
from .xml_util import remove_namespaces

def _createAbout(aboutRoot = None):
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we can move these helper functions into corresponding classes, e.g. createAbout into About.from_xml, _createAgentSection into AgentSection.from_xml etc..

@CICS-Oleg what do you think?

Copy link
Contributor Author

@EHAT32 EHAT32 Jan 9, 2025

Choose a reason for hiding this comment

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

Done. Also I added new argument into MissionXML constructor: path to the XML file, so that mission can be built at initialization

@noskill noskill merged commit 77e1b11 into trueagi-io:main Jan 9, 2025
1 check passed
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