I tried to make a protocol: (newp.xml) :
- Code: Select all
<?xml version="1.0"?>
<PropertyList>
<generic>
<output>
<line_separator>newline</line_separator>
<var_separator>:</var_separator>
<chunk>
<name>trigger</name>
<node>/controls/armament/trigger</node>
<type>bool</type>
</chunk>
<chunk>
<name>trigger1</name>
<node>/controls/armament/trigger1</node>
<type>bool</type>
</chunk>
</output>
<input>
<line_separator>newline</line_separator>
<var_separator>:</var_separator>
<chunk>
<name>trigger</name>
<node>/controls/armament/trigger</node>
<type>bool</type>
</chunk>
<chunk>
<name>trigger1</name>
<node>/controls/armament/trigger1</node>
<type>bool</type>
</chunk>
</input>
</generic>
</PropertyList>
And I launched flightgear with the following commands:
Pc1:(master)
--native-fdm=socket,out,50,192.168.1.52,5510,udp
--native-ctrls=socket,out,50,192.168.1.52,5511,udp
--generic=socket,out,50,192.168.1.52,5512,udp,newp
Pc2:(slave)
--native-fdm=socket,in,50,,5510,udp
--native-ctrls=socket,in,50,,5511,udp
--generic=socket,in,50,,5512,udp,newp
I also tried
slave)
--native-fdm=socket,in,50,,5510,udp
--native-ctrls=socket,in,50,,5511,udp
--generic=socket,in,50,192.168.1.52,5512,udp,newp
***
I also tried
slave)
--native-fdm=socket,in,50,,5510,udp
--native-ctrls=socket,in,50,,5511,udp
--generic=socket,in,50,192.168.1.1,5512,udp,newp
But no results!!!