From 2e451eb2bcdbc3d3e5e835aef3ca9e2db4e54989 Mon Sep 17 00:00:00 2001 From: khancyr Date: Mon, 17 Jul 2017 21:46:40 +0900 Subject: [PATCH] Rover: fix motor test for pilot passthrough of steering --- APMrover2/motor_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APMrover2/motor_test.cpp b/APMrover2/motor_test.cpp index 764afc2a1ff..e389c23307f 100644 --- a/APMrover2/motor_test.cpp +++ b/APMrover2/motor_test.cpp @@ -41,7 +41,7 @@ void Rover::motor_test_output() case MOTOR_TEST_THROTTLE_PILOT: if ((AP_MotorsUGV::motor_test_order)motor_test_seq == AP_MotorsUGV::MOTOR_TEST_STEERING) { - test_result = g2.motors.output_test_pct((AP_MotorsUGV::motor_test_order)motor_test_seq, channel_steer->get_control_in()); + test_result = g2.motors.output_test_pct((AP_MotorsUGV::motor_test_order)motor_test_seq, channel_steer->norm_input_dz() * 100.0f); } else { test_result = g2.motors.output_test_pct((AP_MotorsUGV::motor_test_order)motor_test_seq, channel_throttle->get_control_in()); }