Sign inSign up

pedrobarbeiro/gcs-simulator

By pedrobarbeiro

Updated 5 months ago

Web-based drone fleet simulator.

Image
Internet of things
0

323

pedrobarbeiro/gcs-simulator repository overview

DroneSim — Fleet Simulator

Web-based drone fleet simulator. Connects to an external WebSocket server and streams telemetry for one or more configurable virtual vehicles.


Quick Start

docker run --name simulator -p 8501:8501 pedrobarbeiro/gcs-simulator

Open http://localhost:8501 in your browser.


Usage

  1. Set the WebSocket URL to your server (e.g. ws://192.168.1.10:8080)
  2. Add one or more vehicles — configure ID, position, battery, gimbal, and all telemetry fields
  3. Click Start Simulation

Each vehicle connects independently to the WebSocket server and sends telemetry at 10 Hz. Vehicles automatically retry the connection if the server is unreachable.


Configuration

All settings are available through the web UI. The following defaults can be overridden via environment variables:

VariableDefaultDescription
DEFAULT_WS_URLws://host.docker.internal:8080WebSocket server URL
DEFAULT_LAT39.728784Default spawn latitude
DEFAULT_LNG-8.68938Default spawn longitude

When running in Docker, use the host machine's LAN IP or host.docker.internal instead of 127.0.0.1 for the WebSocket URL.


Ports

PortDescription
8501Web UI

Tag summary

Content type

Image

Digest

sha256:4a9e7eeaa

Size

132.6 MB

Last updated

5 months ago

docker pull pedrobarbeiro/gcs-simulator