====== Poppy GRR Keraal: The web interface to record and replay movements ======
{{tag>poppy software poppy-kine}}
Poppy GRR Keraal is an application created by Damien Deguyenne from Génération Robots. It allows to record movements with Poppy, to combine them and to replay them.
===== Application Installation =====
The application can be found here: https://github.com/GRLab/Poppy_GRR
Documentation on how to install the application is available in English {{:poppygrr-applicationinstallation_en.pdf|}} and French {{:poppygrrkeraal-installationdelapplication.pdf|}}.
===== How to use the application =====
Documentation on how to use the application is available in French {{poppy-kine:poppygrr-manuel_utilisation_keraalapp.pdf}}.
For more details about the informatics structure and debugging for a previous version is available in English {{:poppygrr-fonctionnementdelapplication_en.pdf|}} and French {{:poppygrr-fonctionnementdelapplication.pdf|}}.
The application works only with the new version of the Poppy robot which has a Rasberry Pi 3 instead of an odroid xu 4. As the ethernet port is not available, the connexion to the Rasberry Pi is done using Wifi.
The robot and the computer where the web server is running need to be in the same wifi network. If your wifi network is not known by the robot, you need to plug a keyboard to the Rasberry Pi and use the touchscreen to configure the new wifi connexion.
Once the computer and the robot are in the same network, you can log to the robot using ssh: poppy@poppy.local (mdp: poppy).
Note that if you want to manage the wifi networks configurations of the robot in ssh, you need to modify the file: /etc/wpa_supplicant/wpa_supplicant.conf.
==== In short ====
* start wamp and check the light is green (the server is on)
* open a browser and go to page localhost/poppyApp/poppygrr.php
* start up the robot's raspberry pi and the motors. Wait until poppy finds its motors and says "je suis pret. En fait, mon nom est Poppy"
* in the browser, input in the field "Poppy" : poppy.local or its IP.
===== Using computer as wifi hotspot =====
Instead of connecting both the computer and Poppy in the same network, you can use the computer as wifi hotspot and share internet connexion if you want.
Windows:
Open a terminal and run the following command by replacing 'MyNetwork' and 'MyKey' by your network name and password:
netsh wlan set hostednetwork mode=allow ssid=MyNetwork key=MyKey
Then run this command to start your network:
netsh wlan start hostednetwork
Now the hotspot is created. To stop it run this command:
netsh wlan stop hostednetwork
Once the hotspot is created, you can share the internet connexion from ethernet. Go in Control Panel > Network and Internet > Network and Sharing Center. Click on the connexion you want to share and the on 'Properties'. In the 'sharing' tab check the 'Allow other users to connect...' and select your new created hotspot connexion in the list.
In the example below, the created hotspot in called 'kinectServer' and the internet connexion is shared from 'eduroam'
{{:poppy-kine:wifihotspot.png?800|}}