German Rheinmetall open-sources its Battlesuite connected weapon system protcol
100 points by summarity 3 hours ago | 23 comments

alhirzel 2 hours ago
Reminds me a lot of the Tactical Microgrid Standard (aka TMS aka MIL-STD-3071) [1], probably just because TMS uses DDS as well. I would really like to know if there is a protocol that functions like DDS but caters to real-time guarantees and prioritizes (at a "simple protocol" level) usability on embedded systems with no dynamic memory allocation. It would also need to be just-as-functional with non-real-time systems. One problem with DDS is that it is too heavy-handed to implement well on an embedded system.

[1] https://battery.army.mil/system-integrator-hub/tms/

reply
p_l 24 minutes ago
Pretty sure there are DDS implementations that provide most of that, maybe with memory pools instead of no-allocations.

Other than that, PX4 uses an in-memory only pub/sub for internal data bus, somewhat inspired by DDS

reply
throw1234567891 53 minutes ago
Nah, they haven't open sourced anything: https://github.com/rheinmetall. They just published the documentation. Really weird, what's the point?
reply
pixelesque 39 minutes ago
They've got the IDL files as well for the APIs, but you can't use them without their libs:

> The data model is defined using a custom format .rmodel based on the ddkit > framework (rmodel-api).

> Please note that the .rmodel data model is for documentation purposes only and > does not reflect the actual interface used on the communication layer. Network > communication is only possible through the provided libraries.

reply
j-pb 3 hours ago
First I was excited, then I saw that it's based on DDS.
reply
budman1 3 hours ago
why the hate on DDS?

seems like a perfect fit.

reply
j-pb 2 hours ago
DDS is the least bad of the stuff that has come out of OMG, but it's not a nice middleware still. There is no underlying algebra of that composes nicely when compared to Zenoh for example, and the "vendor independence" and compatibility is usually a joke. There's a reason ROS is moving away from it again.
reply
bahmboo 35 minutes ago
There's a standard that has OMG as the acronym? OMG. I'm not even going to bother to search for that!
reply
jjmarr 22 minutes ago
Object Management Group I think. Better known as the inventors of UML.
reply
karmicthreat 2 hours ago
This looks like ROS2 for missiles.
reply
9dev 2 hours ago
Am I just too ignorant of Miltech, or is this that in large parts recreating Standard messaging primitives that other protocols and systems have been providing for decades already (so invented elsewhere?)
reply
pixelesque 2 hours ago
DDS sort of took over from CORBA in the military domain, and the statically-typed IDL was still quite similar to CORBA last time I looked at it, so that takes you back to around 1998 when CORBA was being used a lot in the military in my experience.

What other protocols and systems were you thinking of that can provide (depending on broker) hard-realtime delivery that can be used in safety-critical systems?

reply
esseph 2 hours ago
Every mil company designs unique bespoke things often with some exceptions, and even the "open systems" mostly aren't open by any stretch of the definition.

Obscurity is part of the allure, not a repulsive factor.

You don't want a hostile nation suddenly and easily understanding your systems.

reply
smalltorch 2 hours ago
On the other hand, its good to design systems where it wouldn't even matter if the hostile nation state knows exactly how it works.

This is a principle in cryptography, but carries nicely to other things.

reply
timcobb 36 minutes ago
I feel like this is always the best design whenever possible.
reply
0cf8612b2e1e 29 minutes ago
I have to assume that so many people require access to the specs that an interested party can surely acquire them.

World of Tanks has repeatedly had military personnel updating the technical specifications with details they have found in the secret manuals.

reply
touisteur 48 minutes ago
Asterix is an actual standard for radar data, coming from civilian radar systems. I wish it was updated somehow for 3d beam-steered (and moving) sensors, but still it covers most of the industry's needs... I keep hearing so many grumblings of replacing it (it is binary, unforgiving, quirky, very 80s...) and of course fragmentation is back in.
reply
graemep 2 hours ago
Hat sounds like a particularly weak form of security by obscurity
reply
mc32 2 hours ago
Also you do not want them to benefit from your smart design choices. You want them to suffer from their bad choices and not learn from your success. (Yes, of course you could have bad design choices that you don’t realize someone else has solved more intelligently.)
reply
ufocia 2 hours ago
Bad design choice is probably why they open sourced it.
reply
exabrial 3 hours ago
I cannot find boomstick anywhere in here
reply
mrhcon 2 hours ago
[flagged]
reply
nicechianti 47 minutes ago
[dead]
reply
jjmarr 26 minutes ago
Open the C++ example up and the first thing I see:

```cpp std::cout << "Received ReportCoordinateFrameSettings" << std::endl; ```

Generally, I've heard `std::endl` instead of \n has bad performance because it forces the statement to print immediately. And because cout is guaranteed to flush anyways when the program ends, you're adding a delay for no reason.

I wonder if there's something I'm not seeing that led to them adopting this rule. e.g. "abnormal program termination" caused by the weapon blowing itself up circumventing a buffer flush?

reply
aftbit 15 minutes ago
This seems like an incredibly unimportant quibble... I would imagine they just used std::endl b/c that's what most random tutorials used in the 2000s and that's how the engineer learned. If you are printing a debug string, you probably don't care that much about perf in the first place.
reply