NimbRo ROS Soccer Package
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
walk_and_kick::TheWorm Class Reference

A class that implements the worm, for making a live decision between two opposites. More...

#include <wak_utils.h>

Public Member Functions

 TheWorm (int limit=100)
 
void reset ()
 
void reset (bool decision)
 
void reset (int limit)
 
void resetR (int range)
 
void setLimit (int limit)
 
void setRange (int range)
 
void setWorm (int value)
 
void vote (bool decision)
 
void vote (bool decision, int numVotes)
 
void neutralise ()
 
int limit () const
 
int range () const
 
int count () const
 
bool decision () const
 
bool unanimousTrue () const
 
bool unanimousFalse () const
 
bool unanimous () const
 
void updateWormTime (const config_server::Parameter< float > *param)
 

Detailed Description

A class that implements the worm, for making a live decision between two opposites.

To understand the name of the class, refer to the televised debates in Australian politics and Worm (Marketing).


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