Pioneer 2 / PeopleBot manual Pioneer in Motion, PID Controls

Page 43

ActivMedia Robotics

and velocity of the robot.

When in translation/ rotation (TR) motion control (recommended), separate translation and rotation servers work independently to achieve the specified forward/ reverse speed and heading of the robot. P2OS will try to make the robot achieve the desired translational velocity and rotate to the desired heading as soon as the commands are received. Acceleration and deceleration managers, which default values you may prepare and also change on-the-fly (SETRA and SETA), operate independently for translation and rotation, too.

Pioneer in Motion

When P2OS receives a translation, rotation, or direct-wheel velocity command, it accelerates the robot at the SETA (both TR and VEL2 modes)and SETRA (TR mode only) rates you program, or at the rates preset in the P2OS configuration parameters. Rotational headings and translational setpoints are achieved by a trapezoidal velocity function. This function is recomputed each time a new motion command is received, making on-the-fly changes possible.

Rotational and translational velocities are limited to the maximum values set in the P2OS parameters or which you may reset with the SETVEL and

SETRV commands. Maximums take affect

on subsequent

commands, not previously established velocity or heading setpoints.

max velocity

short turn,

 

max velocity

rotational

not reached

velocity

 

 

accel

decel

 

time

 

 

start

position

position

position

achieved

achieved

Figure 20. Pioneer’s trapezoidal turning velocity profile

Note that with P2OS version 1.8 and later, you may override deceleration with the emergency stop (E_STOP) command number 55 or with the Emergency STOP button enabled on the Performance PeopleBot (E_STALL command #56). Accordingly, the robot brakes to zero translational and rotational velocities with very high deceleration and remains stopped until it receives a subsequent translational or rotational velocity command from the client. (See E_STOP and E_STALL later in this chapter.)

PID Controls

The Pioneer drive servers use a common Proportional-Integral-Derivative (PID) control system to adjust the PWM pulse width at the drivers and subsequent power to the motors. The motor-duty cycle is 200 µsec; pulse-width is proportional 0-500.

The P2OS drive servers recalculate and adjust your robot’s trajectory and speed every 10ms (P2OS v1.I and earlier) or every 5ms (P2OS1.J) based on feedback from the wheel encoders. Note that the latter time cycle leads to enhanced performance of the robot.

The default PID values for both translation and rotation are stored in FLASH. Beginning with P2OS1.J, you may change those values on the fly with the client commands 84-87.

37

Image 43
Contents Pioneer 2 / PeopleBot TM Page Important Safety Instructions Table of Contents Pioneer 2 Operating System Appendix C Optional Components and Attachments partial list IntroductionRobot Package Basic Components all shipmentsNewsgroups Additional ResourcesUser-Supplied Components / System Requirements SoftwareSupport@activmedia.com SupportClient Software What Is Pioneer?ActivMedia Robotics Basic Suite Http//robots.activmedia.comSaphira AriaPioneer Pioneer LegacyPioneer 2 and PeopleBot Page Modes of Operation Physical Characteristics Specifications & ControlsMain Components Pioneer 2-AT Console and hinged Deck Decks and ConsoleBody, Nose, and Accessory Panels Sonar Arrays with Gain Adjustment Electronics Batteries and PowerMotors and Position Encoders Controls, Ports, and Indicators Reset and Motors Liquid-Crystal Display & Contrast AdjustmentSerial Pioneer 2 Arm-related SIPs and Commands Safety Watchdogs and ConfigurationPeopleBot Sensors and Emergency Stop Http//robots.activmedia.com Preparative AssemblySaphira Client Installation Quick StartExport DISPLAY=remotecomputer0 Saphira Client Start-UpRobot Cold Start-Up SET SAPHIRA=C\Saphira\ver62Successful Connection Starting Client-Server CommunicationsConnected Operating the Saphira Demonstration ClientQuickstart Troubleshooting Quick Start Joystick Connection Joydrive and Self-TestsJoydrive Operation Left forward 13.2 Engaging Self-TestsMotors Test Press again to begin testsCompass Sonar TestBumpers GripperDigin Digout Digin and Digout TestAnalog Tests User PWMsCommunication Packet Protocol Pioneer 2 Operating SystemPacket Data Types Packet ErrorsPacket Checksum Name Data Type Description Server Information Packets Client CommandsBefore Client Connection Ptupos Client Command Argument TypesEstablishing a Client-Server Connection-SYNC Saphira Client Command SupportAutoconfiguration Programming P2OSKeeping the Beat-PULSE Movement CommandsClosing the Connection-CLOSE PID Controls Pioneer in MotionPosition Integration SonarSfRobotComInt44,1 Estop and EstallExtended Packets CONFIGpac and Config CommandPacket Processing SERAUXpac and Getaux Checksum Integer Computed checksum ENCODERpac and Encoder CommandPLAYLISTpac and Playlist Command GRIPPERpac and GriprequestSfSMessageDigin is %i,sfRobot.digin TCM2pac and TCM2 CommandDIGIN, TIMER, and Adsel Input / Output I/OIOpac and Iorequest Digout and PsuposPerformance PeopleBot IRs Updating P2OS Updating & Reconfiguring P2OSWhere to Get P2OS Software Installing the P2OS UtilitiesRun p2osdl Enable FlashPut Microcontroller into Download Mode Download TroubleshootingRun p2oscf Configuring P2OS Operating ParametersSteps 1-3 Preparing for Configuration Changing Configuration ParametersEditing P2OS Parameters Arm Parameters Saving and RestoringSave C\p2os\myP2DX Keyword Encoder and Revcount PID ParametersParameter DXe Performance PB Calibration Tools revcountcal and compasscalCompasscal /dev/ttyS3 Drive Lubrication Maintenance & RepairBatteries Getting Inside Alternative Battery ChargersRemoving 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 Onboard Computer Option User Power ConnectionsPower Switch J7 and Delayed Shutdown Logic Appendix BComputer 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.