Pioneer 3TM, 2TM manual Sounds, TCM2

Page 52

ActivMedia Robotics Operating System

Table 11. GRIPPERpac state byte

BIT

FUNCTION

STATE

0

Grip limit

Paddles fully open when 0; otherwise between or closed

1

Lift limit

Lift fully up or down when 0; otherwise in between

2

Outer breakbeam

Obstructed when 0; nothing in between when 1

3

Inner breakbeam

Obstructed when 0; nothing in between when 1

4

Left paddle

Grasping when 0

5

Right paddle

Grasping when 0

6

Lift

Moving when 1

7

Gripper

Moving when 1

Note that the Gripper status information bits 0-5 also may be obtained from the respective digin and digout values of the standard SIP as related to the User I/O port states. See Appendix A for connection details.

Sounds

Unlike its ActivMedia robot cousins, the AmigoBot mobile robot has onboard sound reproduction hardware and software that includes a playlist of contents. To support the ActivMedia Robotics Interface for Applications (ARIA) that includes all ActivMedia’s robots, we’ve included the PLAYLISTpac (type = 208; 0xD0) and PLAYLIST request command 91 in AROS. We document the command and packet here for completeness, but they have no effect on the operation or performance of your ActivMedia mobile robot.

The AmigoBot sounds playlist consists of a series of one to 255 24-byte long sound references, followed by individual sound data. Sound references may be NULL or redundant.

Sound references consist of a 16-byte sound name followed by two long integers, which specify the sound data position and length in the playlist. Upon receipt of the PLAYLIST command 91 with any or no argument, AROS responds with a PLAYLISTpac SIP containing 25 NULL bytes, telling the client that your AROS-based robot does not have any onboard sounds.

Whereas the AmigoBot has a high-fidelity sound system, AROS- and P2OS-based robots have a piezo buzzer that aurally notifies you of system conditions, such as low battery or stalls. For stealthy operation, issue the SOUNTOG command number 92 with an argument of zero to mute the controller’s buzzer; argument of one to re-enable it. (See also the SOUNDTOG FLASH parameter in the next chapter to set its default state.)

The SAY command number 15 lets you play your own sounds through the buzzer. The argument consists of a length-specified string of duration/frequency tone pair bytes. The duration is measured in 20 millisecond increments. Frequencies are half-tones, limited by the 8-bit timer. You’ll have to experiment with tones. Here is the sequence that generates the AROS tone when the robot stalls (in octal):

\012\001\012\000\012\010\012\000\012\001

TCM2

The TCM2 accessory is an integrated inclinometer, magnetometer, thermometer, and compass that attaches to one of the AUX serial ports of the AROS microcontroller. When attached and enabled, special TCM2 compass servers read and report the heading as the compass byte in the standard SIP. Use the TCM2 command 45 to request additional information from the device in the form of the TCM2pac. See the TCM2 Manual and supporting software that accompanies the device for details.

46

Image 52
Contents Pioneer H8-Series Operations Manual Page Important Safety Instructions Table of Contents Operating the Aria Demonstration Client Appendix C Introduction Robot PackageBasic Components all shipments Optional Components and Attachments partial listUser-Supplied Components / System Requirements Additional ResourcesSupport Website NewsgroupsSupport Support@activmedia.comWhat Is Pioneer? Pioneer Reference PlatformPlus MOTOR-POWER Board Hitachi H8S-BASED MicrocontrollerClient Software Http//robots.activmedia.comSupporting Software Pioneer LegacyPioneer 1 and AT Pioneer 2 and PeopleBotActivMedia Robotics Server Mode Maintenance and Standalone ModesModes of Operation Joydrive and Self Test ModesSpecifications & Controls Physical CharacteristicsMain Components Motor Stop ButtonUser Control Panel P3-DX User Control PanelBody, Nose, and Accessory Panels Sonar Arrays with Gain AdjustmentBatteries and Power Motors, Wheels, and Position EncodersBattery Indicators and Low Voltage Conditions RechargingManual Operation Robot Power and Systems on Manual Operation Robot Power OFFDOCKING/CHARGING System Radio Controls and Accessories Client-server connection optionsOnboard PC Computer Control PanelOperating the Onboard PC PC NetworkingUPS and Genpowerd Safety Aros Watchdogs Install Aria Preparative AssemblyQuick Start Install Batteries Client-Server CommunicationsStarting UP Client and Server Drive Self-TestDemo Startup Options IpthruSuccessful Connection Operating the Aria Demonstration ClientQuickstart Troubleshooting DisconnectingProper Connections OFF SRIsimJoydrive Mode Joydrive and Self-TestsEngaging SELF-TESTS ActivMedia Robotics Operating System CLIENT-SERVER Communication Packet ProtocolsPacket Errors Packet ChecksumServer Information Packets Multiply by DistConvFactor‡Client Commands Before Client ConnectionP2OS CLIENT-SERVER Connection Autoconfiguration SYNC2 Opening the Servers-OPENKeeping the Beat-PULSE Closing the Connection-CLOSEMotion Commands RotationActivMedia Robots in Motion Platform Dependent and Independent VariablesPID Controls Internal coordinate systemEnable/Disabling Sonar Position IntegrationSonar Polling Sequence and RateStalls and Emergencies 11-15 ReservedAccessory Commands and Packets Packet ProcessingSerial Port Communications CONFIGpac and Config CommandChanging Baud Rates and Autobauding Encoder Packets HOST-to-AUX Serial TransfersGripper packets Sounds TCM2Onboard PC Heading Correction GyroInput Output I/O User I/OBumper and IR I/O IO packetsExpansion I/O DOCKING/CHARGING System I/ODigital Port Controls Docking/Charging ServersMonitoring the Recharge Cycle Charge State Overcharge ~Volts Charge current ID7ActivMedia Robotics Operating System Updating & Reconfiguring Aros Where to GET Aros SoftwareAros Maintenance Mode Simple Aros UpdatesUpdating and Reconfiguring Aros Starting AroscfInteractive Commands Configuring Aros Operating ParametersChanging Parameters Save Your Work PID ParametersKeyword Ticksmm and Revcount 0056 0057 0060 0034Stallval and Stallcount BumpersUpdating and Reconfiguring Aros Maintenance & Repair Tire InflationDrive Lubrication BatteriesAutomated Docking/Charging System Alternative Battery ChargersTightening the AT Drive Belt Getting Inside Removing the NoseOpening the Deck Factory RepairsPower Connector Appendix aH8S Ports & Connections H8S MicrocontrollerSerial Ports User I/O, Gripper, Docking/Charging PortOD7 Expansion I/O BusMotors, Encoders, and IR Sensors Bumper PortsUser Control Interface Joystick Port Configuration for Current and Temperature Sensing Pioneer 3 and 2-PLUS MOTOR-POWER BoardAppendix B Controller Power and Interface Radio, Auxiliary, and User Power ConnectorsIR Signal and Power GNDRadio Modem Settings Appendix CConsole mode Serial Ethernet SettingsAppendix D Webpage Peer-to-Peer NetworkingSpecifications Appendix EControls and Ports Warranty & Liabilities Columbia Drive Amherst, NH 603