If you use the replay plugin and you're also connected to a real drone, you'll end up with two conflicting sources of navdata events running in parallel:
|
client.emit('navdata', JSON.parse(data)); |
|
io.sockets.emit('navdata', latestNavData); |
The observed effect of this is the HUD and any other user interface (or autonomous navigation) based on navdata will jump between two vehicle states.
If you use the replay plugin and you're also connected to a real drone, you'll end up with two conflicting sources of navdata events running in parallel:
ardrone-webflight/plugins/replay/index.js
Line 45 in 776f845
ardrone-webflight/app.js
Line 110 in 8f81e55
The observed effect of this is the HUD and any other user interface (or autonomous navigation) based on navdata will jump between two vehicle states.