What I'd like to do is use the JaamSim source for an event manager within an existing publish/subscribe framework that I've developed. Messaging can be from any number of producers, but will ultimately end up at the single consumer. The consumed message will contain the simulation time of the event as well as the event itself (the information needed to create the event).
My idea is this...as the consumer consumes a message, hand it off to JaamSim to be scheduled for execution at some point in the future. When the event is actually processed, it would then be handed off to some other software that would actually handle the guts of the event. So basically, I'm just (for now), attempting to use JaamSim to manage the timing of the events.
This can be thought of as a real-time simulation of events with the simulation end time unknown.
I realize this is pretty vague, but at first glance does JaamSim seem to be a viable choice for my use case?
Thanks,
Brian
Thanks for the reply and I'm glad to hear you think this is do-able.
I'm actually still trying to work out in my head which parts I'd like to leverage from JaamSim and which parts need to be separately developed. For instance, some of the events being consumed would be passed on to a 3D visualization software (NASA World Wind, for example) to be rendered. If possible, one might think of integrating a new View into JaamSim that is actually the World Wind canvas, which also uses Jogl. You can possibly imagine a WorldWindDisplayEntity as well, for example (hopefully I'm on the right track here).
How will JaamSim handle not knowing when the simulation is to end? I imagine that an "EndOfData" message would be produced to indicate data flow is ended, at which point I could add an EndSim (or whatever it is in JaamSim) event to be processed, at which point the simulation would be complete.
The license should not be an issue here.
Thanks again,
Brian
This is due to JaamSim's use of NEWT?
Makes sense. So, are there any examples anywhere of programmatically creating a simulation? Something to give me a jump start? I can surely figure it out from the manual and the source, just curious.
Thanks for your help.
Brian
The unit tests in the SRC/test folder are all pretty minimal examples to get just the event handling set up and working, that framework may be a good jumping off point for you.
Harvey
--
You received this message because you are subscribed to the Google Groups "Jaamsim Users Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jaamsim-user...@googlegroups.com.
Visit this group at http://groups.google.com/group/jaamsim-users.
To view this discussion on the web, visit https://groups.google.com/d/msgid/jaamsim-users/81f1f6de-9cc3-4986-9154-bb914827bb6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.