|
From: www2 <ww...@wo...> - 2023-06-12 08:26:10
|
Thanks james I like to get lat, lon, and alt and roll, yaw, and pitch data. Current testing with some boilerplate code for interacting over websocets[1] and i use /sim/time/gmt as my test path in the prop tree. But i expect that /sim/time/gmt update 1 a second but some time have no update for a few seconds. I can run a test later today. Jean-Paul Anceaux (www2) [1] https://pastebin.com/MqbNXcsF Op 12-06-2023 om 10:10 schreef James Turner: > > >> On 9 Jun 2023, at 01:25, www2 <ww...@wo...> wrote: >> >> He all is there a way to set the update rate for websockets? > > It’s somewhat event-based.which part of it do you mean? Being notified > of property changes maybe? That does indeed have a rate, not sure if > it’s configurable globally or per-connection. > > A better question might be, what are you trying to do? If you need 60hz > updates, web-sockets can still wrok (I use it for remote canvas) but it > has a bit of CPU hit for sure. > > Kind regards, > James > > > _______________________________________________ > Flightgear-devel mailing list > Fli...@li... > https://lists.sourceforge.net/lists/listinfo/flightgear-devel |