Property Tree/Native Protocol Slaving: Difference between revisions

Jump to navigation Jump to search
m
(→‎Asymmetric View Frustrums: http://www.mail-archive.com/flightgear-devel@flightgear.org/msg30981.html)
Line 638: Line 638:
You can set /sim/time/cur-time-override to override the current time. If you do so, you also have to do this continously to keep the time up-to-date. The  
You can set /sim/time/cur-time-override to override the current time. If you do so, you also have to do this continously to keep the time up-to-date. The  
value to feed into this property is the return value of the posix time() function. Unfortunately there is no output property for this values. The other input property for setting time is /sim/time/warp to set the offset to the system's clock.
value to feed into this property is the return value of the posix time() function. Unfortunately there is no output property for this values. The other input property for setting time is /sim/time/warp to set the offset to the system's clock.
Also see:
* http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg33861.html
* http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg38274.html
* http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg38675.html
* http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg40068.html


== Troubleshooting ==
== Troubleshooting ==
Check the hardwired version number in the packet. That will get incremented when the structure changes. It's also there if you want to get crazy and build a system that can read the packet version and decode it differently for different versions. I suspect there probably was a change
Check the hardwired version number in the packet. That will get incremented when the structure changes. It's also there if you want to get crazy and build a system that can read the packet version and decode it differently for different versions. I suspect there probably was a change

Navigation menu