Pioneer 2TM, 3TM manual Stallval and Stallcount, Bumpers

Page 65

ActivMedia Robotics

Ticksmm and revcount affect only the conversion of your motion command arguments into platform-dependent values. Your client must independently convert values reported back from the server, such as X-Posand Th, into platform-independent values. ARIA clients use the conversion factors found in your robot’s respective ARIA\params file (p3dx.p, for example).

To adjust both the server and client parameter values for your robot, first connect the robot with a client and have the robot move a certain distance, preferably one to three or more meters. Measure the actual distance moved, not the client-reported value and adjust ticksmm accordingly.

Similarly, rotate your robot from the client and measure the actual achieved heading. Adjust revcount (the measure of differential encoder ticks to achieve 360-degrees rotation) accordingly.

When you are satisfied that the robot moves and rotates the proper distances and headings, adjust the related client-side parameters in your robot’s params .p file, so that your client responds accurately.

STALLVAL AND STALLCOUNT

An AROS stall monitor maintains a running average of PWM values for each wheel over a 500 millisecond integration period. PWM values get added to the sum if the wheel speed is below 100 mm/sec. The average is then compared with the stallval FLASH value. If it exceeds that value, in other words the motors are being given lots of power but are barely moving if at all, a stall occurs. Once stalled, power is removed and the motors relax for the stallwait period, after which power gets reapplied.

BUMPERS

Introduced in AROS version 1.6, use the BumpStall FLASH parameter to set the default for the robots behavior when its front and/or rear bumper gets triggered. Normally, BumpStall is engaged for both front and rear (default value of 0) bumpers. Reset it to 3 to disengage bump stalls altogether; 1 to trigger stalls only when the rear bumpers engage; or 2 for front bumps only.

You may over-ride the BumpStall FLASH default with the bump_stall client command number 44, although the command arguments are the reverse: enabling versus disabling the various bumper-stall combinations.

Your robot’s BumpStall behavior reverts to the FLASH default on reset and up disconnection from the client.

Next-generation client-side software will need to know if you have bumpers or not and how they are configured. And new bumper hardware inverts the Pioneer 2’s bumper signal bits which confuses the client-server software. Moreover, different AROS-enabled robots have different numbers of bumper segments, front and rear. Accordingly, the new AROS v1.6 implements three new FLASH parameters that specify states (invert or not) and numbers of front and rear bumper segments. Unfortunately, we have no way of knowing automatically what bumpers your robot may have, if any, so we are forced to assume you DON'T have bumpers or that you have the old-style (non-inverting) bumpers.

Use AROScf to indicate the type and number of bumper segments. Set the new InvertBump FLASH parameter's value to 1 if you have new bumpers in front, which signals need to be inverted; 2 if in the rear; or 3 if both front and rear bumper signals need inverting. Set to the default 0 if your robot has no bumpers or has the original style (non-inverting) bumpers.

59

Image 65
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 ConditionsDOCKING/CHARGING System Manual Operation Robot Power OFFManual Operation Robot Power and Systems on Client-server connection options Radio Controls and AccessoriesComputer Control Panel Onboard PCPC Networking Operating the Onboard PCUPS and Genpowerd Safety Aros Watchdogs Quick Start Preparative AssemblyInstall Aria Client-Server Communications Install BatteriesStarting UP Client and Server Drive Self-TestIpthru Demo Startup OptionsOperating the Aria Demonstration Client Successful ConnectionProper Connections DisconnectingQuickstart Troubleshooting 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 PacketsChanging Baud Rates and Autobauding CONFIGpac and Config CommandSerial Port Communications Gripper packets HOST-to-AUX Serial TransfersEncoder 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 ArosChanging Parameters Configuring Aros Operating ParametersInteractive Commands PID Parameters Save Your WorkKeyword 0056 0057 0060 0034 Ticksmm and RevcountBumpers Stallval and StallcountUpdating and Reconfiguring Aros Tire Inflation Maintenance & RepairDrive Lubrication BatteriesTightening the AT Drive Belt Alternative Battery ChargersAutomated Docking/Charging System 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 OD7User 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 Radio, Auxiliary, and User Power Connectors Controller Power and InterfaceGND IR Signal and PowerAppendix C Radio Modem SettingsAppendix D Serial Ethernet SettingsConsole mode Peer-to-Peer Networking WebpageAppendix E SpecificationsControls and Ports Warranty & Liabilities Columbia Drive Amherst, NH 603