self.s1.sendto(databytes,("127.0.0.1",5500))
I am writing this code to send values to flight gear.
Input protocol file is:
- Code: Select all
<?xml version="1.0"?>
<PropertyList>
<generic>
<input>
<line_separator>newline</line_separator>
<var_separator>$</var_separator>
<chunk>
<node>/velocities/airspeed-kt</node>
<type>double</type>
<format>%f</format>
</chunk>
<chunk>
<node>/position/altitude-ft</node>
<type>double</type>
<format>%f</format>
</chunk>
<chunk>
<node>/orientation/heading-deg</node>
<type>double</type>
<format>%f</format>
</chunk>
</input>
</generic>
</PropertyList>
but its not changing.
I am running flight gear with fdm=external.
Please help me.