ROS 2图像评估
ros2 功能是一个面向 Ubuntu 的构建挂钩。它的注册表包列表为空,因为该钩子拥有存储库和包设置。在构建之前检查生成的源和选定的 ROS 分布;仅功能名称并不能固定受支持的 ROS 版本。
对桌面开发环境和机器人运行时使用单独的工件。共享显式源代码和包版本,而不是可变的“最新”配置。
开发提示
Create an Ubuntu 24.04 GNOME ROS 2 development image. Request ROS 2 Jazzy,
RViz, the required build tools, Git, Python, C++, and a non-password account
named robot in only the groups needed for the virtual test. Show the exact ROS
repository, signing key, package names, and versions in the plan. Add a clean
environment-source test and a two-node DDS discovery test using synthetic data.运行时提示
Create an Ubuntu 24.04 headless ROS 2 runtime evaluation image with SSH and the
minimum ROS packages required by my reviewed launch file. Install the launch
file through a versioned package, run it as an unprivileged robot account, and
add bounded service, publish/subscribe, restart, and shutdown tests. Do not
claim PREEMPT_RT or physical peripheral support unless the exact kernel and
hardware are tested.配方边界
规范化的运行时配方应该使基础、功能、本机包、服务帐户和场景变得明确:
{
"name": "ros2-runtime-evaluation",
"base_image": "ubuntu-24.04",
"os": {
"features": ["headless", "ssh", "ros2"],
"packages": ["ros-jazzy-ros-base", "ros-jazzy-sensor-msgs"],
"users": [
{
"username": "robot",
"groups": ["dialout", "video"],
"shell": "/bin/bash"
}
]
}
}组成员身份仅在存在匹配设备和规则的情况下授予 Unix 权限。它并不能证明串行适配器、摄像头、GPIO 控制器、I2C 总线或机器人是否存在或可以安全命令。
虚拟证据
有用的客人支票包括:
- ROS环境设置文件和包清单;
ros2CLI 启动;- 两个测试节点通过选定的 RMW 实现交换唯一的合成消息;
- 服务启动、重新启动、失败和干净关闭;
- 进程身份和文件权限;和
- 不存在未经请求的网络暴露。
ros2 topic list 本身并不是完整的 DDS 发现测试。使用单独的发布者和订阅者进程或虚拟机并验证消息内容和超时。
机器人端资质
对精确的计算模块、内核、中间件配置、网络、传感器、执行器和定时负载重复验收套件。如果需要,可以使用预期的实时内核测量延迟和截止时间行为。在 OpenFactory 的通用 KVM 环境之外验证紧急停止、看门狗、降级模式和安全关闭行为。