Data Sources
Hawkeye consumes telemetry from two sources: live MAVLink streams (from PX4 SITL) and ULog file replay.
MAVLink messages (live mode)
| Message | Purpose |
|---|---|
HEARTBEAT | Vehicle type, arming state, autopilot mode |
HIL_STATE_QUATERNION | Position, attitude, velocity, airspeed (PX4 SIH, until the EKF position arrives) |
ATTITUDE_QUATERNION | Attitude from the EKF |
GLOBAL_POSITION_INT | Position and velocity from the EKF |
STATUSTEXT | Warning and log messages (severity 0–7) |
HOME_POSITION | Authoritative home location |
The vehicle pose comes from one source at a time. On connect Hawkeye requests ATTITUDE_QUATERNION and GLOBAL_POSITION_INT at 50 Hz. These carry the EKF pose, the same estimate the log and the replay show. A PX4 SIH sim also streams HIL_STATE_QUATERNION, the simulator's ground truth. Hawkeye draws from it only until the first GLOBAL_POSITION_INT arrives, then ignores it and draws the EKF pose. A disconnect starts this over, so a new connection begins on HIL_STATE_QUATERNION again.
ULog topics (replay mode)
| Topic | Required | Purpose |
|---|---|---|
vehicle_attitude | yes | Orientation quaternion |
vehicle_local_position | yes | NED position and velocity |
vehicle_global_position | no | GPS position (enables real-world coordinates) |
vehicle_status | no | Vehicle type, arming, flight mode transitions |
home_position | no | Authoritative home (Tier 1 source) |
airspeed_validated | no | Airspeed sensor data |
logging | no | STATUSTEXT warnings (feeds the HUD ticker) |
If a required topic is missing, Hawkeye refuses to load the log and prints an error. If optional topics are missing, the affected features silently degrade (no airspeed, no STATUSTEXT, etc.).
Related
- Position Data Tiers — How Hawkeye classifies logs based on which position sources are present
- Live SITL — Connecting PX4 SITL to Hawkeye via MAVLink
- ULog Replay — Loading
.ulgfiles for playback