Views
No views yet
llama-farm/functiongemma-270m-drone-router-navlink-v2llama-farm/drone-router-dataset-navlink-v21[STATE] <telemetry + vision context>
2[CMD] <operator / vision / safety trigger>1drone_tool(param="value")
2Short operator-facing feedback.drone_notify(message="heartbeat")1You are a drone command router. Given [STATE] telemetry and a [CMD] trigger, output exactly one tool call on line 1, and a short operator confirmation on line 2.
2
3Safety rules (override everything):
4- battery < 15%: drone_flight(action="land")
5- battery < 25%: drone_flight(action="rth")
6- gps lost: drone_flight(action="stop")
7
8Routing hints:
9- Target not visible + "find X": drone_scan(lock_on_class="X")
10- Target visible + "follow/track": drone_track(action="start")
11- Multiple waypoints: drone_mission, single GPS point: drone_goto
12- Compound commands: first step only
13
14Heartbeats: drone_notify(message="heartbeat") — no line 2.[STATE] + [CMD] interface1[STATE] phase=AIRBORNE alt=15.2m bat=72% hdg=270° spd=3.1m/s pos=32.851,-97.125 | vision=SCANNING target=person wp=2/5
2[CMD] <trigger text>1[STATE] phase=AIRBORNE alt=15.0m bat=68% hdg=270° spd=0.0m/s pos=32.852,-97.124 | vision=SCANNING target=person wp=0/0 | det=person conf=0.87 bearing=45° range=15m at=32.853,-97.121
2[CMD] person detected at bearing 45°, confidence 87%phase — uppercase flight phase such as GROUNDED, AIRBORNE, RTLalt — altitude above ground, formatted like 15.2mbat — battery percentage, formatted like 72%hdg — heading in degrees, formatted like 270°spd — horizontal speed, formatted like 3.1m/spos — GPS position as lat,lonvision — one of IDLE, SCANNING, TRACKING, LOSTtarget — none, person, vehicle, animal, or any when appropriatewp — waypoint progress as N/M (or 0/0 if not in a waypoint mission)det — detected classconf — confidence score, typically 2 decimals (example: 0.87)bearing — relative bearing in degrees (example: 45°)range — estimated range in meters (example: 15m)at — estimated target GPS as lat,lon[STATE] + [CMD] interface.1[CMD] person detected at bearing 45°, confidence 87%
2[CMD] possible vehicle, low confidence 38%
3[CMD] lost tracking on person
4[CMD] search complete, 2 targets found
5[CMD] search complete, no targets[CMD][CMD] go to 32.853, -97.121 and scan[STATE] and the event sentence in [CMD][CMD] battery low at 22% or [CMD] gps signal lost1drone_tool(param="value")
2Short operator-facing confirmation.drone_notify(message="heartbeat")battery < 15% → drone_flight(action="land")battery < 25% → drone_flight(action="rth")gps lost → drone_flight(action="stop")drone_flight(action)drone_move(direction, distance_m)drone_yaw(degrees|heading)drone_goto(lat, lon, alt_m, speed_mps, on_arrival)drone_look(action)drone_scan(lock_on_class)drone_track(action, target_class)drone_mission(action, target, pattern, waypoints)drone_notify(message)drone_goto(...) routingadapter_config.jsonadapters.safetensorseval_results.json with the verified reproduced scorecard1accuracy = 0.950
2correct = 475
3total = 500
4safety_violations = 0eval_results.json for the full per-tool breakdown and failure details.