Issues.00132 - lordmundi/wikidoctest GitHub Wiki

00132: update simdata to be generic pathway to variable server comm

« 00131 | Issues | 00133 »

Summary: update simdata to be generic pathway to variable server comm

Created: 2009–02–18 14:00

Status: Released

Category: Request

From: frankie

Version: 2.0

Released_In: 2.1

Description:

as we move toward variable server communication with sims, we already have a capability to read in an API file which maps sim variables to doug nodes and then gets source data from a recorded data file. The logical extension is to opt to use a live connection to a sim (maybe multiple sims in the future) and use that as a data source.

with appropriate auto-connect settings on startup and such, this could satisfy the move to variable server communication without requiring the split we have had between simdata driven nodes and overlays and live sim driven nodes and overlays.

this would require a couple of updates to the API which would also be very useful. First would be the capability to map a sim variable to a DOUG tcl variable (right now you can only map sim variables to doug nodes). This would allow a more generic capability to be used in overlays or generic scripts.

it would also require the ability to test for variable existence in the sim before trying to make a mapping. THis is because the api files contain a superset of all possible variable mappings, which could span multiple sims. THe ability to test for a variable's existence is supposed to be in the latest TRICK versions, although I have not used it yet

lastly, being able to bring over 1d and 2d arrays will be needed because many of the items for orbital bodies require rotation matrices. the api file would need some clean way to specify a 2d array and the dimensions and the associated tcl array to put it in.


Comments

frankie October 29, 2009, at 11:00 AM: The first cut of this capability is now available. Documentation of the new functionality is here:


« 00131 | Issues | 00133 »

Associated Commits