-
Notifications
You must be signed in to change notification settings - Fork 15
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
Items to follw up on for Scenarios #254
Comments
A few thoughts on this. I would also be happy to simplify / streamline some the simulation properties to bring them more inline to what is directly relevant for Open-RMF / the site editor, for example, looking at a slotcar tag from TinyRobot:
So it can be probably simplified to:
|
Good call, I've updated the description slightly so that I think we should continue using
This is a fair point. I noticed I think in the long term we should consider having |
Interesting, I can't remember the exact reason for this choice other than simplicity / API convenience, on the top of my head:
So for example let's say we have an element and we want to look for a child called
While in XMLTree I believe it would be something like:
|
Unless I'm misunderstanding it looks like a vector of But this is pretty off-topic for this issue ticket, so I've opened open-rmf/sdf_rust_experimental#17 to continue the conversation if there's any interest in that in the future. |
This issue tracks follow-up action items for #242
Option<&Parent>
OptionalModelProperties
should be refactoredDifferentialDrive
orMobileRobotMarker
MobileRobotMarker
should not need to be explicit sinceDifferentialDrive
should always implyMobileRobotMarker
Mobility { kind: String, config: serde_json::Value }
DifferentialDrive
struct and just parse to/from it as neededString
(kind) to a Widget that can read and modify theserde_json::Value
.Task
should not be a model propertyMobility
mentioned above, for exampleTask { kind: String, config: serde_json::Value }
agent.rs
module since it is superseded by model instancesadded_instances
andmove_instances
to a singleincluded_instances
that indicates the locationMobility
component with aDifferentialDrive
configurationpub struct ExportWith(pub HashMap<String, serde_json::Value>)
component for model description entitiespub struct ExportHandlers(pub HashMap<String, ExportHandler>)
resource that contains a map of export handlersExportHandler
is aBoxedSystem<In = (Entity, serde_json::Value), Out = sdformat_rs::XmlElement>
ExportWith
, get the associatedExportHandler
fromExportHandlers
and pass in the(Entity, serde_json::Value)
where theEntity
is for the instance and theserde_json::Value
is from theExportWith
.ExportHandler
gets inserted as an element into the<model>
for the instanceExportHandler
for theslotcar
plugin out of the boxThe text was updated successfully, but these errors were encountered: