Both sides previous revision
Poprzednia wersja
Nowa wersja
|
Poprzednia wersja
|
pl:miw:miw08_mindstormscontrolc [2008/05/19 21:04] miw |
pl:miw:miw08_mindstormscontrolc [2019/06/27 15:50] (aktualna) |
====== Opis ====== | ====== Opis ====== |
| __**Projekt zakończony**__ |
| |
Marcin Ziółkowski <mziolkow@student.agh.edu.pl> | Marcin Ziółkowski <mziolkow@student.agh.edu.pl> |
| |
* implementacja w prologu najniższej warstwy | * implementacja w prologu najniższej warstwy |
* test komunikacji z prologu (open socket) | * test komunikacji z prologu (open socket) |
| |
| |
| |
* GJN -> testy + kompilacja win/linux | * GJN -> testy + kompilacja win/linux |
* BT pod win? ident robota + uwierz(pin?) | * BT pod win? ident robota + uwierz(pin?) |
| |
| ===== 080603 ===== |
| * testy, oceny |
| |
====== Projekt ====== | ====== Projekt ====== |
| |
===== Opis protokolu ===== | ===== Opis protokolu ===== |
| |
| |
| |
^ command ^ return ^ description ^ | ^ command ^ return ^ description ^ |
| nxt; open | --- | Initiates the NXT connection | | | nxt; open | --- | Initiates the NXT connection | |
| | nxt; openBT | --- | Initiates the NXT connection over BT | |
| | nxt; pair; resourceName; passkey; pairedResourceName | --- | Pairs the specified NXT to this computer | |
| | nxt; unpair; resourceName | --- | Destroys the Bluetooth pairing that was previously established between this computer and the specified NXT | |
| nxt; close | --- | Closes the NXT connection| | | nxt; close | --- | Closes the NXT connection| |
| nxt; batteryLevel | value | Returns the current battery level | | | nxt; batteryLevel | value | Returns the current battery level | |
* <status> Status chaining object | * <status> Status chaining object |
* Return: VI_TRUE if the NXT is paired with this computer (or if it is connected via USB); VI_FALSE otherwise | * Return: VI_TRUE if the NXT is paired with this computer (or if it is connected via USB); VI_FALSE otherwise |
| |
| |
| |
| |
| |
| |
| |
* Zrodla, ostatniej wersji: {{:pl:miw:mindstorm_control_c_ver.4.zip|mindstorm_control_c_ver.4.zip}} | * Zrodla, ostatniej wersji: {{:pl:miw:mindstorm_control_c_ver.4.zip|mindstorm_control_c_ver.4.zip}} |
| |
| P.S. Oczywiscie w celu wyszukiwania, parowania etc. (nad BT) mozemy wykorzystac pod win powszechnie uzywany program: [[http://www.bluesoleil.com/|BlueSoleil]] |
| |
| |
| ===== ===== |
| **Poprawki w serwerze na rzecz wspolpracy z prologiem; Dodano duza czesc implementacji po stronie prologu, tak by byla max. zgodnosc z iCommand** |
| |
| * Zrodla:{{:pl:miw:mindstorm_control_c_ver.6.zip|mindstorm_control_c_ver.6.zip}} |
| |
| |
====== Materiały ====== | ====== Materiały ====== |