Skip to content
Snippets Groups Projects
Commit 5c595c3c authored by James Goppert's avatar James Goppert
Browse files

Added some new states to state space.

parent f1b921e7
No related branches found
No related tags found
No related merge requests found
dnl Process this file with autoconf to produce a configure script.
AC_INIT(JSBSim.cpp, 1.0.rc3-advtrim-2, jon@jsbsim.org)
AC_INIT(JSBSim.cpp, 1.0.rc3-advtrim-4, jon@jsbsim.org)
dnl set the $host variable based on local machine/os
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE(jsbsim, 1.0.rc3-advtrim-2)
AM_INIT_AUTOMAKE(jsbsim, 1.0.rc3-advtrim-4)
AC_CONFIG_MACRO_DIR([m4])
# Before making a release, the LT_VERSION string should be modified.
......
......@@ -256,6 +256,62 @@ public:
};
class VGround : public Component
{
public:
VGround() : Component("VGround","ft/s") {};
double get() const
{
return m_fdm->GetAuxiliary()->GetVground();
}
void set(double val)
{
m_fdm->GetIC()->SetVgroundFpsIC(val);
}
};
class AccelX : public Component
{
public:
AccelX() : Component("AccelX","ft/s^2") {};
double get() const
{
return m_fdm->GetAuxiliary()->GetPilotAccel(1);
}
void set(double val)
{
// XXX: not possible to implement currently
}
};
class AccelY : public Component
{
public:
AccelY() : Component("AccelY","ft/s^2") {};
double get() const
{
return m_fdm->GetAuxiliary()->GetPilotAccel(2);
}
void set(double val)
{
// XXX: not possible to implement currently
}
};
class AccelZ : public Component
{
public:
AccelZ() : Component("AccelZ","ft/s^2") {};
double get() const
{
return m_fdm->GetAuxiliary()->GetPilotAccel(3);
}
void set(double val)
{
// XXX: not possible to implement currently
}
};
class Alpha : public Component
{
public:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment