53f09ff6a5
""" - ground properties (e.g. feel bumpiness and the reduced friction of grass or go swimming with the beaver) - initial load for yasim gears (to get rid of the jitter the beaver has on ground) - glider/winch/aerotow (do winch start with YASim glider or do aerotow over the net) I will place a how-to on the wiki soon, here very short: use the sgs233y (or the bocian if you have AJ (up ot now) non-GPL bocian) winch start: Ctrl-w for placing the winch, hold w to winch, press Shift-w to release the tow aerotow: Place the glider within 60m to a MP-aircraft, press Ctrl-t to tow to this aircraft. If the MP-aircraft is the J3 and the patch is installed on both sides, the J3 feels the forces, too. The J3-pilot has to taxi very slow up to the moment, the glider starts moving. Increase the throttle gently. Don't lift the J3 early, wait for the glider being lifted, lift gently. """
49 lines
1.4 KiB
C++
49 lines
1.4 KiB
C++
#ifndef _FGGROUND_HPP
|
|
#define _FGGROUND_HPP
|
|
|
|
#include "Ground.hpp"
|
|
|
|
class FGInterface;
|
|
class SGMaterial;
|
|
|
|
namespace yasim {
|
|
|
|
// The XYZ coordinate system has Z as the earth's axis, the Y axis
|
|
// pointing out the equator at zero longitude, and the X axis pointing
|
|
// out the middle of the western hemisphere.
|
|
class FGGround : public Ground {
|
|
public:
|
|
FGGround(FGInterface *iface);
|
|
virtual ~FGGround();
|
|
|
|
virtual void getGroundPlane(const double pos[3],
|
|
double plane[4], float vel[3]);
|
|
|
|
virtual void getGroundPlane(const double pos[3],
|
|
double plane[4], float vel[3],
|
|
int *type, const SGMaterial **material);/*
|
|
double *frictionFactor,
|
|
double *rollingFriction,
|
|
double *loadCapacity,
|
|
double *loadResistance,
|
|
double *bumpiness,
|
|
bool *isSolid);*/
|
|
|
|
virtual bool caughtWire(const double pos[4][3]);
|
|
|
|
virtual bool getWire(double end[2][3], float vel[2][3]);
|
|
|
|
virtual void releaseWire(void);
|
|
|
|
virtual float getCatapult(const double pos[3],
|
|
double end[2][3], float vel[2][3]);
|
|
|
|
void setTimeOffset(double toff);
|
|
|
|
private:
|
|
FGInterface *_iface;
|
|
double _toff;
|
|
};
|
|
|
|
}; // namespace yasim
|
|
#endif // _FGGROUND_HPP
|