Open brucecrevensten opened 10 years ago
More notes -- we need to create some bridge object that can answer questions like "are you flying?" or "is your battery critical?" by referencing the actual mavlink JS implementation. So we need to pull down the mavlink.js file via browerify, or something, and then bridge that to the generic platform model.
Detail, fix up places in platform.js looking at MAVLink terms.
Also, anywhere on the client-side code that we need it, make sure we're sharing enumeration/mapping objects between client/server. i.e. no magic numbers, please.
Idea being that the client shouldn't watch specific mavlink messages, but instead an abstraction of the platform, and it should be kept in sync with the server -- like how the UDL on the server abstracts away the connection type (mavlink flavors etc).