Pioneer 2 / PeopleBot manual Estop and Estall, SfRobotComInt44,1

Page 45

ActivMedia Robotics

example. You may repeat a sonar number and have it ping more than once per sequence.

For example:

sfRobotComStrn(sfCOMPOLLING,"\001\002\001\002",4); /* ping front left only */

Note that if the string is empty, the sonar get turned off, even though you hadn't disabled the sonar with the SONAR command.

BUMP_STALL

Because the robots are programmed to climb, it can take up to a second or more to detect object collisions and subsequent motor stalls. With P2OS version 1.5, we introduced a responsive way to stop your robot within a few milliseconds upon collision with an obstacle: BUMP_STALL. With the robot equipped with forward and/or rear bumpers, you can now program P2OS to immediately stop the robot and notify the client of a stall if any one of the forward or rear bump sensors get triggered.

NOTICE

BUMPSTALL requires supporting bump ring accessories.

Send the BUMP_STALL command (#44) with a integer argument of 0 to disable the behavior (default on startup). Use the argument value 1 to enable BUMP_STALL only when a forward bump sensor gets triggered; 2 for rear-only BUMP_STALL; or 3 for both rear and forward bump ring-activated stalls.

For example, to enable BUMP_STALL when any one of the five contact sensors on a forward bump ring gets triggered:

sfRobotComInt(44,1);

E_STOP and E_STALL

In an emergency, your client may want the robot to stop quickly, not subject to normal deceleration. In that case, send the E_STOP command (#55).

Like BUMP_STALL, use P2OS’ built-in E_STALL feature (version 1_E or later) to simulate a stall when someone presses the Performance PeopleBot’s Emergency STOP button. An integrated switch in the button causes the User I/O analog port #4 on the microcontroller to go high (+5VDC) and thereby notify P2OS of the emergency condition. Accordingly, when enabled, E_STALL will disable the motors in P2OS and notify your Saphira or other software client that the robot has stalled (stall bytes in the standard SIP), thereby avoiding the motor rush that may occur when you reactivate the emergency STOP button.

Since it is normally disabled, you must enable E_STALL through software at least once after a reset or power cycle of the Performance PeopleBot. To enable E_STALL, send the E_STALL P2OS command (#56) with argument = 1; 0 disables E_STALL.

For example, with Saphira:

sfRobotComInt(56,1); /* Enable E_STALL */ sfRobotComInt(56,0); /* Disable E_STALL */

You may also monitor the state of the Emergency STOP button with or without E_STALL as an analog value reported in the standard SIP. You must first request that the value be included in the standard packet since it is not the default analog port. (The current analog port# is encoded in the timer entry.)

39

Image 45
Contents Pioneer 2 / PeopleBot TM Page Important Safety Instructions Table of Contents Pioneer 2 Operating System Appendix C Robot Package IntroductionBasic Components all shipments Optional Components and Attachments partial listUser-Supplied Components / System Requirements Additional ResourcesSoftware NewsgroupsSupport@activmedia.com SupportClient Software What Is Pioneer?ActivMedia Robotics Basic Suite Http//robots.activmedia.comSaphira AriaPioneer Legacy PioneerPioneer 2 and PeopleBot Page Modes of Operation Specifications & Controls Physical CharacteristicsMain Components Pioneer 2-AT Console and hinged Deck Decks and ConsoleBody, Nose, and Accessory Panels Sonar Arrays with Gain Adjustment Batteries and Power ElectronicsMotors and Position Encoders Controls, Ports, and Indicators Reset and Motors Liquid-Crystal Display & Contrast AdjustmentSerial Safety Watchdogs and Configuration Pioneer 2 Arm-related SIPs and CommandsPeopleBot Sensors and Emergency Stop Saphira Client Installation Preparative AssemblyQuick Start Http//robots.activmedia.comRobot Cold Start-Up Saphira Client Start-UpSET SAPHIRA=C\Saphira\ver62 Export DISPLAY=remotecomputer0Successful Connection Starting Client-Server CommunicationsConnected Operating the Saphira Demonstration ClientQuickstart Troubleshooting Quick Start Joydrive and Self-Tests Joystick ConnectionJoydrive Operation Motors Test Engaging Self-TestsPress again to begin tests Left forward 13.2Bumpers Sonar TestGripper CompassAnalog Tests Digin and Digout TestUser PWMs Digin DigoutCommunication Packet Protocol Pioneer 2 Operating SystemPacket Errors Packet Data TypesPacket Checksum Name Data Type Description Server Information Packets Client CommandsBefore Client Connection Ptupos Client Command Argument TypesAutoconfiguration Saphira Client Command SupportProgramming P2OS Establishing a Client-Server Connection-SYNCMovement Commands Keeping the Beat-PULSEClosing the Connection-CLOSE PID Controls Pioneer in MotionPosition Integration SonarSfRobotComInt44,1 Estop and EstallCONFIGpac and Config Command Extended PacketsPacket Processing SERAUXpac and Getaux PLAYLISTpac and Playlist Command ENCODERpac and Encoder CommandGRIPPERpac and Griprequest Checksum Integer Computed checksumDIGIN, TIMER, and Adsel TCM2pac and TCM2 CommandInput / Output I/O SfSMessageDigin is %i,sfRobot.diginIOpac and Iorequest Digout and PsuposPerformance PeopleBot IRs Where to Get P2OS Software Updating & Reconfiguring P2OSInstalling the P2OS Utilities Updating P2OSPut Microcontroller into Download Mode Enable FlashDownload Troubleshooting Run p2osdlSteps 1-3 Preparing for Configuration Configuring P2OS Operating ParametersChanging Configuration Parameters Run p2oscfEditing P2OS Parameters Saving and Restoring Arm ParametersSave C\p2os\myP2DX Keyword Encoder and Revcount PID ParametersParameter DXe Performance PB Calibration Tools revcountcal and compasscalCompasscal /dev/ttyS3 Maintenance & Repair Drive LubricationBatteries Alternative Battery Chargers Getting InsideRemoving the Nose Remove indicated screws to remove Original Pioneer 2-AT Deck Opening the DeckSupport@activmedia.com 603 924-2184 fax 603 924-9100 voice Factory RepairsC166 Controller Ports & Connections Appendix aUser I/O Expansion Port Internal Serial ConnectorsPin Label Use Performance PeopleBot I/OGeneral I/O Bus Power Switch J7 and Delayed Shutdown Logic User Power ConnectionsAppendix B Onboard Computer OptionComputer Power Power-State LogicAppendix C Joystick ConnectorAppendix D SpecificationsControls and Ports Controls IndexSpecifications Warranty & Liabilities Page Concord Street Peterborough, NH 603

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.