Ligne 10 : |
Ligne 10 : |
| | | |
| FR: Doggy est un ServoRobot utilisant 4 membres ayant chacun 2 servo (2 degrés de liberté par membre). Les membres sont raccordés sur un contrôleur PWM PCA9685 raccordé sur I2C(2) à l'adresse 0x40 | | FR: Doggy est un ServoRobot utilisant 4 membres ayant chacun 2 servo (2 degrés de liberté par membre). Les membres sont raccordés sur un contrôleur PWM PCA9685 raccordé sur I2C(2) à l'adresse 0x40 |
| + | |
| + | === __init__( self, movementscls=MovementsCls ) === |
| + | * '''movementscls''' |
| + | ** ENG: list of Movement classes available to the robot. |
| + | ** FR: liste des classes Movement disponible pour le robot. |
| + | |
| + | === fr === |
| + | Property |
| + | ** ENG: member '''Front Right''' |
| + | ** FR: membre '''Avant droit''' |
| + | |
| + | === fl === |
| + | Property |
| + | ** ENG: member '''Front Left''' |
| + | ** FR: membre '''Avant gauche''' |
| + | |
| + | === rr === |
| + | Property |
| + | ** ENG: Member '''Rear Right''' |
| + | ** FR: Membre '''Arriere droit''' |
| + | |
| + | === rl === |
| + | Property |
| + | ** ENG: Member '''Rear Left''' |
| + | |
| + | ** FR: Membre '''Arriere gauche''' |
| + | |
| + | === standup(self, wdegree=90, step=2, sdelay=25) === |
| + | ENG: Move all wrists to the target wdegree for stand up. Do not touch the shoulders |
| + | |
| + | === align(self, sdegree=0, step=2, sdelay=25, asymetric=False ) === |
| + | ENG: Align all shoulder in the same angle. Good to fix initial position. Avoid over 60 degree |
| + | |
| + | === place_paw( self, member, sdegree, wdegree=90 ) === |
| + | ENG: Place a paw at a given position by setting the shoulder and the wrist at given angles |
| + | |
| + | * '''sdegree''' |
| + | ** ENG: target shoulder degree |
| + | ** FR: |
| + | * '''wdegree''' |
| + | ** ENG: target wrist degree |
| + | ** FR: |
| | | |
| {{Hack-micropython-ServoRobot-TRAILER}} | | {{Hack-micropython-ServoRobot-TRAILER}} |