Pioneer 2TM, 3TM Configuring Aros Operating Parameters, Interactive Commands, Changing Parameters

Page 61

ActivMedia Robotics

Similarly, this Linux xterm command uploads a fresh copy of AROS to your robot’s H8S- based microcontroller and then exits, much like the simple dl_AROS1_0 program:

%./AROScf –d AROS1_0.hex –n -b

Table 15. AROScf startup options

KEY

ARGUMENT

DESCRIPTION

 

 

 

-b

command

Batch mode executes list of AROScf

 

arguments

Interactive mode commands with arguments

-d

hexfile

Automatically upload AROS hex image file

 

 

after connecting with the controller

-h

none

Print help message and exit

-l

paramsfile

Load the disk-stored parameter file instead

 

 

of the robot’s copy

-n

none

Don’t automatically connect with controller

-p

serial-

Uses specified serial port for connection

 

device

 

-s

paramsfile

On exit from AROScf, automatically save the

current parameter values to the named

 

 

paramsfile

CONFIGURING AROS OPERATING PARAMETERS

Your ActivMedia robot has several parameters stored in FLASH that AROS uses to configure its servers and auxiliary attachments and to uniquely identify your robot. For instance, the default maximum translational velocity is stored in the TransVelMax parameter. Its value takes effect when starting your robot or after resetting the microcontroller, and may be changed temporarily by a client command. Use AROScf’s interactive mode to modify these operating parameters, and hence your robot’s default operating characteristics.

Start up AROScf as described in the previous section. As discussed earlier, AROScf normally downloads the set of operating parameters from your robot’s FLASH for your review and modification. Or you may load a disk-stored version of those parameters. Some of the parameters, "Constants", should not to be changed. The others, "Variables", are the identifying and operating parameters that you may edit.

Interactive Commands

To operate AROScf in interactive mode, simply type a keyword at the command line. Some keywords affect the operation of AROScf, the status of the parameters file as a whole, or the connection between AROScf and your robot’s microcontroller. For instance, to review the list of current AROS constants or variables, type 'c' or 'v', respectively, followed by a return (Enter). Similarly, type '?' or 'help' to see a list of AROScf interactive commands.

Changing Parameters

Other keywords refer to the operating parameters themselves. Alone, a parameter’s keyword simply asks AROScf to display the parameter’s value. Provide an argument with the parameter keyword separated by a space to change its value. That value may be a string (no quotes or spaces) or a decimal or hexadecimal ("0xN") number. For example, to change the watchdog timeout to four seconds, type:

> watchdog 4000

or

> watchdog 0xfa0

55

Image 61
Contents Pioneer H8-Series Operations Manual Page Important Safety Instructions Table of Contents Operating the Aria Demonstration Client Appendix C Robot Package IntroductionBasic Components all shipments Optional Components and Attachments partial listAdditional Resources User-Supplied Components / System RequirementsSupport Website NewsgroupsSupport@activmedia.com SupportPioneer Reference Platform What Is Pioneer?Hitachi H8S-BASED Microcontroller Plus MOTOR-POWER BoardHttp//robots.activmedia.com Client SoftwarePioneer Legacy Supporting SoftwarePioneer 2 and PeopleBot Pioneer 1 and ATActivMedia Robotics Maintenance and Standalone Modes Server ModeModes of Operation Joydrive and Self Test ModesPhysical Characteristics Specifications & ControlsMotor Stop Button Main ComponentsP3-DX User Control Panel User Control PanelSonar Arrays with Gain Adjustment Body, Nose, and Accessory PanelsMotors, Wheels, and Position Encoders Batteries and PowerRecharging Battery Indicators and Low Voltage ConditionsManual Operation Robot Power and Systems on Manual Operation Robot Power OFFDOCKING/CHARGING System Client-server connection options Radio Controls and AccessoriesComputer Control Panel Onboard PCPC Networking Operating the Onboard PCUPS and Genpowerd Safety Aros Watchdogs Install Aria Preparative AssemblyQuick Start Client-Server Communications Install BatteriesStarting UP Client and Server Drive Self-TestIpthru Demo Startup OptionsOperating the Aria Demonstration Client Successful ConnectionQuickstart Troubleshooting DisconnectingProper Connections SRIsim OFFJoydrive and Self-Tests Joydrive ModeEngaging SELF-TESTS CLIENT-SERVER Communication Packet Protocols ActivMedia Robotics Operating SystemPacket Checksum Packet ErrorsMultiply by DistConvFactor‡ Server Information PacketsBefore Client Connection Client CommandsP2OS CLIENT-SERVER Connection Opening the Servers-OPEN Autoconfiguration SYNC2Keeping the Beat-PULSE Closing the Connection-CLOSERotation Motion CommandsPlatform Dependent and Independent Variables ActivMedia Robots in MotionInternal coordinate system PID ControlsPosition Integration Enable/Disabling SonarSonar Polling Sequence and Rate11-15 Reserved Stalls and EmergenciesPacket Processing Accessory Commands and PacketsSerial Port Communications CONFIGpac and Config CommandChanging Baud Rates and Autobauding Encoder Packets HOST-to-AUX Serial TransfersGripper packets TCM2 SoundsHeading Correction Gyro Onboard PCUser I/O Input Output I/OIO packets Bumper and IR I/ODOCKING/CHARGING System I/O Expansion I/ODigital Port Controls Docking/Charging ServersCharge State Overcharge ~Volts Charge current ID7 Monitoring the Recharge CycleActivMedia Robotics Operating System Where to GET Aros Software Updating & Reconfiguring ArosAros Maintenance Mode Simple Aros UpdatesStarting Aroscf Updating and Reconfiguring ArosInteractive Commands Configuring Aros Operating ParametersChanging Parameters PID Parameters Save Your WorkKeyword 0056 0057 0060 0034 Ticksmm and RevcountBumpers Stallval and StallcountUpdating and Reconfiguring Aros Tire Inflation Maintenance & RepairDrive Lubrication BatteriesAutomated Docking/Charging System Alternative Battery ChargersTightening the AT Drive Belt Removing the Nose Getting InsideFactory Repairs Opening the DeckAppendix a Power ConnectorH8S Ports & Connections H8S MicrocontrollerUser I/O, Gripper, Docking/Charging Port Serial PortsExpansion I/O Bus OD7Motors, 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 Radio, Auxiliary, and User Power Connectors Controller Power and InterfaceGND IR Signal and PowerAppendix C Radio Modem SettingsConsole mode Serial Ethernet SettingsAppendix D Peer-to-Peer Networking WebpageAppendix E SpecificationsControls and Ports Warranty & Liabilities Columbia Drive Amherst, NH 603