Pioneer 2TM, 3TM manual ActivMedia Robots in Motion, Platform Dependent and Independent Variables

Page 45

ActivMedia Robotics

ActivMedia Robots in Motion

ActivMedia robots use position, as opposed to velocity, motion controls to translate the platform a certain distance and turn it to a particular heading. To achieve constant translational (VEL), rotational (ROTATE), or independent-wheel (VEL2) velocities, the servers simply set the target position well ahead of the robot’s current position.

When the robot controller receives a motion command, it accelerates or decelerates the robot at the translational SETA (#5) (TR and VEL2 modes) and rotational SETRA (#23; TR mode only) rates until the platform either achieves its SETV (#6) maximum translational and SETRV (#10) maximum rotational speeds, or nears its goal. Accordingly, rotational headings and translational setpoints are achieved by a trapezoidal velocity function, which AROS recomputes each time a new motion command is received.20

 

,

 

max velocity

short move

 

max velocity

 

not reached

velocity

 

 

accel

decel

 

time

 

 

start

position

position

position

achieved

achieved

Figure 17. ActivMedia robot’s trapezoidal velocity profile

AROS automatically limits VEL2-, VEL-, and RVEL-specified velocities to previously imposed, client-modifiable SETVEL and SETRV maximums, and ultimately by absolute, platform-dependent, FLASH-embedded constants. Similarly, the distinct acceleration and deceleration parameters for both translation and rotation are limited by FLASH constants. AROS initializes these values upon controller startup or reset from related FLASH parameters. The speed limits, either from FLASH or when changed by SETV or SETRV commands, take effect on subsequent commands, not previously established velocity or heading setpoints. And the maximums persist across client-server connection sessions until the controller is reset.

Note that the E_STOP command #55 or the STOP button that is found on some ActivMedia robots override deceleration and immediately stop the robot in the shortest distance and time possible. Accordingly, the robot brakes to zero translational and rotational velocities with very high deceleration and remains stopped until it receives a subsequent translational or rotational velocity command from the client or until the STOP button is reset. (See E_STOP and E_STALL later in this chapter.)

Platform Dependent and Independent Variables

All client-side motion command arguments use robot-independent units of measure, in millimeters or degrees. AROS converts these command arguments into robot- dependent, wheel encoder-related motion values using two, user-settable parameters: ticksmm, for translation, and revcount for rotation.

20Note that acceleration and deceleration are distinct values, settable via SETA for translation and SETRA for rotation.

39

Image 45
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 OFF Manual Operation Robot Power and Systems onDOCKING/CHARGING System Client-server connection options Radio Controls and AccessoriesComputer Control Panel Onboard PCPC Networking Operating the Onboard PCUPS and Genpowerd Safety Aros Watchdogs Preparative Assembly Install AriaQuick Start Client-Server Communications Install BatteriesStarting UP Client and Server Drive Self-TestIpthru Demo Startup OptionsOperating the Aria Demonstration Client Successful ConnectionDisconnecting Quickstart TroubleshootingProper 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 PacketsCONFIGpac and Config Command Serial Port CommunicationsChanging Baud Rates and Autobauding HOST-to-AUX Serial Transfers Encoder PacketsGripper 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 ArosConfiguring Aros Operating Parameters Interactive CommandsChanging Parameters PID Parameters Save Your WorkKeyword 0056 0057 0060 0034 Ticksmm and RevcountBumpers Stallval and StallcountUpdating and Reconfiguring Aros Tire Inflation Maintenance & RepairDrive Lubrication BatteriesAlternative Battery Chargers Automated Docking/Charging SystemTightening 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 OD7Bumper Ports Motors, Encoders, and IR SensorsUser Control Interface Joystick Port Pioneer 3 and 2-PLUS MOTOR-POWER Board Configuration for Current and Temperature SensingAppendix B Radio, Auxiliary, and User Power Connectors Controller Power and InterfaceGND IR Signal and PowerAppendix C Radio Modem SettingsSerial Ethernet Settings Console modeAppendix D Peer-to-Peer Networking WebpageAppendix E SpecificationsControls and Ports Warranty & Liabilities Columbia Drive Amherst, NH 603