18 #ifndef GZ_SIM_SYSTEMS_MULTICOPTERVELOCITYCONTROL_COMMON_HH_
19 #define GZ_SIM_SYSTEMS_MULTICOPTERVELOCITYCONTROL_COMMON_HH_
21 #include <Eigen/Geometry>
27 #include "gz/sim/config.hh"
38 inline namespace GZ_SIM_VERSION_NAMESPACE {
41 namespace multicopter_control
67 const sdf::ElementPtr &_sdf,
99 Eigen::Matrix3d skewMatrix;
100 skewMatrix << 0, -_vector.z(), _vector.y(), _vector.z(), 0, -_vector.x(),
101 -_vector.y(), _vector.x(), 0;
110 const Eigen::Matrix3d &_skewMatrix)
112 return Eigen::Vector3d(_skewMatrix(2, 1), _skewMatrix(0, 2),