diff --git a/Chat/Readme.md b/Chat/Readme.md
new file mode 100644
index 00000000..25dea3f9
--- /dev/null
+++ b/Chat/Readme.md
@@ -0,0 +1,3 @@
+## Chat
+
+OpenAI based Chat module
diff --git a/Chat/index.html b/Chat/index.html
new file mode 100644
index 00000000..460cd30f
--- /dev/null
+++ b/Chat/index.html
@@ -0,0 +1,2126 @@
+
+
+
+
+
+
+ Chat
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
ArduPilot AI Chat Control
+
+
+
+
+
+
AI Chat Interface
+
+
+
+
+
+
Welcome! I'm your ArduPilot AI assistant. You can control the drone using
+ natural language commands like:
+
+ - "Arm the drone"
+ - "Take off to 10 meters"
+ - "Fly north for 50 meters"
+ - "Return to launch"
+ - "Change to guided mode"
+ - "Emergency stop"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
AI Configuration
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Debug Output
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Chat/shared.js b/Chat/shared.js
new file mode 100644
index 00000000..054120ab
--- /dev/null
+++ b/Chat/shared.js
@@ -0,0 +1,11 @@
+// shared.js
+export let MAVLink = null;
+export let mavlink_ws = null;
+
+export function setMAVLink(instance) {
+ MAVLink = instance;
+}
+
+export function setMavlinkWS(ws) {
+ mavlink_ws = ws;
+}
diff --git a/Chat/style.css b/Chat/style.css
new file mode 100644
index 00000000..b20deff8
--- /dev/null
+++ b/Chat/style.css
@@ -0,0 +1,24 @@
+/* Chat messages */
+.user-text {
+ align-self: flex-end;
+ background-color: #2563eb; /* blue-600 */
+ color: #fff;
+ padding: 10px 16px;
+ border-radius: 18px 18px 4px 18px;
+ max-width: 70%;
+ margin: 4px 0;
+ font-size: 1rem;
+ box-shadow: 0 1px 2px rgba(0,0,0,0.07);
+}
+
+.assistant-text {
+ align-self: flex-start;
+ background-color: #f3f4f6; /* gray-100 */
+ color: #222;
+ padding: 10px 16px;
+ border-radius: 18px 18px 18px 4px;
+ max-width: 70%;
+ margin: 4px 0;
+ font-size: 1rem;
+ box-shadow: 0 1px 2px rgba(0,0,0,0.07);
+}
\ No newline at end of file
diff --git a/Dev/index.html b/Dev/index.html
index 618af763..44107d76 100644
--- a/Dev/index.html
+++ b/Dev/index.html
@@ -108,6 +108,17 @@ Thrust Expo
+
+
+
+ |
+
+ Chat
+ OpenAI Chat module
+ Use an AI chat to control your vehicle
+ |
+
+