Pioneer 2TM, 3TM manual Joydrive and Self-Tests, Joydrive Mode

Page 35

ActivMedia Robotics

Chapter 5 Joydrive and Self-Tests

Although not all models come standard with a joystick port, your robot’s H8S-based controller has a joystick connector and AROS contains a joydrive server for manual operation.13 And AROS comes with a short self-test routine for your robot’s drive system.

To run in either joydrive or self-test mode, start up or RESET the robot into its AROS wait state. You may press the RESET button at any time to disable self-test and joydrive modes. You have about 10 seconds to engage and complete the joystick calibration and begin driving the robot or to enter into motors self-test mode before the controller automatically cancels joydrive mode and reverts to waiting for a client connection.

You may also enable AROS’ joydrive server while connected with a client by sending the client command number 47 with the integer argument 1.

JOYDRIVE MODE

To joydrive your robot when not connected with a client program, switch the robot’s Main Power ON or RESET the controller, then press the white MOTORS button on the User Control Panel once. Listen for a rhythmic, low-tone beeping indicating joydrive mode.

To joydrive your robot while it is connected with a client (overrides client-based drive commands for manual operation while recording a map, for instance), you must have the client software send the AROS command #47 with an integer argument 1 to enable the joydrive servers. The first time you press and release the joystick fire button after AROS receives the command, you engage self-calibration mode (see below). Have your client send the AROS joydrive command #47 with an integer argument of 0 to disable the joystick drive-override.

The joystick is self-calibrating: When you first enable joydrive mode, either by the client command or when in self-test joydrive mode, AROS detects the joystick’s center and extreme positions and saves these values to balance the driving action. Accordingly, rotate the joystick around its extreme limits and then let the joystick handle find its default centered position before pressing the fire button and starting to joydrive the robot. Try exiting (RESET or client command 47, depending on mode) and restarting joydrive mode if the joystick doesn’t seem to function well.

The joystick’s fire button 1 acts as the joydrive “deadman”—press it to start driving; release it to stop the robot’s motors. The robot should drive forward and reverse, and turn left or right in response and at speeds relative to the joystick’s position.

When not connected with a client control program, releasing the joystick fire button stops the robot. However when connected with a client, the client program resumes automatic operation of your robot’s drive system. So, for example, your robot may speed up or slow down and turn, depending on the actions of your client program.

You may adjust the maximum translational and rotational speeds and even disable joydrive mode, through special AROS FLASH configuration parameters. See Chapter 7, Updating & Reconfiguring AROS, for details.

13The joystick adaptor kit, including the 15-pin DSUB joystick connector and pull-up resistors, if not installed on your robot, is available for nominal fee through sales@activmedia.com. Also note that this port is different than the USB-based joystick port found on the back of the Laser bracket for the optional equipment and used to manually drive from ARIA-based clients.

29

Image 35
Contents Pioneer H8-Series Operations Manual Page Important Safety Instructions Table of Contents Operating the Aria Demonstration Client Appendix C Optional Components and Attachments partial list IntroductionRobot Package Basic Components all shipmentsNewsgroups User-Supplied Components / System RequirementsAdditional Resources Support WebsiteSupport@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 Joydrive and Self Test Modes Server ModeMaintenance and Standalone Modes Modes of OperationPhysical 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 Drive Self-Test Install BatteriesClient-Server Communications Starting UP Client and ServerIpthru 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 Closing the Connection-CLOSE Autoconfiguration SYNC2Opening the Servers-OPEN Keeping the Beat-PULSERotation Motion CommandsPlatform Dependent and Independent Variables ActivMedia Robots in MotionInternal coordinate system PID ControlsPolling Sequence and Rate Enable/Disabling SonarPosition Integration Sonar11-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 Servers Expansion I/ODOCKING/CHARGING System I/O Digital Port ControlsCharge State Overcharge ~Volts Charge current ID7 Monitoring the Recharge CycleActivMedia Robotics Operating System Simple Aros Updates Updating & Reconfiguring ArosWhere to GET Aros Software Aros Maintenance ModeStarting 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 Batteries Maintenance & RepairTire Inflation Drive LubricationTightening the AT Drive Belt Alternative Battery ChargersAutomated Docking/Charging System Removing the Nose Getting InsideFactory Repairs Opening the DeckH8S Microcontroller Power ConnectorAppendix a H8S Ports & ConnectionsUser 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