cu-ros-payloads 0.13.0

ROS2 Payloads that can be constructed from/to Copper Payloads for compatibility
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
import "../../../justfile"

# Emit a markdown table of RIHS01 type hashes from installed ROS messages.
ros-rihs01-hashes:
	#!/usr/bin/env bash
	set -euo pipefail
	ROS_DIR="/opt/ros/jazzy/share"
	echo "| Type Name | RIHS01 Hash |"
	echo "|-----------|-------------|"
	find "$ROS_DIR" -name '*.json' -print0 | \
		xargs -0 jq -r '.type_hashes[]? | "\(.type_name) \(.hash_string)"' | \
		sort -u | \
		awk '{ printf "| %s | %s |\n", $1, $2 }'