Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
main_prehensile_pour_le_robot_poppy_et_interface_tangible [2018/08/07 13:01]
mai [Execute the code to control the robot] raspberry pi ip
main_prehensile_pour_le_robot_poppy_et_interface_tangible [2018/08/07 13:41]
mai
Line 67: Line 67:
 Once everything is installed, there are some example codes in the repository Once everything is installed, there are some example codes in the repository
  
-==== Install the game software ====+==== Install the game software ​on the laptop ​==== 
 +If you are using the laptop from the laboratory, all the packages should be installed, if not install them with pip.
 On the laptop, install for instance in folder /​home/​user/​2018_S4_projet13 the software: On the laptop, install for instance in folder /​home/​user/​2018_S4_projet13 the software:
  git clone https://​github.com/​ftdargentina/​2018_s4_projet13.git  git clone https://​github.com/​ftdargentina/​2018_s4_projet13.git
Line 76: Line 77:
  
  
-If you are using the laptop from the laboratory, all the packages should be installed, if not install them with pip. 
 You have to connect the USB camera and the projector to the laptop, if the laptop does not recognize the projector, try restarting the laptop with the projector connected. You have to connect the USB camera and the projector to the laptop, if the laptop does not recognize the projector, try restarting the laptop with the projector connected.
  
Line 118: Line 118:
 Currently the ip of the RaspberryPi is 10.42.0.246. Make sure that the raspberry is connected to the internet with an ethernet cable (it should have internet from the laptop if the laptop as the WiFi enabled). Currently the ip of the RaspberryPi is 10.42.0.246. Make sure that the raspberry is connected to the internet with an ethernet cable (it should have internet from the laptop if the laptop as the WiFi enabled).
  
-Clone the repository and execute the file gestion.py to command the robot+If not installed, clone the repository ​(git clone https://​github.com/​ftdargentina/​2018_s4_projet13.git) ​and execute the file gestion.py to command the robot
  cd /home/pi  cd /home/pi
- git clone https://​github.com/​ftdargentina/​2018_s4_projet13.git 
  cd /​home/​pi/​2018_s4_projet13/​game_code/​  cd /​home/​pi/​2018_s4_projet13/​game_code/​
  sudo python gestion.py  sudo python gestion.py
  • main_prehensile_pour_le_robot_poppy_et_interface_tangible.txt
  • Last modified: 2019/04/25 14:08
  • (external edit)