 |
JSBSim Flight Dynamics Model
1.1.11 (13 Feb 2022)
An Open Source Flight Dynamics and Control Software Library in C++
|
41 #include "FGFDMExec.h"
65 enum ContactType {ctBOGEY, ctSTRUCTURE, ctGROUND};
95 pos[0] = pt[0]; pos[1] = pt[1]; pos[2] = pt[2];
117 std::string GetSurfaceStrings(std::string delimeter)
const;
118 std::string GetSurfaceValues(std::string delimeter)
const;
121 ContactType eSurfaceType;
122 double staticFFactor, rollingFFactor;
127 double staticFCoeff, dynamicFCoeff;
135 static std::string _CreateIndexedPropertyName(
const std::string& Property,
int index);
Base class for all surface properties.
Encapsulates the JSBSim simulation executive.
double GetBumpiness(void)
Gets the normalized bumpiness factor associated with the surface.
bool GetSolid(void)
Gets the surface is a solid flag value.
FGSurface(FGFDMExec *fdmex, int number=-1)
Constructor.
void SetMaximumForce(double force)
Sets the maximum force for the surface area.
double GetMaximumForce(void)
Gets the maximum force of the surface area.
void SetSolid(bool solid)
Sets the surface is a solid flag value.
double GetRollingFFactor(void)
Gets the rolling friction factor of the surface area.
void SetBumpiness(double bump)
Sets the normalized bumpiness factor associated with the surface.
double GetStaticFFactor(void)
Gets the static friction factor of the surface area.
void resetValues(void)
Reset all surface values to a default.
void SetPosition(const double pt[3])
Set the currect position for bumpiness calulcation.
void SetStaticFFactor(double friction)
Sets the static friction factor of the surface area.
float GetBumpHeight()
Returns the height of the bump at the provided offset.
void SetRollingFFactor(double friction)
Sets the rolling friction factor of the surface area.