Pioneer 2 Operating System

For example,

sfRobotComInt (35,4); /* select AN4 to b in the standard SIP */

later…

if (sfRobot.timer & 0xff = = 4 && sfRobot.analog > 200) /* E-Stop button pressed and engaged */

else

/* E-stop not engaged. */

Extended Packets

Several different, additional types of server information packets come with P2OS to better support the ActivMedia Robotics community. On request from the client by a related P2OS command, the P2OS server packages and sends one or a continuous stream (one per cycle) of information packets back to the client over the Host serial communication line. Extended packets get intermingled with the standard SIP that P2OS sends to your client every 100 or 50 milliseconds, depending on the SinfoCycle parameter.21

Packet Processing

Like the standard SIP, all P2OS server information packets get encapsulated with a header (0xFA, 0xFB), byte count, packet type byte, and trailing checksum. It is up to the client to parse the packets, sorted by type for content. Please consult the respective client application programming manuals for details.

Saphira, for example, has an internal parser for the PSOS/P2OS packet type 0x3S (S=0-2; aka “standard” SIP), but not for the P2OS extended packets we describe in this section. However, you are able to program and add packet handlers to Saphira: either as a special plugin program as found at the http://robots.activmedia.com support website (look for details in the contributed directory) or directly in your own Saphira client. A sample packet processor is included with the Saphira distribution—packet.cin the apps/ directory, and see the AUX serial SIP processing code in the following section.

CONFIGpac and CONFIG Command

21You may have to adjust the Host port serial baud rate to accommodate the additional communications traffic.

40

Page 46
Image 46
Pioneer 2 / PeopleBot manual Extended Packets, Packet Processing, CONFIGpac and Config Command

2 / PeopleBot specifications

Pioneer 2, also known as PeopleBot, is an advanced mobile robot platform heralded for its versatile design and robust capabilities. Developed by the renowned robotics company Adept Technology, Pioneer 2 has become a staple in the field of mobile robotics, widely utilized for research, education, and practical applications in various industries.

One of the standout features of Pioneer 2 is its exceptional mobility. The robot is equipped with differential steering, allowing it to navigate complex environments with precision. Its compact and sturdy chassis enables it to traverse a variety of terrains, making it suitable for indoor and outdoor exploration. This mobility is further enhanced by an adaptable wheel configuration, allowing for smooth movement even over obstacles.

In terms of technologies, Pioneer 2 is outfitted with an array of sensors that facilitate autonomous navigation and obstacle avoidance. These sensors include laser range finders, infrared sensors, and bumpers, which work in tandem to map the surrounding environment and detect potential hazards. This capability is critical for applications in areas such as warehouse automation or reconnaissance tasks, where safe navigation is paramount.

Pioneer 2 also supports extensive software frameworks, notably the Robot Operating System (ROS). This compatibility allows researchers and developers to leverage a vast library of tools and algorithms, expediting the process of programming and deploying robotic applications. Additionally, the platform can be integrated with various payloads, such as cameras or grippers, expanding its functionality further.

Another significant characteristic of Pioneer 2 is its user-friendly design. The robot comes with an easy-to-use programming interface that empowers users with varying levels of expertise to engage with the technology. Educational institutions often employ Pioneer 2 in robotics courses to provide students with hands-on experience in programming and operating robotic systems.

Powering Pioneer 2 is a rechargeable battery system that ensures extended operation times. This feature is particularly advantageous for fieldwork applications where connectivity to a power source may not be readily available. Importantly, the robot’s modular design facilitates maintenance and upgrades, allowing users to keep their systems current with advances in technology.

Overall, Pioneer 2 (PeopleBot) exemplifies innovation in mobile robotics with its outstanding mobility, advanced sensing technologies, compatibility with leading software frameworks, and a design focused on ease of use and adaptability. It continues to be a preferred choice for researchers, educators, and professionals in the rapidly evolving landscape of robotics.