ArduPilot / WebTools

GNU General Public License v3.0
26 stars 27 forks source link

TelemetryDashboard: add Chat assistant example #211

Open IamPete1 opened 4 weeks ago

IamPete1 commented 4 weeks ago

This adds a chat assistant widget based on the MAVProxy module. Currently this is a bit of a WIP. It uses the same assistant setup as MAVProxy per: https://ardupilot.org/mavproxy/docs/modules/chat.html#assistant-setup

Example: image

When you load you need to set your API key. image

Once you have done that you can download it again and use the version with the API key included (just don't send it to anyone).

The function calls do work, but I have only done two and there hard coded to copter.

image

To get this working the same as the MAVProxy module we would need to implement the remainder of the functions and allow telemetry dashboard to send commands to the vehicle. It should also be possible to get voice input working, but I have not looked into this.

Currently it is a bit temperamental but does mostly work.