-
Notifications
You must be signed in to change notification settings - Fork 94
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
Add Plugin XML Attributes to Mission XML Log #568
base: master
Are you sure you want to change the base?
Conversation
…ated. Need to update the string stream that is written to the mission.xml now so that the changes are saved to the logs
missions/straight.xml
Outdated
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.
Remove this commit later - accidentally added. Used only for testing.
…plugintomissionxml
…e to copy entire entity nodes to the xml file
…trieve end state data in mission parse from sim control
…om the miss2miss file
…into plugintomissionxml
src/simcontrol/SimControl.cpp
Outdated
@@ -70,6 +70,8 @@ | |||
|
|||
#include <scrimmage/msgs/Event.pb.h> | |||
|
|||
//#include <scrimmage/parse/EntEndStates.h> |
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 can't get this removed...?
Play/pause - add it to the far right side if possible and remove the state phrase, instead just say playing or paused. |
…ble to get the motion model tag values through the entity class. Need to now add a similar interface for other plugins. The final step will be checking these values in the mission parse function and adding them to the mission to mission xml file
…l node. Need to add autonomy, sensor, and controller plugin tags now.
…e the originals of the mission xml file
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.
Remove this file after writing the tutorial files
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.
Remove this file after writing the tutorial files
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.
Remove this file after writing the tutorial files
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.
Remove this file after writing the tutorial files
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.
Remove this file after writing the tutorial files
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.
Remove this file after writing the tutorial files
src/entity/Entity.cpp
Outdated
out << motion_model_->name() << endl; | ||
} | ||
} | ||
} // namespace scrimmage | ||
|
||
// Note: All data passed from the mission_xml_get function must be formatted as a map of strings |
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.
Remove this when finished
|
||
2. In the mission XML file's entity block, if the block should be included in the output | ||
mission XML file - meaning future simulations will require the block, the following tag | ||
must be included with the value ``true``. If it is not included, the entity block will be removed |
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 this should say false
WIP