FIX: fixed issue in default constructor from Movement class
This commit is contained in:
@@ -180,7 +180,7 @@ namespace Entities
|
|||||||
static std::tuple<double, double, double> getCourseSpeedClimbAngleFromENU(Eigen::Vector3d ENU);
|
static std::tuple<double, double, double> getCourseSpeedClimbAngleFromENU(Eigen::Vector3d ENU);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::shared_ptr<SimCore::Position> ownPosition_;
|
std::shared_ptr<SimCore::Position> ownPosition_ = nullptr;
|
||||||
SimCore::Orientation ownOrientation_;
|
SimCore::Orientation ownOrientation_;
|
||||||
|
|
||||||
Eigen::Vector3d ToECEFFromENU();
|
Eigen::Vector3d ToECEFFromENU();
|
||||||
|
|||||||
Submodule libs/json updated: 5d2754306d...6eab7a2b18
Submodule libs/nlohmannJSON updated: 58d6aa5831...6eab7a2b18
@@ -4,6 +4,7 @@
|
|||||||
#include "SimCore/UtilFunctions.hpp"
|
#include "SimCore/UtilFunctions.hpp"
|
||||||
#include <Entities/Movement.hpp>
|
#include <Entities/Movement.hpp>
|
||||||
#include <Eigen/Geometry>
|
#include <Eigen/Geometry>
|
||||||
|
#include <memory>
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
|
|
||||||
using namespace Eigen;
|
using namespace Eigen;
|
||||||
@@ -11,7 +12,7 @@ using namespace Eigen;
|
|||||||
namespace Entities
|
namespace Entities
|
||||||
{
|
{
|
||||||
|
|
||||||
Movement::Movement()
|
Movement::Movement():ownPosition_(std::make_shared<SimCore::Position>())
|
||||||
{
|
{
|
||||||
course_ = 0;
|
course_ = 0;
|
||||||
speed_= 0;
|
speed_= 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user