Pioneer 2 / PeopleBot Movement Commands, Keeping the Beat-PULSE, Closing the Connection-CLOSE

Page 42

Pioneer 2 Operating System

housekeeping functions, start its sonar and motor controllers (among other things), listen for client commands, and begin transmitting server information to the client.

Note that once connected, Pioneer 2's and PeopleBot’s motors are disabled, regardless of their state when last connected. After starting a connection, you must either enable the motors manually (white MOTORS button) or send the P2OS motors ENABLE command with the argument 1; sfRobotComInt(4,1), for example.19

Keeping the Beat—PULSE

A P2OS safety watchdog expects that the controller receives at least one communication packet from the client every watchdog seconds (default is two). Otherwise, it assumes the client-server connection is broken and stops the robot.

It’s good practice to have the client send a PULSE command just after opening the P2OS servers. And if your client application will be otherwise distracted for some time, periodically issue the PULSE command to let P2OS know you are indeed alive and well. If the robot shuts down due to lack of communications traffic, it will revive upon receipt of a client command and automatically accelerate to the last-specified speed and heading setpoints.

Closing the Connection—CLOSE

To close the client-server connection, disabling the motors and sonar, and resetting P2OS to its wait state, simply issue the client CLOSE command.

Movement Commands

The P2OS motor-control servers accept several different motion com- mands of two mutually exclusive types: either direct wheel-velocities or translational/rotational motor controls. The robot

servers automatically abandon any P2OS translational or rotational setpoints and switch to

direct wheel-velocity control mode when they receive a VEL2 command.

Any other motion command makes P2OS abandon direct wheel- velocity control.

For example, if P2OS is in

direct-wheel velocity (VEL2) mode and is given a HEAD command, it disables that direct-wheel velocity mode and starts controlling the heading

Table 7. P2OS movement commands

Rotation

HEAD

Absolute heading

 

 

DHEAD,

Differential heading from control point

DCHEAD

 

 

 

ROTATE

Rotational speed

 

 

SETRA

Rotational (de)acceleration to achieve setpoint

 

 

SETRV

Sets maximum rotational velocity and is

 

velocity used for Colbert turn and turnto

 

command speeds.

 

 

Translation

 

 

 

VEL

Forward/back velocity

 

 

MOVE

Forward/back distance

 

 

SETA

Translation (de)acceleration to achieve setpoint

 

 

SETV

Sets maximum translational velocity and is

 

used for Colbert move command speed.

 

 

19Alternatively, disable the motors with the ENABLE command argument 0.

36

Image 42
Contents Pioneer 2 / PeopleBot TM Page Important Safety Instructions Table of Contents Pioneer 2 Operating System Appendix C Basic Components all shipments IntroductionRobot Package Optional Components and Attachments partial listSoftware Additional ResourcesUser-Supplied Components / System Requirements NewsgroupsSupport Support@activmedia.comWhat Is Pioneer? Client SoftwareHttp//robots.activmedia.com ActivMedia Robotics Basic SuiteAria SaphiraPioneer Legacy PioneerPioneer 2 and PeopleBot Page Modes of Operation Specifications & Controls Physical CharacteristicsMain Components Decks and Console Pioneer 2-AT Console and hinged DeckBody, Nose, and Accessory Panels Sonar Arrays with Gain Adjustment Batteries and Power ElectronicsMotors and Position Encoders Controls, Ports, and Indicators Liquid-Crystal Display & Contrast Adjustment Reset and MotorsSerial Safety Watchdogs and Configuration Pioneer 2 Arm-related SIPs and CommandsPeopleBot Sensors and Emergency Stop Quick Start Preparative AssemblySaphira Client Installation Http//robots.activmedia.comSET SAPHIRA=C\Saphira\ver62 Saphira Client Start-UpRobot Cold Start-Up Export DISPLAY=remotecomputer0Starting Client-Server Communications Successful ConnectionOperating the Saphira Demonstration Client ConnectedQuickstart Troubleshooting Quick Start Joydrive and Self-Tests Joystick ConnectionJoydrive Operation Press again to begin tests Engaging Self-TestsMotors Test Left forward 13.2Gripper Sonar TestBumpers CompassUser PWMs Digin and Digout TestAnalog Tests Digin DigoutPioneer 2 Operating System Communication Packet ProtocolPacket Errors Packet Data TypesPacket Checksum Name Data Type Description Client Commands Server Information PacketsBefore Client Connection Client Command Argument Types PtuposProgramming P2OS Saphira Client Command SupportAutoconfiguration Establishing a Client-Server Connection-SYNCMovement Commands Keeping the Beat-PULSEClosing the Connection-CLOSE Pioneer in Motion PID ControlsSonar Position IntegrationEstop and Estall SfRobotComInt44,1CONFIGpac and Config Command Extended PacketsPacket Processing SERAUXpac and Getaux GRIPPERpac and Griprequest ENCODERpac and Encoder CommandPLAYLISTpac and Playlist Command Checksum Integer Computed checksumInput / Output I/O TCM2pac and TCM2 CommandDIGIN, TIMER, and Adsel SfSMessageDigin is %i,sfRobot.diginDigout and Psupos IOpac and IorequestPerformance PeopleBot IRs Installing the P2OS Utilities Updating & Reconfiguring P2OSWhere to Get P2OS Software Updating P2OSDownload Troubleshooting Enable FlashPut Microcontroller into Download Mode Run p2osdlChanging Configuration Parameters Configuring P2OS Operating ParametersSteps 1-3 Preparing for Configuration Run p2oscfEditing P2OS Parameters Saving and Restoring Arm ParametersSave C\p2os\myP2DX Keyword PID Parameters Encoder and RevcountCalibration Tools revcountcal and compasscal Parameter DXe Performance PBCompasscal /dev/ttyS3 Maintenance & Repair Drive LubricationBatteries Alternative Battery Chargers Getting InsideRemoving the Nose Opening the Deck Remove indicated screws to remove Original Pioneer 2-AT DeckFactory Repairs Support@activmedia.com 603 924-2184 fax 603 924-9100 voiceAppendix a C166 Controller Ports & ConnectionsInternal Serial Connectors User I/O Expansion PortPerformance PeopleBot I/O Pin Label UseGeneral I/O Bus Appendix B User Power ConnectionsPower Switch J7 and Delayed Shutdown Logic Onboard Computer OptionPower-State Logic Computer PowerJoystick Connector Appendix CSpecifications Appendix DControls and Ports Index ControlsSpecifications 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.