Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

ClodBuster Class Reference

#include <clodbuster.h>

Inherits Driver.

List of all members.

Public Member Functions

 ClodBuster (ConfigFile *cf, int section)
virtual ~ClodBuster ()
virtual void Main ()
 Main method for driver thread.

virtual int Setup ()
 Initialize the driver.

virtual int Shutdown ()
 Finalize the driver.

unsigned char SetServo (unsigned char chan, int value)
void SetServo (unsigned char chan, unsigned char cmd)

Protected Attributes

int motor_max_speed
int motor_max_turnspeed
bool use_vel_band


Constructor & Destructor Documentation

ClodBuster::ClodBuster ConfigFile cf,
int  section
 

ClodBuster::~ClodBuster  )  [virtual]
 


Member Function Documentation

void ClodBuster::Main  )  [virtual]
 

Main method for driver thread.

Most drivers have their own thread of execution, created using StartThread(); this is the entry point for the driver thread, and must be overloaded by all threaded drivers.

Reimplemented from Driver.

int ClodBuster::Setup  )  [virtual]
 

Initialize the driver.

This function is called with the first client subscribes; it MUST be implemented by the driver.

Returns:
Returns 0 on success.

Implements Driver.

int ClodBuster::Shutdown  )  [virtual]
 

Finalize the driver.

This function is called with the last client unsubscribes; it MUST be implemented by the driver.

Returns:
Returns 0 on success.

Implements Driver.

unsigned char ClodBuster::SetServo unsigned char  chan,
int  value
 

void ClodBuster::SetServo unsigned char  chan,
unsigned char  cmd
 


Member Data Documentation

int ClodBuster::motor_max_speed [protected]
 

int ClodBuster::motor_max_turnspeed [protected]
 

bool ClodBuster::use_vel_band [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue May 3 14:15:48 2005 for Player by doxygen 1.3.6