Proxi AI — Spielzeug-Roboter mit natürlicher Sprache steuern
Firmware, Bluetooth-Brücke und Agent-Skill für den KOSMOS-Proxi: einmal flashen, danach hört der Roboter über Bluetooth LE auf Textbefehle. Was die Befehle schickt, ist ihm egal — ein Skript, ein curl, oder ein KI-Agent, der aus "mach mal was Lustiges" eine Choreografie baut. firmware/ MakeCode-Projekt (TypeScript) und fertige .hex für V1 und V2 bridge/ BLE-Brücke und HTTP-API, einzige Abhängigkeit ist bleak agent/ Skill-Definition: Alltagssprache -> Befehle tools/ Quelltext aus .hex extrahieren, Musik-Tabellen prüfen docs/ Protokoll, Einrichtung, Hardware, Lizenzen Zwei Dinge, die sonst nirgends stehen und in docs/HARDWARE.md dokumentiert sind: die Pin-Belegung des Roboters ist nicht öffentlich, sie wurde aus den mitgelieferten .hex-Dateien rekonstruiert (tools/hex_source.py holt sie heraus). Und der Ton braucht zwingend eine ganzzahlige Frequenz sowie Pin P0 — sonst kracht der Lautsprecher, der Aufruf hängt und die Bluetooth- Verbindung stirbt. Am echten Roboter durchgetestet: Verbindung, Sensoren, Display, 41 Sekunden Musik am Stück, alle Bewegungsrichtungen, Musik und Fahren gleichzeitig, Tanzfiguren, Not-Stopp mitten in der Bewegung, Autostart nach Neustart. MIT-Lizenz. Die Hardware-Extension stammt von kaku111 (TobbieII) und die Notendaten aus pxt-microbit, beide ebenfalls MIT — siehe THIRD-PARTY-NOTICES.
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
Fremder Code in diesem Projekt
|
||||
=============================
|
||||
|
||||
Beide Bestandteile stehen unter der MIT-Lizenz und sind damit mit der Lizenz
|
||||
dieses Projekts verträglich. Ihre Copyright-Vermerke müssen bei jeder
|
||||
Weitergabe erhalten bleiben — dafür ist diese Datei da.
|
||||
|
||||
Welche Datei woher stammt und warum, steht in docs/LICENSES.md.
|
||||
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
1. firmware/proxi.ts — Hardware-Extension
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Ursprünglich "TobbieII" von kaku111
|
||||
https://github.com/kaku111/20190209
|
||||
|
||||
Übernommen in der von Kosmos eingedeutschten Fassung, die in den .hex-Dateien
|
||||
der Proxi-Beispielprogramme mitgeliefert wird. Unverändert bis auf einen
|
||||
Herkunftshinweis im Dateikopf.
|
||||
|
||||
Lizenztext aus LICENSE.txt des Originals:
|
||||
|
||||
Copyright (c) Microsoft Corporation
|
||||
|
||||
All rights reserved.
|
||||
|
||||
MIT License
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
2. Notendaten in firmware/main.ts — melodyBuffer()
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Die 20 Melodien sind die eingebauten Melodien von MakeCode für den micro:bit,
|
||||
Byte für Byte übernommen aus libs/core/melodies.ts von
|
||||
|
||||
Microsoft MakeCode für micro:bit (pxt-microbit)
|
||||
https://github.com/microsoft/pxt-microbit
|
||||
|
||||
Lizenz: MIT, Copyright (c) Microsoft Corporation. Der Lizenztext entspricht
|
||||
wortgleich dem oben abgedruckten.
|
||||
Reference in New Issue
Block a user