Public Member Functions | Friends | List of all members
tuw::Command Class Reference

#include <command.h>

Inheritance diagram for tuw::Command:
Inheritance graph
[legend]

Public Member Functions

 Command ()
 constructor More...
 
 Command (double v, double w)
 constructor More...
 
 Command (const Command &o)
 copy constructor More...
 
void set (double v, double w)
 
double & v ()
 
const double & v () const
 
double & w ()
 
const double & w () const
 

Friends

std::ostream & operator<< (std::ostream &os, const Command &o)
 

Detailed Description

class to handle motion control commands

Definition at line 16 of file command.h.

Constructor & Destructor Documentation

Command::Command ( )

constructor

Definition at line 4 of file command.cpp.

Command::Command ( double  v,
double  w 
)

constructor

Definition at line 6 of file command.cpp.

Command::Command ( const Command o)

copy constructor

Definition at line 8 of file command.cpp.

Member Function Documentation

void Command::set ( double  v,
double  w 
)
Parameters
vlinear velocity
wangular velocity

Definition at line 26 of file command.cpp.

double & Command::v ( )
Returns
linear velocity

Definition at line 10 of file command.cpp.

const double & Command::v ( ) const
Returns
linear velocity

Definition at line 14 of file command.cpp.

double & Command::w ( )
Returns
angular velocity

Definition at line 18 of file command.cpp.

const double & Command::w ( ) const
Returns
angular velocity

Definition at line 22 of file command.cpp.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Command o 
)
friend

Stream extraction

Parameters
osoutputstream
oobject
Returns
stream

Definition at line 55 of file command.h.


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


tuw_geometry
Author(s): Markus Bader
autogenerated on Mon Jun 10 2019 15:33:09