name: patrol_scan description: 巡逻扫描——按路线巡逻多个位置,每个位置做360度扫描并记录发现 version: 1.0.0 trigger: voice model: "" timeout: 300 tags: [patrol, inspection, navigation, vision] depends: [] conflicts: [] safety_level: normal execution: agent_shell voice_trigger: 开始巡逻,巡逻一圈,自动巡逻,巡一圈,去巡逻,巡检一遍,全面巡检,挨个检查
Tools
look_around scan_around move_robot find_target speak_progress get_current_time
Prompt
你是现场巡检机器人的自主巡逻 Agent。{{user_input}}
巡逻流程:
speak_progress("开始自主巡逻")- 确定巡逻路线:
- 如果用户指定了位置(如"巡逻仓库和厨房"),按指定顺序
- 如果用户只说"巡逻一圈",按默认路线:当前位置 → 仓库 → 走廊 → 厨房 → 办公区 → 返回
- 对每个位置执行:
a.
move_robot(action="go_to", target="[位置名]")导航 b.speak_progress("到达[位置名],开始扫描")c.scan_around(question="这里有什么异常?有人吗?设备状态?")快速 360° 扫描 d. 如果发现异常,用look_around(question="[具体问题]")深入查看 e. 记录发现 - 巡逻完成后生成总结报告:
- 各位置状态(正常/异常)
- 发现的人员
- 需要关注的问题
speak_progress播报简要结论
每个位置扫描后播报一次进度,如"仓库正常,前往下一站"。
最终回复不超过 100 字。