mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-26 17:30:28 +08:00
Since Zenoh is part of px4_sitl_default (#29425), every SITL variant generates the RIHS01 type hashes. That step takes 23 s of a local build and 36 to 134 s per target in CI, nearly all of it rosidl_parser reading the IDL of every message. About 60% of that text is message comments, and a type hash only covers the type name and the names and types of its fields. Write the IDL that idl2rihs01.py reads without the comment text. Units and constants stay. The IDL that idlc compiles is a separate file and does not change, and neither do the hashes of the 271 messages or the generated Zenoh pub/sub factory. The hash step drops from 22.6 s to 7.8 s on an M3 Max. convert_msg_to_idl is no longer called, so the filter for the Reading/Writing lines it printed goes too. Assisted-by: Claude:claude-fable-5-2 Signed-off-by: Ramon Roche <mrpollo@gmail.com>