float _tilt_yaw;
float _tilt_roll;
float _tilt_pitch;
+ float _old_tilt_roll;
+ float _old_tilt_pitch;
+ float _old_tilt_yaw;
+ float _downwash_factor;
public:
Rotor();
void setCyclicail(float lval,float rval);
void setCyclicele(float lval,float rval);
void setCollective(float lval);
+ void setRotorBalance(float lval);
void setAlphaoutput(int i, const char *text);
void setCcw(int ccw);
int getCcw() {return _ccw;};
- void setParameter(char *parametername, float value);
+ void setParameter(const char *parametername, float value);
void setGlobalGround(double* global_ground, float* global_vel);
float getTorqueOfInertia();
int getValueforFGSet(int j,char *b,float *f);
void setName(const char *text);
void inititeration(float dt,float omegarel,float ddt_omegarel,float *rot);
void compile();
- void updateDirectionsAndPositions();
+ void updateDirectionsAndPositions(float *rot);
void getTip(float* tip);
void calcLiftFactor(float* v, float rho, State *s);
void getDownWash(float *pos, float * v_heli, float *downwash);
int getNumberOfBlades(){return _number_of_blades;}
+ void setDownwashFactor(float value);
// Query the list of Rotorpart objects
int numRotorparts();
float _engine_accel_limit;
float _total_torque_on_engine;
Vector _rotors;
+ float _target_rel_rpm;
+ float _max_rel_torque;
public:
Rotorgear();