Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

原语(primitive)

原语是低层设备抽象——一个物理设备一个包(one device = one package),把硬件统一成 robonix/primitive/* 能力约定。原语是能力图的叶子节点:只反馈自身的物理事实、只接受瞬时控制,不依赖任何上层服务(这条分层纪律见 底盘 页的历史变更说明)。

覆盖能力约定数
底盘 chassis差速/全向底盘的速度控制与里程反馈4
相机 cameraRGB / 深度图像,流式与快照两种取图6
激光雷达 lidar2D 扫描与 3D 点云4
IMU惯性测量2
音频 audio麦克风采集、扬声器播放、设备选择5

参考实现见 examples/webots/primitives/(tiago_chassis / tiago_camera / tiago_lidar / audio_driver)。