Repository navigation
v0.1.0
First release of MAVSim Viewer, a lightweight 3D viewer for MAVLink-based flight simulators.
Core
- Real-time 3D visualization from
HIL_STATE_QUATERNIONover UDP - Multi-vehicle swarm support (up to 16 simultaneous vehicles)
- Cross-platform: macOS, Linux, Windows
Vehicle Models
- Auto-detection from MAV_TYPE (quadrotor, hexacopter, FPV quad, fixed-wing, tailsitter, rover)
- Runtime model swapping with
M/Shift+M - Directional lighting and per-view-mode arm colors (classic/modern toggle with
K)
Camera & Views
- Chase and FPV camera modes with mouse orbit and FOV zoom
- Three view modes: Grid, Rez, Snow (high-contrast outdoor)
- Orthographic side panel and fullscreen ortho views (
Alt+1-7) - Procedural terrain texture (
Fto toggle)
HUD & Telemetry
- Compass and attitude indicator instruments
- 7-item telemetry bar: HDG, ROLL, PITCH, ALT, GS, AS, VS
- Multi-vehicle selection (
TAB,[/],1-9) and HUD pinning (Shift+1-9) - Connection status indicator and sim timer
- Debug performance overlay (
Ctrl+D)
Trails
- Three trail modes: off, directional trail, speed ribbon
- Adaptive sampling (dense on turns, sparse on straights)
- Ground track projection (
G)
ULog Replay
- Play back PX4
.ulgflight logs with full transport controls - Dead-reckoning interpolation for smooth playback (
I) - Flight mode markers on timeline
- Loop, seek, and speed controls
Install
macOS (Homebrew):
brew tap mavlink/tap
brew install mavlink/tap/mavsim-viewer
Linux (Debian/Ubuntu):
sudo dpkg -i mavsim-viewer-0.1.0-amd64.deb
From source:
git clone --recursive https://github.com/mavlink/mavsim-viewer
cd mavsim-viewer && cmake -B build && cmake --build build
./build/mavsim-viewer