Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

CollisionChecker Class Reference

Collision checker service; its behavior is model-dependent. More...

#include <Pilot.h>

Inheritance diagram for CollisionChecker:

Detailed Description

Collision checker service; its behavior is model-dependent.

On the Create and Calliope it uses the bump switches and motor torques

Definition at line 193 of file Pilot.h.

List of all members.

Public Member Functions

 CollisionChecker (const std::string &nodename="CollisionChecker")
virtual void doStart ()
virtual void doEvent ()
virtual void enableDetection ()
virtual void disableDetection (unsigned int howlong)
virtual void reportCollision ()

Public Attributes

int overcurrentCounter
 count Create overcurrent button events to eliminate transients

Static Public Attributes

static unsigned int const collisionEnableTimer = 1
static unsigned int const overcurrentResetTimer = 2

Constructor & Destructor Documentation

CollisionChecker ( const std::string &  nodename = "CollisionChecker"  ) 

Definition at line 195 of file Pilot.h.


Member Function Documentation

virtual void disableDetection ( unsigned int  howlong  )  [virtual]
virtual void doEvent (  )  [virtual]

Reimplemented from BehaviorBase.

virtual void doStart (  )  [virtual]

Reimplemented from BehaviorBase.

virtual void enableDetection (  )  [virtual]
virtual void reportCollision (  )  [virtual]

Member Data Documentation

unsigned int const collisionEnableTimer = 1 [static]

Definition at line 202 of file Pilot.h.

count Create overcurrent button events to eliminate transients

Definition at line 201 of file Pilot.h.

unsigned int const overcurrentResetTimer = 2 [static]

Definition at line 203 of file Pilot.h.


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

DualCoding 5.1CVS
Generated Mon Jan 25 19:31:45 2016 by Doxygen 1.6.3