GinGin wrote in Thu Apr 16, 2020 10:07 am:Hey Vinny.
Could you provide more details ?
FG version( 2018 or 2019), What is the visual alarm on the central alarm panel associated with the aural one?
Do you have anyyhing written in the consol ? ( Debug/Nasal Consol) etc
#TAL differences for MM 103 Blanked CDI/ RW range DAz HAC course
if (getprop("/fdm/jsbsim/systems/entry_guidance/guidance-mode") == 2)
{
p_pfd.cdi_dots.setVisible(0);
p_pfd.Daz.setVisible(1);
p_pfd.bearing_HAC_H.setVisible(1);
p_pfd.dist_to_HAC_C.setVisible(1);
delta_az = getprop("/fdm/jsbsim/systems/entry_guidance/delta-azimuth-deg");
hac_c_distance = p_pfd.nd_ref_rem_dist.getValue();
bearing_HAC_H = getprop("/fdm/jsbsim/systems/entry_guidance/target-azimuth-deg");
}
Thorsten wrote in Sun May 10, 2020 6:57 am:Sorry - I don't understand what you mean. Since it is possible to fly TAL without RTLS first, it stands to reason that guidance to the desired landing site is produced and handed to the AP,
So With TAL guidance 2, entry guidance parameters are not yet fed in MM 103 makes no sense to me - we're using the ballistic impact point distance to the landing site to determine MECO during a TAL and we're using the direction to determine the yawing program - so the landing site is known to the AP.
There's no entry-specific parameters computed in MM 103 yet - but that's because we don't need them at this point.
#TAL differences for MM 103 Blanked CDI/ RW range DAz DXtrk
if (getprop("/fdm/jsbsim/systems/entry_guidance/guidance-mode") == 2)
{
p_pfd.cdi_dots.setVisible(0);
p_pfd.dInc.setVisible(0);
p_pfd.Daz.setVisible(1);
p_pfd.bearing_rwy.setVisible(1);
p_pfd.dist_to_rwy.setVisible(1);
var shuttle_pos = geo.aircraft_position();
delta_az = shuttle_pos.course_to (SpaceShuttle.landing_site) - yaw;
bearing_rwy = shuttle_pos.course_to (SpaceShuttle.landing_site) - yaw;
rwy_distance = shuttle_pos.distance_to (SpaceShuttle.landing_site) / 1853.0;
if (SpaceShuttle.landing_site.rwy_sel == 0)
{landing_site_text = SpaceShuttle.landing_site.rwy_pri;}
else
{landing_site_text = SpaceShuttle.landing_site.rwy_sec;}
}
var shuttle_pos = geo.aircraft_position();
Thorsten wrote in Tue May 12, 2020 6:16 am:(I don't know if you know that, but reading from or writing to a property from Nasal is vastly more expensive than about anything else. I believe in one benchmark test I found that one property I/O unit taskes as much time as 1000 evaluations of a sine function.)
Users browsing this forum: No registered users and 2 guests