From db6beb913d933c487dbaddb568d504c278f1baab Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Thu, 12 Sep 2019 16:30:54 -0300 Subject: [PATCH] Sub: force cam pan and tilt inputs to channels 7 and 8 --- ArduSub/Parameters.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduSub/Parameters.cpp b/ArduSub/Parameters.cpp index b2fc8248cb..1f8dfa9386 100644 --- a/ArduSub/Parameters.cpp +++ b/ArduSub/Parameters.cpp @@ -701,6 +701,8 @@ void Sub::load_parameters() AP_Param::set_default_by_name("INS_GYR_CAL", 0); AP_Param::set_default_by_name("MNT_DEFLT_MODE", MAV_MOUNT_MODE_RC_TARGETING); AP_Param::set_default_by_name("MNT_JSTICK_SPD", 100); + AP_Param::set_by_name("MNT_RC_IN_PAN", 7); + AP_Param::set_by_name("MNT_RC_IN_TILT", 8); } void Sub::convert_old_parameters()