DAGU Playful Puppy Manuel de l'utilisateur - Page 14

Parcourez en ligne ou téléchargez le pdf Manuel de l'utilisateur pour {nom_de_la_catégorie} DAGU Playful Puppy. DAGU Playful Puppy 15 pages. Quadruped robot kit

The sample code tracks your hand movements with the compound eye and responds accordingly. If you
leave the robot alone for 3 seconds then it will sit down out of boredom. Once it sits down it gets lazy
and will only track your hand with it's head.
If you slowly bring your hand within range and move your hand to a paw then the robot will lift that
paw for you to shake hands. If you bring your hand between the paws it will lie down.
Once sitting you must excite the robot to get it to stand back on it's feet. taking your hand to one side or
above the robot so it can no longer see your hand will do this.
When the robot is standing it will try and maintain a set distance from your hand. It will walk forward,
move backward or turn in order to keep your hand in range. Do not move your hand too quick or it may
loose sight of your hand.
If you move your hand directly over it's head while the robot is standing then it will try to jump on it's
rear legs. If your hand stays in range of the eye the robot will try and walk on it's back legs to follow
your hand. This trick might not work with the NiMh batteries as they are heavier than the LiPo battery
used in the demo video.

Step 25. Trouble shooting

The robot probably won't work very well at first. Each servo is a little bit different so some tweaking is
required. At the start of the main loop add the line "return;". This will cause the robot to stand still
indefinitely.
You can now adjust the servo center positions in the constants tab until the rear hips are at 90 degrees
to the body and the front hips are slightly forward. All knees should bend inward slightly. If any of your
servos are drastically out of alignment then you may need to reseat the servo horn.
Your head should look straight forward with the head looking up at about a 30 - 40 degree angle. Once
your robots servos are set correctly you can remove the "return;" line from your main loop.
If the head does not track your hand then check your eye connections. If the head turns away from your
hand then you may have accidently swapped your wires or mounted the eye upside down (the wires
should come out at the bottom). Double check everything in steps 14 and 18. Are your servos plugged