INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

NONFRAMEWORK CODE
Driver Interfaces
Drivers
Libraries
Utilities

FRAMEWORK CODE
Interfaces
Components
Libraries
Utilities

Full Software Listings

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

hydrointerfaces::Bicycle Class Reference
[Bicycle]

Abstract interface class for providing access to a generic robotic platform with bicycle steering. More...

#include <bicycle.h>

Inherited by bicycleplayerclient::Driver.

List of all members.

Classes

class  Command
 Motion command structure. More...
class  Data
 Data structure returned by read() More...
class  Exception
 Exception thrown by implementations of Bicycle interface. More...

Public Member Functions

virtual void enable ()=0
virtual bool read (Data &data)=0
virtual void write (const Command &command)=0
 Writes motion command.
virtual void getStatus (std::string &status, bool &isWarn, bool &isFault)=0

Detailed Description

Abstract interface class for providing access to a generic robotic platform with bicycle steering.

Member functions throw Exception on error conditions.

The implementations of this interface are not expected to be thread-safe.

Author:
Alex Makarenko, Alex Brooks, Mikel Astiz

Member Function Documentation

virtual void hydrointerfaces::Bicycle::enable (  )  [pure virtual]

Throws Exception on failure. It is not an error to call this repeatedly: repeated calls should re-initialise the hardware. (eg this will be called if the hardware reports an error condition)

virtual void hydrointerfaces::Bicycle::getStatus ( std::string &  status,
bool &  isWarn,
bool &  isFault 
) [pure virtual]

Get information about the current status of the driver. the string 'status' is a human-readable description. Note that there are two ways for faults to be notified:

  • This function tells of hardware faults reported normally by the hardware.
  • Exceptions can be thrown from read/write for non-recoverable faults, such as inability to communicate with the hardware.
virtual bool hydrointerfaces::Bicycle::read ( Data data  )  [pure virtual]

Blocking read. Returns: true: important change in internal state occured (details can be read with getStatus). false: no important change


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

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5