Hi folks,
now I was able to compile the new built in functoins in cockpit.cxx:
// Added by Markus Hof on 5. Jan 2004
float get_dme( void )
{
static const SGPropertyNode * dme_node =
gGetNode("/radios/dme/distance-nm");
return dme_node->getFloatValue();
//return 3.69;
}
works fine, or should work fine, I thinks there is an error using DME Class.
DME switch is set 0 by default, if I switch to 1 also Webinterface (--httpd)
show also switch=0 and distance=0.
If I set switch to 1 using webinterface everthing works fine...
any ideas ??
Quoting Hof Markus <[EMAIL PROTECTED]>:
> Hi erverybody,
>
> I want to add ILS bars and DME indication to HUD. Does anyone (and somebody
> does
> :) know which function to call in hud.cxx for DME.
>
> I used simply in hud.hxx
> extern double get_dist(void);
>
> but dismissed my goal w/ link error.
>
> is there any docu about Objects in FGFS?
>
> thx in advance
> markus
>
>
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
>
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel