Pioneer 3TM, 2TM manual CONFIGpac and Config Command, Serial Port Communications

Page 50

ActivMedia Robotics Operating System

 

 

received a command from a client. Restarts on restoration

 

 

of connection.

P2MPACS

byte

1 enables alternative SIP.

STALLVAL

int

Maximum PWM before stall. If > PwmMax, never.

STALLCOUNT

int

Ms time after a stall for recovery. Motors not engaged

 

 

during this time.

JOYVEL

int

Joystick translation velocity setting, mm/sec

JOYRVEL

int

Joystick rotation velocity setting in deg/sec

ROTVELMAX

int

Current max rotational speed; deg/sec.

TRANSVELMAX

int

Current max translational speed; mm/sec.

ROTACC

int

Current rotational acceleration; deg/sec2

ROTDECEL

int

Current rotational deceleration; deg/sec2

ROTKP

int

Current Proportional PID for rotation

ROTKV

int

Current Derivative PID for rotation

ROTKI

int

Current Integral PID for rotation

TRANSACC

int

Current translational acceleration; mm/sec2

TRANSDECEL

int

Current translational deceleration; mm/sec2

TRANSKP

int

Current Proportional PID for translation

TRANSKV

int

Current Derivative PID for translation

TRANSKI

int

Current Integral PID for translation

ADDED IN AROS

1.6

 

 

 

FRONTBUMPS

byte

Number of front bumper segments

 

 

REARBUMPS

byte

Number of rear bumper segments

ADDED IN AROS

1.7

 

 

 

CHARGER

byte

1 if P3 or 2 if PowerBot automated charger mechanism and circuitry installed in robot; otherwise 0

ADDED IN AROS 1.8

SONARCYCLE

byte

Sonar duty cycle time in milliseconds

AUTOBAUD

byte

1

if

can

change baud rates; 2 if auto-baud implemented

HASGYRO

byte

1

if

has

the gyro device; otherwise 0

CONFIGpac and CONFIG Command

Send the CONFIG command #18 without an argument to have AROS send back a CONFIGpac SIP packet type 32 (0x20) server information packet containing the robot's operational parameters. Use the CONFIGpac to examine many of your robot’s default FLASH_based settings or their working values, when appropriate, as changed by other client commands, such as SETV and ROTKV. A table nearby gives details about the configuration packet data.

SERIAL PORT COMMUNICATIONS

AROS provides two-way communications through the HOST client-server communication port and to and through two auxillary serial ports on the microcontroller, AUX1 and AUX2.

Changing Baud Rates and Autobauding

The baud rates for the HOST, AUX1, and AUX2 ports initially are set from their respective FLASH-based defaults and get reset to those values whenever the controller is reset or upon client disconnection. For advanced serial port management from the client side, in AROS 1.8 and later we provide three client commands which let your software reset the HOST (HOSTBAUD #50), AUX1 (AUX1BAUD #51), and AUX2 (AUX2BAUD #52) serial port baud rates, respectively. Use the integer command argument values: 0=9600, 1=19.2K, 2=38.8K, 3=57.6K or 4=115.2K baud.

44

Image 50
Contents Pioneer H8-Series Operations Manual Page Important Safety Instructions Table of Contents Operating the Aria Demonstration Client Appendix C Basic Components all shipments IntroductionRobot Package Optional Components and Attachments partial listSupport Website User-Supplied Components / System RequirementsAdditional Resources 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 Modes of Operation Server ModeMaintenance and Standalone Modes 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 RechargingDOCKING/CHARGING System Manual Operation Robot Power OFFManual Operation Robot Power and Systems on Radio Controls and Accessories Client-server connection optionsOnboard PC Computer Control PanelOperating the Onboard PC PC NetworkingUPS and Genpowerd Safety Aros Watchdogs Quick Start Preparative AssemblyInstall Aria Starting UP Client and Server Install BatteriesClient-Server Communications Drive Self-TestDemo Startup Options IpthruSuccessful Connection Operating the Aria Demonstration ClientProper Connections DisconnectingQuickstart Troubleshooting 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 Keeping the Beat-PULSE Autoconfiguration SYNC2Opening the Servers-OPEN Closing the Connection-CLOSEMotion Commands RotationActivMedia Robots in Motion Platform Dependent and Independent VariablesPID Controls Internal coordinate systemSonar Enable/Disabling SonarPosition Integration Polling Sequence and RateStalls and Emergencies 11-15 ReservedAccessory Commands and Packets Packet ProcessingChanging Baud Rates and Autobauding CONFIGpac and Config CommandSerial Port Communications Gripper packets HOST-to-AUX Serial TransfersEncoder Packets Sounds TCM2Onboard PC Heading Correction GyroInput Output I/O User I/OBumper and IR I/O IO packetsDigital Port Controls Expansion I/ODOCKING/CHARGING System I/O Docking/Charging ServersMonitoring the Recharge Cycle Charge State Overcharge ~Volts Charge current ID7ActivMedia Robotics Operating System Aros Maintenance Mode Updating & Reconfiguring ArosWhere to GET Aros Software Simple Aros UpdatesUpdating and Reconfiguring Aros Starting AroscfChanging Parameters Configuring Aros Operating ParametersInteractive Commands Save Your Work PID ParametersKeyword Ticksmm and Revcount 0056 0057 0060 0034Stallval and Stallcount BumpersUpdating and Reconfiguring Aros Drive Lubrication Maintenance & RepairTire Inflation BatteriesTightening the AT Drive Belt Alternative Battery ChargersAutomated Docking/Charging System Getting Inside Removing the NoseOpening the Deck Factory RepairsH8S Ports & Connections Power ConnectorAppendix a H8S MicrocontrollerSerial Ports User I/O, Gripper, Docking/Charging PortOD7 Expansion I/O BusUser Control Interface Bumper PortsMotors, Encoders, and IR Sensors Joystick Port Appendix B Pioneer 3 and 2-PLUS MOTOR-POWER BoardConfiguration for Current and Temperature Sensing Controller Power and Interface Radio, Auxiliary, and User Power ConnectorsIR Signal and Power GNDRadio Modem Settings Appendix CAppendix D Serial Ethernet SettingsConsole mode Webpage Peer-to-Peer NetworkingSpecifications Appendix EControls and Ports Warranty & Liabilities Columbia Drive Amherst, NH 603