Skip to content

Commit

Permalink
Replay: fix rangefinder instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
rmackay9 committed Feb 27, 2017
1 parent e725ae8 commit bc89432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/Replay/Replay.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class ReplayVehicle {
AP_GPS gps;
Compass compass;
AP_SerialManager serial_manager;
RangeFinder rng {serial_manager};
RangeFinder rng {serial_manager, ROTATION_PITCH_270};
NavEKF2 EKF2{&ahrs, barometer, rng};
NavEKF3 EKF3{&ahrs, barometer, rng};
AP_AHRS_NavEKF ahrs {ins, barometer, gps, rng, EKF2, EKF3};
Expand Down

0 comments on commit bc89432

Please sign in to comment.