Class Command2D
Defined in File command2d.hpp
Inheritance Relationships
Base Type
public cv::Vec< double, 2 >
Class Documentation
-
class Command2D : public cv::Vec<double, 2>
class to handle motion control commands
Public Functions
-
Command2D()
constructor
-
Command2D(double v, double w)
constructor
-
double &v()
- Returns:
linear velocity
-
const double &v() const
- Returns:
linear velocity
-
double &w()
- Returns:
angular velocity
-
const double &w() const
- Returns:
angular velocity
-
void set(double v, double w)
- Parameters:
v – linear velocity
w – angular velocity
-
Command2D()