Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
poppy_software [2016/01/19 12:50] nduminy |
poppy_software [2019/04/25 14:08] 127.0.0.1 external edit |
||
---|---|---|---|
Line 42: | Line 42: | ||
print dxl_io_lower.scan(range(60)) | print dxl_io_lower.scan(range(60)) | ||
</code> | </code> | ||
+ | |||
+ | ===== Embedded odroid ===== | ||
+ | |||
+ | The poppy humanoid has an embedded [[odroid xu 4]], where these libraries have been installed (pypot and poppy-humanoid). | ||
+ | You can log to the computer by ssh using the network labo-sid: odroid@poppy1 (mdp: odroid) | ||
+ | |||
+ | The new Poppy from february 2017 has a Rasberry Pi 3 instead of odroid xu 4. As the ethernet port is not available, the connexion to the Rasberry Pi is done using Wifi. 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 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. | ||
===== First program ===== | ===== First program ===== | ||
Line 76: | Line 85: | ||
time.sleep(5) | time.sleep(5) | ||
</code> | </code> | ||
- | * to record and replay a movement http://poppy-project.github.io/poppy-docs/pypot/doc/quickstart-primitive.html and https://poppy-project.github.io/pypot/move.html. | + | * to record and replay a movement https://poppy-project.github.io/pypot/move.html. |
++++ code| <code Python> | ++++ code| <code Python> | ||
- | importer des fonctions | + | #importer des fonctions |
import time | import time | ||
import math | import math | ||
Line 146: | Line 155: | ||
* Using the higher level //MovePlayer// class: this class implements a //LoopPrimitive// in order to update frequently the //goal_position// attribut of the joint (N.B: the //moving_speed// attribut __**is not modified**__ by the class when playing the motion and the robot __**will keep in mind the last //moving_speed//**__ sent). | * Using the higher level //MovePlayer// class: this class implements a //LoopPrimitive// in order to update frequently the //goal_position// attribut of the joint (N.B: the //moving_speed// attribut __**is not modified**__ by the class when playing the motion and the robot __**will keep in mind the last //moving_speed//**__ sent). | ||
- | If the //moving_speed// attribut is set to 0, then the joint will move at full speed (N.B: If you're unsure of the //moving_speed// you sent last to the robot and want to play a movement using //MovePlayer//, it is **__recommended__** to initially set the //moving_speed// of all the involved joints to 0.0) | + | If the //moving_speed// attribut is set to 0, then the joint will move at full speed (N.B: If you're unsure of the //moving_speed// you sent last to the robot and want to play a movement using //MovePlayer//, it is **__recommended__** to initially set the //moving_speed// of all the involved joints to 0.0). |