From c31ccd242f42430763f74ec683cc2064f2c0b8ce Mon Sep 17 00:00:00 2001 From: Rustom Jehangir Date: Tue, 2 Feb 2016 13:40:26 -0800 Subject: [PATCH] Sub: Remove unneeded camtilt input. --- ArduSub/radio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduSub/radio.cpp b/ArduSub/radio.cpp index 864e8ea1f9..c3f5f09820 100644 --- a/ArduSub/radio.cpp +++ b/ArduSub/radio.cpp @@ -185,7 +185,7 @@ void Sub::transform_manual_control_to_rc_override(int16_t x, int16_t y, int16_t channels[5] = x*rpyScale+rpyCenter; // forward for ROV channels[6] = y*rpyScale+rpyCenter; // strafe for ROV channels[7] = camTilt; // camera tilt - channels[8] = camTilt; + channels[8] = 0; channels[9] = 0; // record that rc are overwritten so we can trigger a failsafe if we lose contact with groundstation