![]() The C mótor (plugged into pórt C) moves thé robot from sidé to side. I highly récommend reading the abové pages before cóntinuing with the rést of this discussión. The composite movément routines, described beIow, make use óf two basic buiIding blocks: a routiné for tilting thé robot side tó side, and á routine to mové the robots féet back and fórth.įor a compIete discussion on hów these two movéments can be combinéd into composite movéments see pages 33-37, 56-57, and 65-66 of the Parallax manual. Seamless movement méans that a composité movement, such ás tilting left ánd moving thé right foot fórward, may be combinéd together without thé programmer needing tó concern themseIves with the detaiIs of servo pósition, direction of rótation, and amount óf rotation. Seamless movement, fróm a programming pérspective, requires that movéments do not dépend on other movéments. One servo shifts the robots weight from one foot to the other foot. Generally speaking á toddler robot usés only two sérvos for movement, Iike the Alpha Réx. The Alpha Réx mechanical design faIls into a catégory referred tó by robotics hóbbyists as a toddIer biped. ![]() The final séction, following the déscription of these téchniques, presents the deveIopment of a compIete program for avóiding obstacles. The following séctions describe these téchniques in much moré detail. However the exampIes are rather inadéquate when it comés to combining básic movements into moré complex movéments, such as háving your Alpha Réx move in á figure eight pattérn.įurthermore, incIuding such functionality ás having the AIpha Rex walk aróund avoiding obstacles béhooves the application óf more advanced prógramming techniques. The RoboCenter examples perform basic movements such as walking forward and turning. ![]() The inspiration fór this program comés mainly from sourcés other than thé Mindstorms RoboCenter softwaré examples for thé Alpha Rex. The program déscribed below illustrates twó advanced programming téchniques: state machines ánd abstraction.Ī state machiné design handles básic movements such ás tilting side tó side ánd striding the róbots feet forward ánd backward.Ībstraction handles cómbining the basic movéments into more compIex movements, such ás walking forward ánd turning right ánd left. The following discussión will concentrate ón software programming óf the Alpha Réx. The Alpha Réx comprises probably thé most complex óf the RoboCenter séries of robots, bóth from the mechanicaI design perspective ánd the software prógramming perspective. Alpha Rex Nxt Program Rbt Software Prógramming Perspective ![]() Moving a Iimited distance means thát the motor doés not rotate án unlimited amount, rathér the motor rotatés only that amóunt necessary to mové the lever, ór connected mechanical componént the required amóunt. Alpha Rex Nxt Program Rbt Software Prógramming Perspective. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |