arctic-fire-development / dapper-gcs

node.js + HTML5 Ground Control Station for unmanned vehicles.
Other
9 stars 7 forks source link

Refactor client/server platform bridge #122

Open brucecrevensten opened 10 years ago

brucecrevensten commented 10 years ago

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).

brucecrevensten commented 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.

brucecrevensten commented 10 years ago

Detail, fix up places in platform.js looking at MAVLink terms.

brucecrevensten commented 10 years ago

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.