-
Notifications
You must be signed in to change notification settings - Fork 9
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
Conversation
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): |
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 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?
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.
Done. Also I added new argument into MissionXML constructor: path to the XML file, so that mission can be built at initialization
mc.discreteMove()
.load_mission()
the mission can be built from given XML file. The functionality was tested on cliff walking tutorial from project malmo https://github.com/microsoft/malmo/blob/master/Malmo/samples/Python_examples/tutorial_6.xml@CICS-Oleg