background image

Arm FLASH Parameters 

 

 

18

Chapter 4 

Arm FLASH Parameters

Arm FLASH Parameters

Arm FLASH Parameters

Arm FLASH Parameters    

Your robots onboard operating system, P2OS, uses a variety of robot- and accessory-
specific settings that are stored in its FLASH memory.  These include important settings for 
your Pioneer 2 Arm. 

We describe the Pioneer 2 Arm-related P2OS FLASH parameters in detail here.  Please 
consult the 

Pioneer 2 Operations Manual

 for more details about all the other P2OS 

configuration parameters and supporting utilities. 

Arm Parameters 

In FLASH memory on your robot’s microcontroller, P2OS maintains six operating values for 
each of the six joints of your Pioneer 2 Arm.   These include home, center, and maximum 
and minimum positions, default joint speeds, and ticks per 90 degrees.   Home, of course, 
is the default, resting position for each joint mentioned often in previous chapters.  

The center position values are unique to your Pioneer 2 Arm, and they are calibrated at 
the factory.  They describe the center position value where a joint is half-way between its 
minimum and maximum mechanical rotation.  These values are not used explicitly by the 
P2OS Arm servers, but are available to your client software through the 

ARMpac

 server 

information packet. You may reset these center values, but we caution against it. 

Likewise, although the Pioneer Arm’s controller accepts position values 0-255, we set limits 
on the range of position values for each joint at the extremes (maximum and minimum).   
The servos’ behaviors at the extremes are unpredictable. 

The speed parameters are default joint speeds in 10 millisecond increments.  Unlike the 
other FLASH-based position values, joint speeds may be modified by your client software 
through the arm-speed P2OS command number 85.  See the previous chapter for details. 

The ticks per 90 degrees define the number of unique positions—ticks—the individual 
servo takes for a 90-degree swing in the joint.  Use this value to convert absolute joint 
positions into degrees. 

Where to Get P2OS Software 

Your 

Activ

Media robot comes preinstalled with the latest version of P2OS.  Thereafter, 

stay tuned to the 

pioneer-users

 newsgroup or periodically visit our support website to 

obtain the latest P2OS and related documentation: 

http://robots.activmedia.com

Installing the P2OS Utilities 

Software utilities for changing your robot’s configuration parameters (

p2oscf

) come with 

your robot and Arm on CD-ROM and in the onboard computer.  Fresh copies and 
updates also may be downloaded from the support website bundled with the P2OS 
image.  Use the version that matches your host computer’s environment.  For example, 
use p2osV_r.tgz for RedHat

©

 Linux or p2osV_r.EXE with Microsoft Windows

© 

9x-ME/2k/NT 

systems ("V" is the version number and "r" is the revision number; p2os1_F, for example). 

The p2osV_r.EXE distribution is a self-extracting, self-installing package:  Simply follow the 
on-screen directions.  For the Linux/UNIX versions, uncompress and untar them using the 
appropriate system utilities. For example, with the Linux version: 

% tar –zxvf p2os1_F.tgz

Summary of Contents for Pioneer 2 Arm

Page 1: ...Pioneer 2 Arm...

Page 2: ...edia Robotics Developers and users are authorized by revocable license to develop and operate custom software for personal research and educational use only Duplication distribution reverse engineerin...

Page 3: ...g the unit or any of its accessories Keep equipment away from hair or fur Inappropriate Operation Inappropriate operation voids your warranty Inappropriate operation includes but is not limited to Dro...

Page 4: ...ION AND DEVELOPMENT SOFTWARE 7 P2ArmDemo 7 SAFETY WATCHDOGS 8 Power and Connection Related Automatic Shutdown 8 Timed Shutdown 8 Gripper Release Timer 9 Warm Reset 9 CHAPTER 3 PROGRAMMING 10 GENERIC C...

Page 5: ...mputer to Robot 19 Step 2 Enable FLASH 19 Step 3 Put Microcontroller into Download Mode 19 Step 4 Run p2oscf 19 Step 5 Changing Configuration Parameters 20 Step 6 Save Your Work 20 EDITING P2OS ARM PA...

Page 6: ...vi...

Page 7: ...ferential skid steering version intended for outdoor all terrain AT operation Otherwise the platforms are nearly identical and share accessories including the Pioneer 2 Arm All Pioneers come with onbo...

Page 8: ...Operating System P2OS servers Your client software communicates with and controls the Arm through these P2OS servers Arm Package Your Pioneer 2 Arm is factory installed Our experienced manufacturing...

Page 9: ...anuals Access to private robotics newsgroups Direct access to the ActivMedia Robotics technical support team Software We maintain a 24 hour seven day per week Web server where customers may obtain sof...

Page 10: ...neer users Access to the pioneer users newslist is limited to subscribers so your address is safe from spam However the list currently is unmoderated so please confine your comments and inquiries to i...

Page 11: ...CAUTION Always align your Pioneer 2 Arm into it s HOME position before use 1 Put the Arm into its home position The tip of the Arm s V shaped mounting base should point towards the rear of the robot a...

Page 12: ...ons last programmed into the con troller And if power is removed from the servos the Arm will fall into its mechanically limpest position Since the Arm s joint positions cannot be known they are assum...

Page 13: ...communications with your robot and its accessories thereby obviating the need for additional wireless modems or an expensive onboard PC with multiple serial ports Perhaps more importantly we ve inclu...

Page 14: ...atic Shutdown Because it is attached to the Pioneer 2 microcontroller your software may command and control the Pioneer 2 Arm only while it has an established client server connection with P2OS Moreov...

Page 15: ...2 s FLASH memory and modified with the p2oscf configuration utility The timer defaults to five minutes and can be disabled The timer gets reset every time your software opens the gripper to or near it...

Page 16: ...ther hand give you control over joint speeds and maintain current position information as well as a variety of other advanced and convenient features Which is why we recommend that you program to the...

Page 17: ...er 2 Arm pass through your Pioneer 2 s HOST serial port and through P2OS to the Arm attached AUX serial port on the robot s microcontroller Similarly to retrieve responses from the Arm controller usin...

Page 18: ...s _AUTOPARK 80 0 65535 Disable the autopark watchdog 0 or reset it to some time in seconds other than default AutoParkTimer in FLASH _GRIPPARK 81 0 65535 Disable the gripper watchdog 0 or reset it to...

Page 19: ...connected n 1 0 7 Number of Pioneer 2 Arm joints default is six 0 if no Arm n 2 0 127 Servo 1 s speed setting n 3 0 255 Servo 1 s home position setting n 4 0 127 Servo 1 s minimum position value n 5 1...

Page 20: ...vidual joint speeds on the fly with the ARM_SPEED command number 78 or set their start up defaults through FLASH parameters see next chapter 1 127 milliseconds delay each Speeds may be set at any time...

Page 21: ...number 1 6 as command parameter or all command parameter 255 of your Pioneer 2 Arm joints to their home default positions Use the ARM_PARK command number 76 to send all the joints to their home positi...

Page 22: ...it for restoration of communication bit 1 of the status byte 2 Issue the ARM_INIT command 3 Use ARM_STAT and ARM_INFO SIP requests to reinitialize any client side variables that my be tracking joint p...

Page 23: ...d 1 127 ms per tick void sfP2ArmStop int joint Stop moving joint 1 6 or all 255 joints void sfP2ArmPark void Send Arm home and disable servo power void sfP2ArmAutoPark int waitSecs Forces ArmPark afte...

Page 24: ...n values for each joint at the extremes maximum and minimum The servos behaviors at the extremes are unpredictable The speed parameters are default joint speeds in 10 millisecond increments Unlike the...

Page 25: ...rect connection Step 2 Enable FLASH Locate the FLASH switch on the Pioneer 2 Console It s recessed and may be covered by an accessory Use a flat bladed screwdriver or other thin instrument to move the...

Page 26: ...robot s FLASH If you don t save your changes to FLASH they won t take effect We also strongly recommend that you save your work to disk as well for later retrieval should your microcontroller get dam...

Page 27: ...it is closed presumably gripping something for time seconds 0 disables Command Description keyword value Alone keyword displays current edited value Add value argument to change current value c or con...

Page 28: ...e end of the keyword refers to the joint Values are a positive decimal or hexadecimal 0xN numbers from 0 to 255 except speeds which are constrained from 1 to 127 For example to change the home positio...

Page 29: ...2184 fax 603 924 9100 voice In the body of your email or fax message describe the problem in as much detail as possible Also include your name email and mail addresses as well as phone and fax numbers...

Page 30: ...minum and plastic with foam covered gripper fingers MOTION 5 DOF arm and 1 DOF gripper POWER 5 and 12 VDC supplied by Pioneer robot ARM RANGE 50 cm fully extended GRIPPER RANGE Gripper fingers part to...

Page 31: ...control 10 GETAUX 11 Gripper release 9 GripperParkTimer 9 Home 6 15 HOST port 11 Installation 5 Joints 1 Konolige Kurt 1 Newsgroups 4 p2Arm 16 p2Arm directory 16 P2ArmDemo 7 P2OS 1 10 12 Arm servers 1...

Page 32: ...ers and manufacturers of ActivMedia Robotics products shall bear no liabilities for operation and use of the robot accessory or any accompanying software except that covered by the warranty and period...

Page 33: ...44 Concord Street Peterborough NH 03458 603 924 9100 603 924 2184 fax http www activrobots com...

Reviews: