32 lines
482 B
Markdown
32 lines
482 B
Markdown
# UDrone
|
|
Flightcondroller for PX4 from browser via mqtt-mavlink bridge
|
|
|
|
## Requiremens
|
|
* Docker (for MQTT server. Also can be run at host without docker)
|
|
* Python 3
|
|
* Nodejs
|
|
|
|
*(full migration to docker in progress)*
|
|
|
|
## Starting
|
|
|
|
### Prepare frontend
|
|
```bash
|
|
npm install
|
|
cd node_modules/mqtt
|
|
npm install
|
|
webpack mqtt.js --output-library mqtt
|
|
npm run build
|
|
```
|
|
|
|
### Prepare backend
|
|
```bash
|
|
docker-compose up
|
|
|
|
```
|
|
|
|
### Run
|
|
```bash
|
|
python3 server/bridge.py
|
|
python3 server/server.py
|
|
``` |