Wiselib
Public Types | Public Member Functions | Public Attributes
concepts::TurnWalkMotion_concept Class Reference

Inherits concepts::BasicReturnValues_concept.

List of all members.

Public Types

enum  MotionParameters {
  PRECISE_ANGULAR_VELOCITY, DEFAULT_ANGULAR_VELOCITY, FAST_ANGULAR_VELOCITY, PRECISE_VELOCITY,
  DEFAULT_VELOCITY, FAST_VELOCITY
}
enum  {
  SUCCESS, ERR_UNSPEC, ERR_NOMEM, ERR_BUSY,
  ERR_NOTIMPL, ERR_NETDOWN, ERR_HOSTUNREACH
}
enum  StateValues { READY, NO_VALUE, INACTIVE }

Public Member Functions

int turn (angular_velocity_t v=DEFAULT_ANGULAR_VELOCITY)
int move (velocity_t v=DEFAULT_VELOCITY)
int stop ()
int wait_for_stop ()
 

Public Attributes

typedef velocity_t
 Type for velocity measurement.
typedef angular_velocity_t
 Type for anglular velocity measurement.

Member Enumeration Documentation

anonymous enum [inherited]
Enumerator:
SUCCESS 

Default return value of success.

ERR_UNSPEC 

Unspecified error value - if no other fits.

ERR_NOMEM 

Out of memory.

ERR_BUSY 

Device or resource busy - try again later.

ERR_NOTIMPL 

Function not implemented.

ERR_NETDOWN 

Network is down.

ERR_HOSTUNREACH 

No route to host.

Enumerator:
PRECISE_ANGULAR_VELOCITY 
DEFAULT_ANGULAR_VELOCITY 
FAST_ANGULAR_VELOCITY 
PRECISE_VELOCITY 
DEFAULT_VELOCITY 
FAST_VELOCITY 
Enumerator:
READY 

Ready for asking for data.

NO_VALUE 

Currently no data available.

INACTIVE 

Currently inactive - so no values available.


Member Function Documentation

int concepts::TurnWalkMotion_concept::move ( velocity_t  v = DEFAULT_VELOCITY)
int concepts::TurnWalkMotion_concept::stop ( )
int concepts::TurnWalkMotion_concept::turn ( angular_velocity_t  v = DEFAULT_ANGULAR_VELOCITY)
int concepts::TurnWalkMotion_concept::wait_for_stop ( )


Member Data Documentation

Type for anglular velocity measurement.

Type for velocity measurement.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines