mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-04 06:58:39 -04:00
Added tri test
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2079 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
39f9d8fa35
commit
7892b50597
@ -112,7 +112,7 @@ test_radio_pwm(uint8_t argc, const Menu::arg *argv)
|
|||||||
read_radio();
|
read_radio();
|
||||||
|
|
||||||
// servo Yaw
|
// servo Yaw
|
||||||
APM_RC.OutputCh(CH_7, g.rc_4.radio_out);
|
//APM_RC.OutputCh(CH_7, g.rc_4.radio_out);
|
||||||
|
|
||||||
Serial.printf_P(PSTR("IN: 1: %d\t2: %d\t3: %d\t4: %d\t5: %d\t6: %d\t7: %d\t8: %d\n"),
|
Serial.printf_P(PSTR("IN: 1: %d\t2: %d\t3: %d\t4: %d\t5: %d\t6: %d\t7: %d\t8: %d\n"),
|
||||||
g.rc_1.radio_in,
|
g.rc_1.radio_in,
|
||||||
@ -149,6 +149,8 @@ test_tri(uint8_t argc, const Menu::arg *argv)
|
|||||||
g.rc_4.control_in,
|
g.rc_4.control_in,
|
||||||
g.rc_4.radio_out);
|
g.rc_4.radio_out);
|
||||||
|
|
||||||
|
APM_RC.OutputCh(CH_7, g.rc_4.radio_out);
|
||||||
|
|
||||||
if(Serial.available() > 0){
|
if(Serial.available() > 0){
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user