12#ifdef FH_VISUALIZATION
14#pragma warning( disable : 4251 )
26 EIGEN_MAKE_ALIGNED_OPERATOR_NEW;
27 WaypointRefGen(
const std::string& simObjectName, ISimObjectCreator*
const creator);
29 const double* DesiredQuaternion(
const double T,
const double*
const X);
30 const double* DesiredHeading(
const double T,
const double*
const X);
31 const double* DesiredHeadingRate(
const double T,
const double*
const X);
32 const double* CrossTrackError(
const double T,
const double*
const X);
33 const double* DesiredPosition(
const double T,
const double*
const X);
34 const double* DesiredSpeed(
const double T,
const double*
const X);
35 void OdeFcn(
const double T,
const double *
const X,
double *
const ,
const bool){}
36 void FinalSetup(
const double T,
const double*
const X, ISimObjectCreator*
const creator);
37 void Compute(
const double T,
const double*
const X);
39 #ifdef FH_VISUALIZATION
40 void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator);
41 void RenderUpdate(
const double T,
const double*
const X);
46 ISignalPort* m_adStatePositionPort;
47 ISignalPort* m_adStateVelocityPort;
48 ICommonComputation *m_Compute;
52 Eigen::Vector3d m_adStatePosition;
53 Eigen::Vector3d m_adStateVelocity;
54 Eigen::Vector3d m_adStateVelocity_Desired;
56 std::string sideslipCompensation;
58 double initialPosition[3];
60 double desiredHeading;
61 double desiredHeadingRate;
62 double crosstrackError;
63 double m_dLookaheadDistance;
65 double m_dSideSlipAngle;
67 double m_adStateTheta_Desired[4];
68 double desiredPosition[3];
69 double m_desiredSpeed;
72 int iCurrentWaypointNumber;
78 double* waypoint_leg_speed;
81 Eigen::Vector3d* legstart;
82 Eigen::Vector3d* legend;
83 Eigen::Vector3d* circle_center;
84 double* circle_radius;
86 #ifdef FH_VISUALIZATION
87 Ogre::SceneNode** m_wpNodes;
88 Ogre::SceneNode** m_legNodes;
90 Ogre::SceneNode** m_turnNodes;
91 Ogre::SceneNode** m_circNodes;
93 Ogre::SceneNode* m_LOSNode;
94 Ogre::SceneNode* m_TargetPointNode;
96 Ogre::ManualObject* sigth;
Definition: WaypointRefGen.h:24
WaypointRefGen(const std::string &simObjectName, ISimObjectCreator *const creator)
reads parameters, registers states, input/output ports and shared resources
Definition: Waypoint.h:16
Simple waypoint object.
Definition: CableAttach.h:16