Initial commit: 无人机行为规划后端系统
Made-with: Cursor
This commit is contained in:
3
data/knowledge/few_shot_db.jsonl
Normal file
3
data/knowledge/few_shot_db.jsonl
Normal file
@@ -0,0 +1,3 @@
|
||||
{"document": "飞到大门然后拍照", "intent": "fly_task", "tree_json": "{\"root\": {\"type\": \"Sequence\", \"children\": [{\"type\": \"fly_to_waypoint\", \"params\": {\"x\": 0, \"y\": 0, \"z\": 5}}, {\"type\": \"take_photos\", \"params\": {\"target_class\": \"unknown\", \"count\": 1}}]}}"}
|
||||
{"document": "先去广场再去喷泉", "intent": "fly_task", "tree_json": "{\"root\": {\"type\": \"Sequence\", \"children\": [{\"type\": \"fly_to_waypoint\", \"params\": {\"x\": 10, \"y\": 15, \"z\": 5}}, {\"type\": \"fly_to_waypoint\", \"params\": {\"x\": 10, \"y\": 20, \"z\": 5}}]}}"}
|
||||
{"document": "在A区搜索汽车", "intent": "search_task", "tree_json": "{\"root\": {\"type\": \"Sequence\", \"children\": [{\"type\": \"fly_to_waypoint\", \"params\": {\"x\": 5, \"y\": 5, \"z\": 5}}, {\"type\": \"search_pattern\", \"params\": {\"pattern_type\": \"spiral\", \"radius\": 10, \"target_class\": \"汽车\"}}]}}"}
|
||||
5
data/knowledge/map_db.jsonl
Normal file
5
data/knowledge/map_db.jsonl
Normal file
@@ -0,0 +1,5 @@
|
||||
{"document": "喷泉在广场正中央,坐标 x=10, y=20", "location": "喷泉", "x": 10, "y": 20, "z": 0}
|
||||
{"document": "大门位于入口处,坐标 x=0, y=0", "location": "大门", "x": 0, "y": 0, "z": 0}
|
||||
{"document": "广场在喷泉西侧,坐标 x=10, y=15", "location": "广场", "x": 10, "y": 15, "z": 0}
|
||||
{"document": "A区是工作区,坐标 x=5, y=5", "location": "A区", "x": 5, "y": 5, "z": 0}
|
||||
{"document": "B区在东北角,坐标 x=20, y=10", "location": "B区", "x": 20, "y": 10, "z": 0}
|
||||
5
data/knowledge/rule_db.jsonl
Normal file
5
data/knowledge/rule_db.jsonl
Normal file
@@ -0,0 +1,5 @@
|
||||
{"document": "夜间巡逻必须开启热成像", "intent": "search_task", "scene": "night"}
|
||||
{"document": "起飞必须先做系统检查", "intent": "fly_task", "priority": "high"}
|
||||
{"document": "搜索任务需保持安全高度 5 米以上", "intent": "search_task", "min_altitude": 5}
|
||||
{"document": "拍照任务需先悬停稳定", "intent": "photo_task", "pre_stabilize": true}
|
||||
{"document": "跟踪移动目标时保持 3 米距离", "intent": "track_task", "safe_distance": 3}
|
||||
Reference in New Issue
Block a user