20,741
edits
(→Serial I/O: https://www.mail-archive.com/flightgear-devel%40lists.sourceforge.net/msg33451.html) |
m (→Serial I/O: https://www.mail-archive.com/flightgear-devel%40lists.sourceforge.net/msg33537.html) |
||
Line 254: | Line 254: | ||
over the network, and talks to your hardware over a serial port and then | over the network, and talks to your hardware over a serial port and then | ||
does all the appropriate data translation as required. | does all the appropriate data translation as required. | ||
The good way to verify if the transmission of float values work is to | |||
print the value in your receiver and compare that to the value of the | |||
property you transmit in FG. | |||
Btw. if your generic protocol is set to use network byte order | |||
(endianness MSB) you have to take that into account when unpacking the | |||
float value. | |||
== Examples == | == Examples == |