rc_channel_values = [65535 for _ in range(18)]
rc_channel_values[channel_id - 1] = pwm
master.mav.rc_channels_override_send(
master.target_system, # target_system
master.target_component, # target_component
*rc_channel_values)
报了“rc_channels_override_send() takes from 11 to 12 positional arguments but 21 were given”的错误,意思是只有8个RC_Channel吗?想通过第9_11个channel开灯。