Represents a bumper.
More...
#include <Bumper.h>
virtual void rec::robotino::api2::Bumper::bumperEvent |
( |
bool |
hasContact | ) |
|
|
virtual |
void rec::robotino::api2::Bumper::processEvents |
( |
| ) |
|
Call this function from your main thread to get the virtual Bumper functions called. The virtual functions are called directly by a call of this function
- Exceptions
-
- See also
- Com::processEvents
void rec::robotino::api2::Bumper::setComId |
( |
const ComId & |
id | ) |
|
Sets the associated communication object.
- Parameters
-
id | The id of the associated communication object. |
- Exceptions
-
bool rec::robotino::api2::Bumper::value |
( |
| ) |
const |
Returns the current state of the bumper.
- Returns
- TRUE if the bumper has contact, FALSE otherwise
- Exceptions
-
- See also
- ComObject::setComId
The documentation for this class was generated from the following file:
- C:/srcs/git/openrobotino/api2/lib/rec/robotino/api2/Bumper.h