# PID_motor **Repository Path**: buffzhou/PID_motor ## Basic Information - **Project Name**: PID_motor - **Description**: 简单的用CAN的收发电机,用STM32IDE调参运用其中的曲线和改参功能 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: https://buffzhou.github.io/technology/2019-09-17-pid_motor/ - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 3 - **Created**: 2019-09-16 - **Last Updated**: 2024-08-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README PID_motor: 用CAN实现C610电调下的ID:0x201电机实现PID调参运行 can.c:用最新的HAL库实现收发(2019.9)(可作为can标程) 过滤器: CAN_FilterTypeDef can_filter_st; can_filter_st.FilterActivation = ENABLE; can_filter_st.FilterMode = CAN_FILTERMODE_IDMASK; can_filter_st.FilterScale = CAN_FILTERSCALE_32BIT; can_filter_st.FilterIdHigh = 0x0000; can_filter_st.FilterIdLow = 0x0000; can_filter_st.FilterMaskIdHigh = 0x0000; can_filter_st.FilterMaskIdLow = 0x0000; can_filter_st.FilterBank = 0; can_filter_st.FilterFIFOAssignment = CAN_RX_FIFO0; HAL_CAN_ConfigFilter(&hcan1, &can_filter_st); motor.c:从can报文中解算出speed pid.c:pid调参