rec::robotino::com::PowerOutput Class Reference

Represents a digital output device. More...

#include <PowerOutput.h>

List of all members.

Public Member Functions

void setValue (float controlPoint)
float current () const
unsigned short rawCurrentMeasurment () const


Detailed Description

Represents a digital output device.

Caution: You must not use the PowerOutput class to drive Robotino's gripper. The gripper will be physically destroyed if current is not limited. Use the Gripper class instead. If there is at least one Gripper object assigend to the same Com object as this PowerOutput, the PowerOutput is disabled.

See also:
Gripper

Member Function Documentation

void rec::robotino::com::PowerOutput::setValue ( float  controlPoint  ) 

Sets the current set point of the power output.

Parameters:
controlPoint The control point. Range from -100 to 100.
Exceptions:
RobotinoException if the current communication object is invalid.

float rec::robotino::com::PowerOutput::current (  )  const

Returns:
The current delivered by the power output in A.
Exceptions:
RobotinoException if the current communication object is invalid.

unsigned short rec::robotino::com::PowerOutput::rawCurrentMeasurment (  )  const

The current is measured by a 10 bit adc and is not converted into A.

Returns:
The current delivered by the power output. Range from 0 to 1023.
Exceptions:
RobotinoException if the current communication object is invalid.


The documentation for this class was generated from the following file:

Generated on Thu Dec 30 08:47:34 2010 for rec_robotino_com_c by  doxygen 1.5.5