|
Vulcan
Aerospace Engineering Utilities Built on Janus
|
Functions | |
| template<typename Scalar> | |
| wind::WindVector< Scalar > | from_ned (const Scalar &north, const Scalar &east, const Scalar &down=Scalar(0)) |
| Create constant wind from NED components. | |
| template<typename Scalar> | |
| wind::WindVector< Scalar > | from_speed_direction (const Scalar &speed, const Scalar &direction_from) |
| Create constant wind from speed and direction. | |
| wind::WindVector< Scalar > vulcan::constant_wind::from_ned | ( | const Scalar & | north, |
| const Scalar & | east, | ||
| const Scalar & | down = Scalar(0) ) |
Create constant wind from NED components.
| Scalar | double or casadi::MX |
| north | North wind component [m/s] |
| east | East wind component [m/s] |
| down | Down wind component [m/s] (usually 0) |
| wind::WindVector< Scalar > vulcan::constant_wind::from_speed_direction | ( | const Scalar & | speed, |
| const Scalar & | direction_from ) |
Create constant wind from speed and direction.
Uses meteorological convention: direction is where wind comes FROM. For example, a "northerly wind" blows FROM the north TO the south, so direction_from = 0 and the resulting north component is negative.
| Scalar | double or casadi::MX |
| speed | Wind speed [m/s] |
| direction_from | Direction wind is blowing FROM [rad], clockwise from North |