SITL: minor format changes for sailboat

This commit is contained in:
Randy Mackay 2019-08-21 12:24:19 +09:00
parent c0774e74e0
commit 0ce1ce9c4f
1 changed files with 6 additions and 7 deletions

View File

@ -52,6 +52,9 @@ private:
// return lateral acceleration in m/s/s given a steering input (in the range -1 to +1) and speed in m/s
float get_lat_accel(float steering, float speed) const;
// simulate waves and swell
void update_wave(float delta_time);
float steering_angle_max; // vehicle steering mechanism's max angle in degrees
float turning_circle; // vehicle minimum turning circle diameter in meters
@ -63,13 +66,9 @@ private:
const float mass = 2.0f;
Vector3f velocity_ef_water; // m/s
// simulate basic waves / swell
void update_wave(float delta_time);
Vector3f wave_gyro; // rad/s
float wave_heave; // m/s/s
float wave_phase; // rads
};
} // namespace SITL