Stores Position, yaw. PositionYaw is used as the goal for UAV systems.
More...
#include <position_yaw.h>
|
| | PositionYaw () |
| | Implicit constructor. More...
|
| |
| | PositionYaw (Position p, double yaw) |
| | Explicit constructor that takes in position, yaw. More...
|
| |
| | PositionYaw (double x, double y, double z, double yaw) |
| | Explicit constructor with x,y,z, and yaw. More...
|
| |
| Position | position () |
| | Return position. More...
|
| |
| void | setPosition (const Position &p) |
| | Set the Position. More...
|
| |
| bool | operator== (const PositionYaw &p) const |
| | Compare two position and yaw entities. More...
|
| |
| bool | operator!= (const PositionYaw &p) const |
| | Compare two position and yaw entities. More...
|
| |
| PositionYaw | operator+ (const PositionYaw &p) const |
| | Add two position and yaw entities. More...
|
| |
| PositionYaw | operator- (const PositionYaw &p) const |
| | Subtract two position and yaw entities. More...
|
| |
| | Position () |
| | Implicit constructor Instantiate position to (0,0,0)m. More...
|
| |
| | Position (double x, double y, double z) |
| | Explicit constructor. More...
|
| |
| double | norm () const |
| | Returns the norm of the vector. More...
|
| |
| bool | operator== (const Position &p) const |
| | Compare two positions. More...
|
| |
| bool | operator!= (const Position &p) const |
| | Compare two positions. More...
|
| |
| Position | operator+ (const Position &p) const |
| |
| Position | operator- (const Position &p) const |
| |
| Position | operator* (const double &m) const |
| | Multiply times a scalar. More...
|
| |
| Position | operator/ (const double &m) const |
| | Divide by a scalar. More...
|
| |
Stores Position, yaw. PositionYaw is used as the goal for UAV systems.
| PositionYaw::PositionYaw |
( |
| ) |
|
|
inline |
Implicit constructor.
Instantiate position and yaw to zero
| PositionYaw::PositionYaw |
( |
Position |
p, |
|
|
double |
yaw |
|
) |
| |
|
inline |
Explicit constructor that takes in position, yaw.
- Parameters
-
| p | Position |
| yaw | orientation about body axis used as goal for quadrotor. |
| PositionYaw::PositionYaw |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
double |
yaw |
|
) |
| |
|
inline |
Explicit constructor with x,y,z, and yaw.
- Parameters
-
| x | x component (m) |
| y | y component (m) |
| z | z component (m) |
| yaw | yaw component (rad) |
| bool PositionYaw::operator!= |
( |
const PositionYaw & |
p | ) |
const |
|
inline |
Compare two position and yaw entities.
- Parameters
-
- Returns
- True if position and yaw are different
Add two position and yaw entities.
- Parameters
-
- Returns
- Sum of position and yaw
Subtract two position and yaw entities.
- Parameters
-
- Returns
- Difference of position and yaw
| bool PositionYaw::operator== |
( |
const PositionYaw & |
p | ) |
const |
|
inline |
Compare two position and yaw entities.
- Parameters
-
- Returns
- True if position and yaw are the same
Return position.
- Returns
- position
| void PositionYaw::setPosition |
( |
const Position & |
p | ) |
|
|
inline |
Orientation about body axis rad.
The documentation for this struct was generated from the following file: