Skip to content

docs(simulation): add Hawkeye visualizer, replace jMAVSim in SIH docs#26965

Closed
mrpollo wants to merge 9 commits intomainfrom
mrpollo/docs-hawkeye-visualizer
Closed

docs(simulation): add Hawkeye visualizer, replace jMAVSim in SIH docs#26965
mrpollo wants to merge 9 commits intomainfrom
mrpollo/docs-hawkeye-visualizer

Conversation

@mrpollo
Copy link
Copy Markdown
Contributor

@mrpollo mrpollo commented Apr 3, 2026

Adds a dedicated docs page for Hawkeye, a real-time 3D flight visualizer for PX4. Hawkeye is a visualizer, not a simulator -- it renders vehicle state from MAVLink HIL_STATE_QUATERNION messages with zero runtime dependencies.

The SIH simulation page previously recommended jMAVSim in display-only mode for visualization. This replaces those references with Hawkeye, which is purpose-built for this role and supports multi-vehicle swarm visualization, ULog replay with ghost mode, and multiple vehicle models.

Changes:

  • New page docs/en/sim_hawkeye/index.md covering installation (Homebrew, deb, source), SIH SITL usage, multi-vehicle support, ULog replay, CLI reference, and camera controls
  • Updated docs/en/sim_sih/index.md to recommend Hawkeye instead of jMAVSim for 3D visualization
  • Updated port reference table to label port 19410 as "Hawkeye visualizer" instead of "jMAVSim display-only"
  • Added Hawkeye as a child entry under SIH in SUMMARY.md navigation

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 3, 2026

No broken links found in changed files.

@mrpollo mrpollo requested a review from hamishwillee April 3, 2026 15:45
mrpollo added 2 commits April 8, 2026 15:26
… docs

Hawkeye is a real-time 3D flight visualizer (not a simulator) that
replaces jMAVSim's display-only mode for SIH. Adds a dedicated Hawkeye
docs page covering installation, SIH SITL usage, multi-vehicle support,
and ULog replay. Updates the SIH page to recommend Hawkeye instead of
jMAVSim for visualization.

Signed-off-by: Ramon Roche <mrpollo@gmail.com>
Signed-off-by: Ramon Roche <mrpollo@gmail.com>
@hamishwillee hamishwillee force-pushed the mrpollo/docs-hawkeye-visualizer branch from 1550c1f to e63026c Compare April 8, 2026 05:26
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

💡 Commit messages could be improved

Not blocking, but these commit messages could use some cleanup.

Commit Message Suggestion
183c324108 Prettier, minor subedit Missing conventional commit format (e.g. "feat(ekf2): add something")
6d75bc315f Apply suggestion from @hamishwillee Missing conventional commit format (e.g. "feat(ekf2): add something")
401fb08a0a style: prettier markdown formatting on all Hawkeye doc pages Missing conventional commit format (e.g. "feat(ekf2): add something")
d369d19a95 Layout and heading fixes plus add to sidebar Missing conventional commit format (e.g. "feat(ekf2): add something")
98ad0bfde3 Fix up links for images that were replaced Missing conventional commit format (e.g. "feat(ekf2): add something")

See the commit message convention for details.


This comment will be automatically removed once the issues are resolved.

Comment thread docs/en/log/flight_log_analysis.md Outdated
Comment thread docs/en/sim_hawkeye/index.md Outdated
Comment on lines +37 to +41
Download the `.deb` package from the [latest release](https://github.com/PX4/Hawkeye/releases/latest):

```sh
sudo dpkg -i hawkeye_*_amd64.deb
```
Copy link
Copy Markdown
Contributor

@hamishwillee hamishwillee Apr 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did this in WSL2 on Ubuntu 22.04

curl -L -O https://github.com/PX4/Hawkeye/releases/download/v0.2.0/hawkeye_0.2.0_amd64.deb
sudo dpkg -i hawkeye_0.2.0_amd64.deb

Got this error

$ hawkeye
hawkeye: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by hawkeye)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will only work for Ubuntu, not WSL. We don't have an installer for Windows right now

Copy link
Copy Markdown
Contributor

@hamishwillee hamishwillee Apr 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mrpollo No - WSL2 is Ubuntu :-). Claude tells me this is a problem with running on Ubuntu 22.02.:

Hawkeye requires glibc 2.38+, which ships with Ubuntu 23.10+. WSL2 often runs Ubuntu 22.04 LTS, which only has glibc 2.35.

Sure enough, Hawkeye launces on Ubuntu 24 in WSL2. I will continue testing, but we should note the limitation since PX4 states support for Ubuntu 22 still. We should also look at a deployment mechanism that won't break this.

Can you add the note you want to see?
I can, but it depends on whether this gets "fixed" or just lived with.
I mean we might say "this works on Ubuntu 24 but if you need other versions you can build from source", or we might supply a Ubuntu 22 version.

Comment thread docs/en/sim_hawkeye/index.md Outdated
In one terminal, start SIH:

```sh
make px4_sitl_sih sihsim_quadx
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is all good. Can we add instructions for using it with the SIH binaries?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps this should go in after that update?

Comment thread docs/en/sim_hawkeye/index.md Outdated
Comment on lines +90 to +103
By default, Hawkeye renders a quadrotor.
Use flags to select a different model:

| Flag | Vehicle |
| ----- | --------------------- |
| `-mc` | Multicopter (default) |
| `-fw` | Fixed-wing |
| `-ts` | Tailsitter |

Example for fixed-wing:

```sh
hawkeye -fw
```
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once you are connected to a vehicle Hawkeye select the correct vehicle type - i..e you can set FW but if you are simulating a copter then Hawkeye will change the rendering to a copter.

In other words this doesn't really do anything, at least for the types I tried.

Add a note?

Copy link
Copy Markdown
Contributor

@hamishwillee hamishwillee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mrpollo A couple of changes needed. This is pretty excellent though. Main question is whether this should go in after the simulation deb file changes or before - either way it (will) needs instructions on working with the new containers.

…iagrams

Expand the Hawkeye visualizer docs from a single index.md to a full
multi-page guide covering all features:

- index.md: hero, installation, getting started (3 progressive paths)
- cli.md: command-line reference with all flags and examples
- views.md: camera modes, ortho views, themes, vehicle models
- hud.md: Console + Tactical HUD modes, debug overlay, annunciators
- world_indicators.md: trails (directional/speed ribbon/drone color),
  ground track, correlation line and curtain overlays
- replay.md: ULog replay, transport controls, markers
- multi_drone.md: deconfliction, takeoff alignment, correlation analysis
- sitl.md: single vehicle + multi-instance swarm + MAVSDK test script
- reference.md: keyboard shortcuts, position data tiers, coordinate systems
- troubleshooting.md: common problems and fixes by symptom

Includes 36 assets: annotated HUD diagrams (SVG), screenshots (PNG),
interaction GIFs, marker types diagram, position tier flowchart, and
coordinate system reference. YouTube embed for SITL quickstart video.
MikePehel and others added 3 commits April 11, 2026 09:31
Reduced total asset size from ~110 MB to 10 MB. Every file now
under 1 MB. Large GIFs cropped and scaled down, converted to
animated WebP where needed.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 15, 2026

/en/sim_hawkeye/troubleshooting.md

@mrpollo
Copy link
Copy Markdown
Contributor Author

mrpollo commented Apr 21, 2026

Closing in favor of a slimmer PR. After discussing with @hamishwillee, we decided the deep Hawkeye documentation (HUD, replay, multi-drone, CLI reference, etc.) should live in the Hawkeye repo instead of the PX4 user guide. It's now hosted at https://px4.github.io/Hawkeye/.

I'll open a new, smaller PR that keeps the SIH page updates (jMAVSim → Hawkeye references, port 19410 label) and adds a short sim_hawkeye/index.md page that links out to the hosted docs, so PX4 readers still get a pointer without the maintenance overhead of two parallel sources.

@hamishwillee
Copy link
Copy Markdown
Contributor

This was the right thing to do @mrpollo - the docs on https://px4.github.io/Hawkeye/ can now exist without the compromises we have in PX4 repo. ... and they look great.

@hamishwillee hamishwillee deleted the mrpollo/docs-hawkeye-visualizer branch April 22, 2026 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants