22template <
typename Scalar>
24 const Scalar &down = Scalar(0)) {
45template <
typename Scalar>
47 const Scalar &direction_from) {
52 .north = -speed * janus::cos(direction_from),
53 .east = -speed * janus::sin(direction_from),
54 .down = speed * Scalar(0)
Definition ConstantWind.hpp:7
wind::WindVector< Scalar > from_ned(const Scalar &north, const Scalar &east, const Scalar &down=Scalar(0))
Create constant wind from NED components.
Definition ConstantWind.hpp:23
wind::WindVector< Scalar > from_speed_direction(const Scalar &speed, const Scalar &direction_from)
Create constant wind from speed and direction.
Definition ConstantWind.hpp:46
3D wind velocity in NED frame
Definition WindTypes.hpp:21