JSBSim Flight Dynamics Model
1.0 (02 March 2017)
An Open Source Flight Dynamics and Control Software Library in C++
|
This class provides callback slots to get ground specific data. More...
#include <FGGroundCallback.h>
Public Member Functions | |
virtual double | GetAGLevel (double t, const FGLocation &location, FGLocation &contact, FGColumnVector3 &normal, FGColumnVector3 &v, FGColumnVector3 &w) const =0 |
Compute the altitude above ground. More... | |
virtual double | GetAGLevel (const FGLocation &location, FGLocation &contact, FGColumnVector3 &normal, FGColumnVector3 &v, FGColumnVector3 &w) const |
Compute the altitude above ground. More... | |
virtual double | GetAltitude (const FGLocation &l) const =0 |
Compute the altitude above sealevel. More... | |
virtual double | GetSeaLevelRadius (const FGLocation &location) const =0 |
Return the sea level radius. More... | |
virtual double | GetTerrainGeoCentRadius (double t, const FGLocation &location) const =0 |
Compute the local terrain radius. More... | |
virtual double | GetTerrainGeoCentRadius (const FGLocation &location) const |
Compute the local terrain radius. More... | |
virtual void | SetSeaLevelRadius (double radius) |
Set the sea level radius. More... | |
virtual void | SetTerrainGeoCentRadius (double radius) |
Set the local terrain radius. More... | |
void | SetTime (double _time) |
This class provides callback slots to get ground specific data.
The default implementation returns values for a ball formed earth with an adjustable terrain elevation.
Definition at line 72 of file FGGroundCallback.h.
|
pure virtual |
Compute the altitude above ground.
The altitude depends on time t and location l.
t | simulation time |
l | location |
contact | Contact point location below the location l |
normal | Normal vector at the contact point |
v | Linear velocity at the contact point |
w | Angular velocity at the contact point |
Implemented in FGDefaultGroundCallback.
|
inlinevirtual |
Compute the altitude above ground.
The altitude depends on location l.
l | location |
contact | Contact point location below the location l |
normal | Normal vector at the contact point |
v | Linear velocity at the contact point |
w | Angular velocity at the contact point |
Definition at line 108 of file FGGroundCallback.h.
|
pure virtual |
|
pure virtual |
Return the sea level radius.
location | location |
Implemented in FGDefaultGroundCallback.
|
pure virtual |
Compute the local terrain radius.
t | simulation time |
location | location |
Implemented in FGDefaultGroundCallback.
|
inlinevirtual |
Compute the local terrain radius.
location | location |
Definition at line 122 of file FGGroundCallback.h.
|
inlinevirtual |
Set the sea level radius.
Only needs to be implemented if JSBSim should be allowed to modify the sea level radius (see the default implementation)
Reimplemented in FGDefaultGroundCallback.
Definition at line 140 of file FGGroundCallback.h.
|
inlinevirtual |
Set the local terrain radius.
Only needs to be implemented if JSBSim should be allowed to modify the local terrain radius (see the default implementation)
Reimplemented in FGDefaultGroundCallback.
Definition at line 134 of file FGGroundCallback.h.