|
From: Vivian M. <viv...@li...> - 2008-10-10 12:52:13
|
gerard robin wrote > A question, may be to Vivian. > > About one carrier feature <property>/gear/launchbar/state which is wanted > by > the JBD animation. > i wonder if it won't be possible to replace the text constant value > "Engaged" > with a boolean value, into the carrier program ? > > Working with JSBSIm FDM which don't like text constant value, it is > unable > to process it. > So from the boolean value coming from JSBSim i have to listen it, and > to > convert with a specific Nasal script , which is tricky. > ===> > from > /fdm/jsbsim/launchbar/launch-bar-state ( 1 or 0 ) > to > /gear/launchbar/state (Engaged or Disengaged) > <==== > > This only necessary for animation, nothing else :) > YASim launchbar status is "Engaged"/"Launching"/"Completed"/"Disengaged" so I don't think a change to Bool is trivial. YASim does use the status. However a nasal listener is simple and quick to implement. Don't see a problem with that as a solution, particularly as it is only for animation. Vivian |