SliderServo Class Reference

#include <sliderservo.h>

Collaboration diagram for SliderServo:

Collaboration graph
[legend]
List of all members.

Detailed Description

PID Servo motor for slider joints.

Definition at line 48 of file sliderservo.h.

Public Member Functions

 SliderServo (SliderJoint *joint, double min, double max, double mass)
 min and max values are understood as travel bounds.
void set (double position)
 sets the set point of the servo.
double get ()
 returns the position of the slider in ranges [-1, 1] (scaled by min, max)


Constructor & Destructor Documentation

SliderServo SliderJoint joint,
double  min,
double  max,
double  mass
 

min and max values are understood as travel bounds.

Min should be less than 0.

Definition at line 52 of file sliderservo.cpp.


Member Function Documentation

double get  ) 
 

returns the position of the slider in ranges [-1, 1] (scaled by min, max)

Definition at line 72 of file sliderservo.cpp.

void set double  position  ) 
 

sets the set point of the servo.

Position must be between -1 and 1. It is scaled to fit into min, max

Definition at line 61 of file sliderservo.cpp.


Generated on Tue Apr 4 19:05:27 2006 for Robotsystem from Robot Group Leipzig by  doxygen 1.4.5