Merge pull request #458 from JoePfeiffer/report-windSpeed
Report wind speed
This commit is contained in:
commit
26b0adbdde
@ -489,8 +489,9 @@ public class RK4SimulationStepper extends AbstractSimulationStepper {
|
||||
|
||||
|
||||
//// Local wind speed and direction
|
||||
Coordinate windSpeed = modelWindVelocity(status);
|
||||
Coordinate airSpeed = status.getRocketVelocity().add(windSpeed);
|
||||
Coordinate windVelocity = modelWindVelocity(status);
|
||||
store.windSpeed = windVelocity.length();
|
||||
Coordinate airSpeed = status.getRocketVelocity().add(windVelocity);
|
||||
airSpeed = status.getRocketOrientationQuaternion().invRotate(airSpeed);
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user