sb-im / sdwc Goto Github PK
View Code? Open in Web Editor NEWMultiple drones and ground station Web consoles 无人机自动机场控制台
Home Page: https://demo.sblab.xyz/#/login/demo/demodemo
License: Mozilla Public License 2.0
Multiple drones and ground station Web consoles 无人机自动机场控制台
Home Page: https://demo.sblab.xyz/#/login/demo/demodemo
License: Mozilla Public License 2.0
Add interface samples
branch: xb-dev
Check 4 items
levels 5: success, primary, warning, danger, error
colour: green, blue, orange, red, black
wind_speed: m/s
weather_realtime: wind_speed < 2 && rainfall_count == 0
weather_forecast: wind_speed < 2 && precipitation.local.intensity == 0
&& precipitation.nearest.distance < 5
weather_realtime: 2 =< wind_speed < 4 && rainfall_count < 5
weather_forecast: 2 =< wind_speed < 4 && precipitation.local.intensity < 0.1
&& precipitation.nearest.distance < 3
weather_realtime: 4 =< wind_speed < 6 && rainfall_count < 10
weather_forecast: 4 =< wind_speed < 6 && precipitation.local.intensity < 0.3
&& precipitation.nearest.distance < 2
weather_realtime: 6 =< wind_speed < 10 && rainfall_count < 15
weather_forecast: 6 =< wind_speed < 10 && precipitation.local.intensity < 0.4
&& precipitation.nearest.distance < 1
Disable run
weather_realtime: 10 =< wind_speed && 15 =< rainfall_count
weather_forecast: 10 =< wind_speed && 0.4 =< precipitation.local.intensity
&& precipitation.nearest.distance < 0
status_air && status_depot ERROR
nodes/:id/status
-> 0
status_map = {
online: 0,
offline: 1,
neterror: 2
}
nodes/:id/rpc/send
-> {"jsonrpc": "2.0", "method": "subtract", "params": [42, 23], "id": "sdwc-1"}
Id must is the Unique id
Id must String
For sdwc:
Id: sdwc-<unique_id>
nodes/:id/rpc/recv
-> {"jsonrpc": "2.0", "result": 19, "id": "sdwc-1"}
Or
-> {"jsonrpc": "2.0", "error": {"code": -32601, "message": "Method not found"}, "id": "sdwc-1"}
nodes/:id/message
-> {"heartbeat": {"battery": {"remain": 99, "voltage": 48280}, "flight": {"status": 3, "speed": 0.08756901323795319, "mode": 0, "time": "111"}, "gps": {"satellites": 4, "lat": 226878281, "height": 2.669999837875366, "type": 3, "lon": 1142245713}}}
almost 5 seconds in my computer
RTSP server may be a better choice.
RTSP web player:
https://github.com/Streamedian/html5_rtsp_player
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.