コード例 #1
0
ファイル: RC_Channel.cpp プロジェクト: 08shwang/ardupilot
void loop()
{
    RC_Channel::set_pwm_all();
    print_pwm();
    
    copy_input_output();

    hal.scheduler->delay(20);
}
コード例 #2
0
void PWM_8_Callback(const ros_erle_pwm::pwm::ConstPtr& msg){
  ROS_INFO("I heard: PWM_8:[%d]", msg->PWM);
  c[7]->set_pwm(msg->PWM);
  copy_input_output();
}