Pioneer 2 / PeopleBot manual Operating the Saphira Demonstration Client, Connected

Page 28
Figure 16. The main window of a robot-
connected Saphira client

Quick Start

Connected

P2OS v1.F 13.2*

Operating the Saphira Demonstration Client

When communications between the Saphira client and your robot’s servers are established, the robot becomes responsive and intelligent. For example, although it may drive toward an obstacle, your Pioneer 2-DXe will not crash (unless its obstacle- avoidance behaviors have been disabled) because it can detect and actively avoid collisions.

Engage the robot’s motors (white MOTORS button) after connecting

or it won’t move, no matter how excited you get.

Collision avoidance is just one of the many mobile robot behaviors available through Saphira and other client software available from ActivMedia Robotics, including the ActivMedia Robotics Basic Suite, ARIA, and others. Remember, this section is meant to familiarize you with your new robot. Please read the respective software manuals for how to get the most out of your robot and software.

Table 1. Keyboard-controlled behaviors

KEY

ACTION

i,

Increment forward velocity

m,

Decrement forward velocity

j,

Incremental left turn

l,

Incremental right turn

k, space

All stop

g

Toggle constant velocity

c

Toggle obstacle avoidance

The main window of the Saphira client displays a sonar map built by Saphira as the robot moves around its environment. Landmarks may be defined as Saphira recognizes and classifies certain sensor data patterns—walls and openings, for example.

In Figure 17, for example, a Pioneer 2- DX (center octagon) has identified a corridor and several doors. Notice the small dots, which are recent reflections detected by the front sonar array? The long lines through the onscreen sonar artifacts are the calculated corridor’s geometry. The rectangles directly ahead of the robot represent an obstacle “detected and of interest” to the robot. One of Saphira’s behaviors, by the way, is to have your robot seek and traverse the center of a corridor.

You may enable and disable Saphira behaviors that intelligently guide your ActivMedia robot by selecting or deselecting them from menu items in

the Saphira client and from the client keyboard. These include manual drive operation and disabling/enabling obstacle avoidance and constant velocity behaviors.

22

Image 28
Contents Pioneer 2 / PeopleBot TM Page Important Safety Instructions Table of Contents Pioneer 2 Operating System Appendix C Introduction Robot PackageBasic Components all shipments Optional Components and Attachments partial listAdditional Resources User-Supplied Components / System RequirementsSoftware NewsgroupsSupport Support@activmedia.comWhat Is Pioneer? Client SoftwareHttp//robots.activmedia.com ActivMedia Robotics Basic SuiteAria SaphiraPioneer Pioneer LegacyPioneer 2 and PeopleBot Page Modes of Operation Physical Characteristics Specifications & ControlsMain Components Decks and Console Pioneer 2-AT Console and hinged DeckBody, Nose, and Accessory Panels Sonar Arrays with Gain Adjustment Electronics Batteries and PowerMotors and Position Encoders Controls, Ports, and Indicators Liquid-Crystal Display & Contrast Adjustment Reset and MotorsSerial Pioneer 2 Arm-related SIPs and Commands Safety Watchdogs and ConfigurationPeopleBot Sensors and Emergency Stop Preparative Assembly Saphira Client Installation Quick Start Http//robots.activmedia.comSaphira Client Start-Up Robot Cold Start-UpSET SAPHIRA=C\Saphira\ver62 Export DISPLAY=remotecomputer0Starting Client-Server Communications Successful ConnectionOperating the Saphira Demonstration Client ConnectedQuickstart Troubleshooting Quick Start Joystick Connection Joydrive and Self-TestsJoydrive Operation Engaging Self-Tests Motors TestPress again to begin tests Left forward 13.2Sonar Test BumpersGripper CompassDigin and Digout Test Analog TestsUser PWMs Digin DigoutPioneer 2 Operating System Communication Packet ProtocolPacket Data Types Packet ErrorsPacket Checksum Name Data Type Description Client Commands Server Information PacketsBefore Client Connection Client Command Argument Types PtuposSaphira Client Command Support AutoconfigurationProgramming P2OS Establishing a Client-Server Connection-SYNCKeeping the Beat-PULSE Movement CommandsClosing the Connection-CLOSE Pioneer in Motion PID ControlsSonar Position IntegrationEstop and Estall SfRobotComInt44,1Extended Packets CONFIGpac and Config CommandPacket Processing SERAUXpac and Getaux ENCODERpac and Encoder Command PLAYLISTpac and Playlist CommandGRIPPERpac and Griprequest Checksum Integer Computed checksumTCM2pac and TCM2 Command DIGIN, TIMER, and AdselInput / Output I/O SfSMessageDigin is %i,sfRobot.diginDigout and Psupos IOpac and IorequestPerformance PeopleBot IRs Updating & Reconfiguring P2OS Where to Get P2OS SoftwareInstalling the P2OS Utilities Updating P2OSEnable Flash Put Microcontroller into Download ModeDownload Troubleshooting Run p2osdlConfiguring P2OS Operating Parameters Steps 1-3 Preparing for ConfigurationChanging Configuration Parameters Run p2oscfEditing P2OS Parameters Arm Parameters Saving and RestoringSave C\p2os\myP2DX Keyword PID Parameters Encoder and RevcountCalibration Tools revcountcal and compasscal Parameter DXe Performance PBCompasscal /dev/ttyS3 Drive Lubrication Maintenance & RepairBatteries Getting Inside Alternative Battery ChargersRemoving 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 User Power Connections Power Switch J7 and Delayed Shutdown LogicAppendix B Onboard Computer OptionPower-State Logic Computer PowerJoystick Connector Appendix CSpecifications Appendix DControls and Ports Index ControlsSpecifications Warranty & Liabilities Page Concord Street Peterborough, NH 603