# RobotCompetition **Repository Path**: AronKei/RobotCompetition ## Basic Information - **Project Name**: RobotCompetition - **Description**: 第一次提交 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-31 - **Last Updated**: 2024-11-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 校内赛第六组电控项目 ### 关控逻辑 1. 定时器修改标志位 2. main.c的while循环中发送0,电机失力 ### 数据处理与发送 都在串口空闲中断中进行 代码简略 void USART3_IRQHandler(void){ //接收部分省略 Yaw_control(rc_ctrl.rc.ch[0]); Pitch_control(rc_ctrl.rc.ch[1]); Elevator_control(); Chassis_speedcontrol(); CAN1_cmd(pid_speed_Chassis_R.out, pid_speed_Chassis_L.out, pid_speed_Pitch.out, pid_speed_Elevator.out); }