message: Eliminate update frequency
diff: @@ -16,9 +16,6 @@ class FFlightManager : public FThreadedWorker {
  private:
  - // Compute in constructor based on update frequency
  - double _deltaT = 0;
  -
  // Start-time offset so timing begins at zero
  double _startTime = 0;
  @@ -28,7 +25,7 @@ class FFlightManager : public FThreadedWorker {
  // Current motor values from PID controller
  double * _motorvals = NULL;
  - // For computing _deltaT
  + // For computing deltaT
  double _previousTime = 0;
  // Did we hit the ground? If we return to our starting altitude, yes.
  @@ -81,7 +78,7 @@ class FFlightManager : public FThreadedWorker {
  MultirotorDynamics * _dynamics;
  // Constructor, called once on main thread
  - FFlightManager(MultirotorDynamics * dynamics, FVector initialLocation, FRotator initialRotation, uint16_t updateFrequency=1000)
  + FFlightManager(MultirotorDynamics * dynamics, FVector initialLocation, FRotator initialRotation)
  : FThreadedWorker()
  {
  // Allocate array for motor values
  @@ -102,8 +99,7 @@ class FFlightManager : public FThreadedWorker {
  // Initialize dynamics with initial pose
  _dynamics->init(_pose);
  - // Constants
  - _deltaT = 1. / updateFrequency;
  + // Constant
  _motorCount = dynamics->motorCount();
  // For periodic update
  @@ -126,8 +122,6 @@ class FFlightManager : public FThreadedWorker {
  double deltaT = currentTime - _previousTime;
  - if (deltaT >= _deltaT) {
  -
  // Send current motor values to dynamics
  _dynamics->setMotors(_motorvals);
  @@ -160,7 +154,6 @@ class FFlightManager : public FThreadedWorker {
  _pose.rotation[k] = state.pose.rotation[k];
  }
  }
  - }
  public:
  