Sharing Karshipta, an open-source self-hosted fleet console for PX4/ArduPilot vehicles that also ingests non-flight trackers, looking for feedback from people running multi-vehicle setups

Karshipta v0.1.0: self-hosted fleet console for PX4/ArduPilot, plus non-flight trackers via Herald

Just shipped v0.1.0 of Karshipta, an open-source, self-hosted command and control console for fleets, not just flight vehicles.

Two paths into the same console:

  • MAVLink vehicles (PX4, ArduPilot, real or SITL) through a C++20/MAVSDK gateway: telemetry, commands, and Fleet Missions where each vehicle gets its own independently planned route, tracked as one unit through upload, flight, and stop.
  • Herald: HTTP ingestion for anything with no autopilot and no command surface at all, livestock GPS tags, generic GPS/GSM trackers, includes a GT06 protocol parser (the wire format for a large family of low-cost trackers) and a declarative field-mapping config for other devices.

Both show up as a “ward” on the same fleet map, same browser console, self-hosted, AGPL-3.0.

docker compose up gets 3 PX4 SITL vehicles and a live console running in under a minute if you want to try the flight side without hardware.

Repo: GitHub - NIKX-Tech/karshipta: Open-source, self-hosted command and control for fleets of unmanned vehicles and trackers, in your browser. Live web console for real or simulated MAVLink vehicles (PX4, ArduPilot): fleet map, telemetry, commands, missions. · GitHub

Would especially like feedback from anyone running mixed fleets, multiple vehicle types, or non-flight trackers alongside vehicles; that mixed-fleet case is exactly why this exists.

Karshipta console showing three simulated wards

Interesting direction especially the fact that MAVLink vehicles and non-flight trackers end up in the same operational view.

One thing I’d be curious about is how Karshipta represents time and provenance across heterogeneous sources.

For example, in a mixed fleet you may have:

PX4/ArduPilot telemetry → MAVLink gateway → backend
GT06 / HTTP tracker → Herald → backend

Those paths can have very different timestamp semantics, latency, update rates and clock quality.

I would preserve, where possible, both:

event/source time — when the observation was generated by the device
ingestion time — when Karshipta received it

plus source identity, sequence/correlation information and clock quality/uncertainty.

That becomes important when two wards appear spatially close on the map but their latest observations are actually from different moments.

A useful test for the multi-vehicle case would be to inject controlled delay/dropout into only one source and verify that the console can distinguish:

current observation
stale-but-valid observation
missing observation

rather than treating all three as equivalent map positions.

If you’re interested, I’d be happy to sketch a small mixed-fleet validation matrix for this path as well.

Hey, sorry for the slow reply; I’ve been heads down shipping since this post went up. Good catch on the timestamp thing.

Turns out we don’t handle this consistently right now: Herald trackers carry the device’s own sample time end to end, but MAVLink vehicles actually get the gateway’s own clock at processing time instead of anything from the MAVLink message itself. Small gap for a live vehicle on a direct link, but it’s not the same thing, and there’s no separate ingestion timestamp anywhere to tell the two apart after the fact.

The bigger gap is on your current/stale/missing point specifically: MAVLink wards already flip to disconnected when the real link drops, but Herald wards don’t have anything like that yet. A tracker that goes dark sits there looking connected with its last position forever. That’s a real hole, not something we chose on purpose.

Opened an issue for it: github.com/NIKX-Tech/karshipta/issues/268

If you’re up for sketching that validation matrix once there’s something real to test against, I’d take you up on it. Also, if you ever have a spare PX4/ArduPilot board and 20 minutes, I’d love to pair our gateway against real hardware instead of just SITL. No pressure either way, just a standing offer.

Hi Erfan,

Thanks for the detailed follow-up, and for opening issue #268. I appreciate you taking the feedback into the actual development process.

I reviewed the issue, and I’d be happy to help define a focused validation matrix once the implementation is ready.

I suggest starting with a few reproducible cases:

  • Normal telemetry with consistent event and ingestion timestamps.

  • Tracker silence crossing the configured staleness threshold.

  • Delayed or out-of-order updates.

  • Replayed older samples.

  • Recovery after communication resumes.

  • Device clock skew or invalid timestamps.

  • Consistent state transitions across Herald and MAVLink sources.

One detail worth defining early is the meaning of current, stale-but-valid, and missing, particularly whether these describe telemetry freshness, connectivity, or both.

For timing checks, we should also distinguish elapsed time measured by the gateway from event-to-ingestion delay, which requires sufficiently synchronized clocks.

Regarding real hardware, I’d be interested in exploring that as a separate step. I don’t want to commit to a board-based session before confirming hardware availability and the setup requirements, but we can certainly start with reproducible gateway/SITL scenarios.

Once you have an initial implementation or test branch, feel free to share it. I can help review the expected behavior and regression cases.

Best regards,
Yiğitcan Öztürk
PAMILANGA LTD

Hi Yigitcan,

That list is a good starting point; thank you. Opened a second issue for the multi-vehicle connection testing from your other message too: #270, kept separate from this one since it’s a different concern.

On the definitional question: I think these three states should describe connectivity, not raw freshness - connected (or its Herald-side timeout equivalent, once built) decides which of the three applies, and the actual last-known reading stays visible either way with its own timestamp, rather than collapsing into one label. Wrote this up as a comment on #268 along with the fix plan (a second ingestion-time field, a staleness timeout for Herald, then the three-state console treatment) - happy to go back and forth there if it doesn’t match what the matrix actually needs.

Starting with gateway/SITL scenarios makes sense to me too - no reason to involve real hardware before the software side is worth testing against.

Hi Erfan,

Thanks for the thoughtful follow-up and for opening #270 separately.

I reviewed both issues. The separation makes sense: #268 concerns telemetry timestamp semantics and staleness, while #270 focuses on multi-vehicle gateway connection behavior.

Your proposed three-state model looks like a reasonable starting point, provided connectivity state and the age of the last measurement remain independently observable.

One edge case worth retaining in the #268 validation matrix is an old device sample arriving through an otherwise healthy connection. The gateway may have received it recently even though the underlying observation is stale.

For #270, I agree with first reviewing the existing WardManager test coverage before adding new scenarios.

Starting with reproducible SITL tests is exactly the right approach.

Happy to continue the technical discussion in the respective GitHub issues.

Best regards,
Yiğitcan Öztürk
PAMILANGA LTD

Good catch on the old-sample-through-a-healthy-connection case - that’s a real gap in the three-state model as I’d first framed it. Connectivity and per-sample freshness need to be independent axes, not one label. Updated #268 with that and added it to the matrix.

Also checked your #270 scenarios against what’s actually tested today before replying there: confirmed MV-01 through MV-03 are genuinely new coverage, not something already covered under a different name. Starting with MV-01, use the existing test fixture shape rather than building new infrastructure for it.