Package pyrobot :: Package robot :: Module player :: Class PlayerGripperDevice
[frames | no frames]

Class PlayerGripperDevice

  Device --+    
           |    
PlayerDevice --+
               |
              PlayerGripperDevice


Method Summary
  __init__(self, client)
  addWidgets(self, window)
Method to addWidgets to the device window.
  close(self)
  deploy(self)
  down(self)
  getBreakBeam(self, name)
  getBreakBeamState(self)
  getState(self)
  halt(self)
  isClosed(self)
  isLiftMoving(self)
  isMoving(self)
  isOpened(self)
  open(self)
  stop(self)
  stopMoving(self)
  store(self)
  up(self)
  updateWindow(self)
Method to update the device window.
    Inherited from PlayerDevice
  getDeviceData(self)
Returns the device data, whatever it might be.
  getPose(self)
Move the device.
  setPose(self, xM, yM, thDeg)
Move the device.
  startDevice(self, mode)
    Inherited from Device
  __getitem__(self, item)
Get a SensorValue, a range, or a set.
  __iter__(self)
Used to iterate through SensorValues of device.
  angle(self, *args, **kwargs)
Device-level method to get all of the angles.
  destroy(self)
Hides the window.
  distance(self, *args, **kwargs)
Device-level method to get all of the distances.
  getActive(self)
Returns the value of .active.
  getDeviceState(self)
Returns the .state.
  getGroupNames(self, pos)
Return all of the groups a pos is in.
  getMaxvalue(self)
Get the maxvalue of the sensor.
  getSensorValue(self, pos)
Returns a specific SensorValue from the range device.
  getVisible(self)
Returns the .visible of the sensor.
  makeWindow(self)
Method to make and show the device window.
  rawToUnits(self, raw, noise, units)
Convert the sensor units into default units.
  setActive(self, value)
Sets the .active property.
  setMaxvalue(self, value)
Set the maxvalue of the sensor.
  setTitle(self, title)
Sets the title of the device.
  setup(self)
Use this to put setup code in (instead of in __init__).
  setVisible(self, value)
Sets the .visible attribute, and hides/shows window.
  stopDevice(self)
Stops the device (sets the .state).
  updateDevice(self)
Method called to update the device properties.

Property Summary
    Inherited from Device
  geometry
  noise
  pos
  rawValue
  value

Method Details

addWidgets(self, window)

Method to addWidgets to the device window.
Overrides:
pyrobot.robot.device.Device.addWidgets (inherited documentation)

updateWindow(self)

Method to update the device window.
Overrides:
pyrobot.robot.device.Device.updateWindow (inherited documentation)

Generated by Epydoc 2.1 on Mon Jul 25 01:39:26 2005 http://epydoc.sf.net