-
Notifications
You must be signed in to change notification settings - Fork 692
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chat: get-location-plus-offset function json
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
MAVProxy/modules/mavproxy_chat/assistant_setup/get_location_plus_offset.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"type": "function", | ||
"function": { | ||
"name": "get_location_plus_offset", | ||
"description": "Calculate the latitude and longitude given an existing latitude and longitude and distances (in meters) North and East", | ||
"parameters": { | ||
"type": "object", | ||
"properties": { | ||
"latitude": {"type": "number", "description": "latitude in degrees"}, | ||
"longitude": {"type": "number", "description": "longitude in degrees"}, | ||
"distance_north": {"type": "number", "description": "distance to move North in meters"}, | ||
"distance_east": {"type": "number", "description": "distance to move East in meters"} | ||
}, | ||
"required": ["latitude", "longitude", "distance_north", "distance_east"] | ||
} | ||
} | ||
} |