改了运球赛pos_1会出bug的问题

This commit is contained in:
Yodel 2025-07-01 11:08:07 +08:00
parent 49a8ff6ecf
commit ab462855e7
28 changed files with 1259 additions and 1204 deletions

File diff suppressed because one or more lines are too long

View File

@ -215,6 +215,11 @@
<WinNumber>1</WinNumber>
<ItemText>nucbuf,0x10</ItemText>
</Ww>
<Ww>
<count>12</count>
<WinNumber>1</WinNumber>
<ItemText>o,0x0A</ItemText>
</Ww>
</WatchWindow1>
<Tracepoint>
<THDelay>0</THDelay>

Binary file not shown.

View File

@ -29,10 +29,23 @@ Project File Date: 06/04/2025
Build target 'AUTO_CHASSIS'
Note: source file '..\User\bsp\gpio.c' - object file renamed from 'ELE_CHASSIS\gpio.o' to 'ELE_CHASSIS\gpio_1.o'.
Note: source file '..\User\bsp\spi.c' - object file renamed from 'ELE_CHASSIS\spi.o' to 'ELE_CHASSIS\spi_1.o'.
compiling cmd.c...
compiling navi.c...
compiling map.c...
compiling remote_control.c...
..\User\device\remote_control.c(73): warning: #177-D: function "DR16_DataCorrupted" was declared but never referenced
static bool DR16_DataCorrupted(const DR16_t *dr16) {
..\User\device\remote_control.c: 1 warning, 0 errors
compiling nuc.c...
compiling can_use.c...
..\User\device\can_use.c(83): warning: #177-D: function "CAN_Sick_Receive_mini" was declared but never referenced
static void CAN_Sick_Receive_mini(CAN_SickFeedback_mini_t *feedback,const uint8_t *raw) {
..\User\device\can_use.c: 1 warning, 0 errors
compiling vofa.c...
compiling Chassis.c...
linking...
Program Size: Code=88896 RO-data=1636 RW-data=1068 ZI-data=34692
"ELE_CHASSIS\AUTO_CHASSIS.axf" - 0 Error(s), 0 Warning(s).
"ELE_CHASSIS\AUTO_CHASSIS.axf" - 0 Error(s), 2 Warning(s).
<h2>Software Packages used:</h2>
@ -56,7 +69,7 @@ Package Vendor: Keil
* Component: ARM::CMSIS:CORE:5.4.0
Include file: CMSIS\Core\Include\tz_context.h
Build Time Elapsed: 00:00:02
Build Time Elapsed: 00:00:04
</pre>
</body>
</html>

View File

@ -3,7 +3,7 @@
<title>Static Call Graph - [ELE_CHASSIS\AUTO_CHASSIS.axf]</title></head>
<body><HR>
<H1>Static Call Graph for image ELE_CHASSIS\AUTO_CHASSIS.axf</H1><HR>
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060960: Last Updated: Mon Jun 30 21:27:30 2025
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060960: Last Updated: Tue Jul 01 10:57:02 2025
<BR><P>
<H3>Maximum Stack Usage = 376 bytes + Unknown(Functions without stacksize, Cycles, Untraceable Function Pointers)</H3><H3>
Call chain for Maximum Stack Depth:</H3>
@ -1105,7 +1105,7 @@ Global Symbols
<BR>[Called By]<UL><LI><a href="#[8b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Task_can
</UL>
<P><STRONG><a name="[222]"></a>CMD_CtrlSet</STRONG> (Thumb, 510 bytes, Stack size 0 bytes, cmd.o(i.CMD_CtrlSet))
<P><STRONG><a name="[222]"></a>CMD_CtrlSet</STRONG> (Thumb, 514 bytes, Stack size 0 bytes, cmd.o(i.CMD_CtrlSet))
<BR><BR>[Called By]<UL><LI><a href="#[8c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Task_cmd
</UL>

File diff suppressed because it is too large Load Diff

View File

@ -1602,8 +1602,8 @@ I (../Core/Inc/usart.h)(0x664876DC)
I (../User/Algorithm/filter.h)(0x663B6620)
I (../User/Algorithm/kalman.h)(0x677FBC67)
I (../User/bsp\pwm.h)(0x685AE3BC)
I (..\User\Module\define.h)(0x6860D018)
F (..\User\Module\config.c)(0x68626814)(--c99 -c --cpu Cortex-M4.fp.sp -g -O0 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../User -I ../User/bsp -I ../User/device -I ../User/task -I ../User/Algorithm -I ../User/Module -I ../MDK-ARM -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I.\RTE\_AUTO_CHASSIS -I"D:\keil mdk\Keil5 MDK\ARM\CMSIS\5.7.0\CMSIS\Core\Include" -I"D:\keil mdk\Keil5 MDK\Keil\STM32F4xx_DFP\2.17.1\Drivers\CMSIS\Device\ST\STM32F4xx\Include" -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -o ele_chassis\config.o --omf_browse ele_chassis\config.crf --depend ele_chassis\config.d)
I (..\User\Module\define.h)(0x68634E7A)
F (..\User\Module\config.c)(0x68634347)(--c99 -c --cpu Cortex-M4.fp.sp -g -O0 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../User -I ../User/bsp -I ../User/device -I ../User/task -I ../User/Algorithm -I ../User/Module -I ../MDK-ARM -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I.\RTE\_AUTO_CHASSIS -I"D:\keil mdk\Keil5 MDK\ARM\CMSIS\5.7.0\CMSIS\Core\Include" -I"D:\keil mdk\Keil5 MDK\Keil\STM32F4xx_DFP\2.17.1\Drivers\CMSIS\Device\ST\STM32F4xx\Include" -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -o ele_chassis\config.o --omf_browse ele_chassis\config.crf --depend ele_chassis\config.d)
I (..\User\Module\config.h)(0x683FAE78)
I (..\User\Module\Chassis.h)(0x68628DCC)
I (../User/Algorithm/struct_typedef.h)(0x663B6621)
@ -1669,7 +1669,7 @@ I (../User/device/map.h)(0x682338DB)
I (../User/bsp/bsp_delay.h)(0x663B6621)
I (../User/bsp/flash.h)(0x663B6621)
I (D:\keil mdk\ARM\ARMCC\include\string.h)(0x5E8E3CC2)
F (..\User\Module\define.h)(0x6860D018)()
F (..\User\Module\define.h)(0x68634E7A)()
F (..\User\bsp\bsp_delay.c)(0x663B6621)(--c99 -c --cpu Cortex-M4.fp.sp -g -O0 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../User -I ../User/bsp -I ../User/device -I ../User/task -I ../User/Algorithm -I ../User/Module -I ../MDK-ARM -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I.\RTE\_AUTO_CHASSIS -I"D:\keil mdk\Keil5 MDK\ARM\CMSIS\5.7.0\CMSIS\Core\Include" -I"D:\keil mdk\Keil5 MDK\Keil\STM32F4xx_DFP\2.17.1\Drivers\CMSIS\Device\ST\STM32F4xx\Include" -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -o ele_chassis\bsp_delay.o --omf_browse ele_chassis\bsp_delay.crf --depend ele_chassis\bsp_delay.d)
I (..\User\bsp\bsp_delay.h)(0x663B6621)
I (../User/Algorithm/struct_typedef.h)(0x663B6621)
@ -3368,8 +3368,8 @@ I (D:\keil mdk\ARM\ARMCC\include\math.h)(0x5E8E3CC2)
I (D:\keil mdk\ARM\ARMCC\include\stdbool.h)(0x5E8E3CC2)
I (..\User\device\device.h)(0x666C4CF9)
I (../User/Algorithm/error_detect.h)(0x663B6620)
I (../User/Module/define.h)(0x6860D018)
F (..\User\device\cmd.c)(0x686258EA)(--c99 -c --cpu Cortex-M4.fp.sp -g -O0 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../User -I ../User/bsp -I ../User/device -I ../User/task -I ../User/Algorithm -I ../User/Module -I ../MDK-ARM -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I.\RTE\_AUTO_CHASSIS -I"D:\keil mdk\Keil5 MDK\ARM\CMSIS\5.7.0\CMSIS\Core\Include" -I"D:\keil mdk\Keil5 MDK\Keil\STM32F4xx_DFP\2.17.1\Drivers\CMSIS\Device\ST\STM32F4xx\Include" -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -o ele_chassis\cmd.o --omf_browse ele_chassis\cmd.crf --depend ele_chassis\cmd.d)
I (../User/Module/define.h)(0x68634E7A)
F (..\User\device\cmd.c)(0x68634A6C)(--c99 -c --cpu Cortex-M4.fp.sp -g -O0 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../User -I ../User/bsp -I ../User/device -I ../User/task -I ../User/Algorithm -I ../User/Module -I ../MDK-ARM -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I.\RTE\_AUTO_CHASSIS -I"D:\keil mdk\Keil5 MDK\ARM\CMSIS\5.7.0\CMSIS\Core\Include" -I"D:\keil mdk\Keil5 MDK\Keil\STM32F4xx_DFP\2.17.1\Drivers\CMSIS\Device\ST\STM32F4xx\Include" -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -o ele_chassis\cmd.o --omf_browse ele_chassis\cmd.crf --depend ele_chassis\cmd.d)
I (..\User\device\cmd.h)(0x68625860)
I (../User/Algorithm/struct_typedef.h)(0x663B6621)
I (..\User\device\device.h)(0x666C4CF9)
@ -3417,7 +3417,7 @@ I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_usb.h)(0x64D895F2)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pcd_ex.h)(0x64D895F2)
I (../Core/Inc/gpio.h)(0x664876DA)
I (D:\keil mdk\ARM\ARMCC\include\string.h)(0x5E8E3CC2)
I (../User/Module/define.h)(0x6860D018)
I (../User/Module/define.h)(0x68634E7A)
F (..\User\device\nuc.c)(0x686257F0)(--c99 -c --cpu Cortex-M4.fp.sp -g -O0 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../User -I ../User/bsp -I ../User/device -I ../User/task -I ../User/Algorithm -I ../User/Module -I ../MDK-ARM -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I.\RTE\_AUTO_CHASSIS -I"D:\keil mdk\Keil5 MDK\ARM\CMSIS\5.7.0\CMSIS\Core\Include" -I"D:\keil mdk\Keil5 MDK\Keil\STM32F4xx_DFP\2.17.1\Drivers\CMSIS\Device\ST\STM32F4xx\Include" -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -o ele_chassis\nuc.o --omf_browse ele_chassis\nuc.crf --depend ele_chassis\nuc.d)
I (..\User\device\nuc.h)(0x685A5054)
I (../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h)(0x64D895DA)
@ -3482,7 +3482,7 @@ I (../User/bsp\pwm.h)(0x685AE3BC)
I (../User/bsp/protocol.h)(0x6851732E)
I (../User/bsp/crc16.h)(0x67FB9F9F)
I (D:\keil mdk\ARM\ARMCC\include\string.h)(0x5E8E3CC2)
I (../User/Module/define.h)(0x6860D018)
I (../User/Module/define.h)(0x68634E7A)
I (../User/Algorithm/error_detect.h)(0x663B6620)
F (..\User\device\vofa.c)(0x685D0043)(--c99 -c --cpu Cortex-M4.fp.sp -g -O0 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../User -I ../User/bsp -I ../User/device -I ../User/task -I ../User/Algorithm -I ../User/Module -I ../MDK-ARM -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I.\RTE\_AUTO_CHASSIS -I"D:\keil mdk\Keil5 MDK\ARM\CMSIS\5.7.0\CMSIS\Core\Include" -I"D:\keil mdk\Keil5 MDK\Keil\STM32F4xx_DFP\2.17.1\Drivers\CMSIS\Device\ST\STM32F4xx\Include" -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -o ele_chassis\vofa.o --omf_browse ele_chassis\vofa.crf --depend ele_chassis\vofa.d)
I (..\User\device\vofa.h)(0x685B9AD7)
@ -3537,7 +3537,7 @@ I (../User/bsp/bsp_usart.h)(0x6817565B)
I (../User/bsp/bsp.h)(0x663B6621)
I (../Core/Inc/usart.h)(0x664876DC)
I (../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h)(0x64D895DA)
I (../User/Module/define.h)(0x6860D018)
I (../User/Module/define.h)(0x68634E7A)
F (..\User\device\Action.c)(0x6809A469)(--c99 -c --cpu Cortex-M4.fp.sp -g -O0 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../User -I ../User/bsp -I ../User/device -I ../User/task -I ../User/Algorithm -I ../User/Module -I ../MDK-ARM -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I.\RTE\_AUTO_CHASSIS -I"D:\keil mdk\Keil5 MDK\ARM\CMSIS\5.7.0\CMSIS\Core\Include" -I"D:\keil mdk\Keil5 MDK\Keil\STM32F4xx_DFP\2.17.1\Drivers\CMSIS\Device\ST\STM32F4xx\Include" -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -o ele_chassis\action.o --omf_browse ele_chassis\action.crf --depend ele_chassis\action.d)
I (../Core/Inc/tim.h)(0x664876DC)
I (../Core/Inc/main.h)(0x666C4A91)
@ -3586,7 +3586,7 @@ I (../Core/Inc/usart.h)(0x664876DC)
I (..\User\device\cmd.h)(0x68625860)
I (../User/Algorithm/struct_typedef.h)(0x663B6621)
I (D:\keil mdk\ARM\ARMCC\include\string.h)(0x5E8E3CC2)
F (..\User\device\map.c)(0x685F99BD)(--c99 -c --cpu Cortex-M4.fp.sp -g -O0 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../User -I ../User/bsp -I ../User/device -I ../User/task -I ../User/Algorithm -I ../User/Module -I ../MDK-ARM -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I.\RTE\_AUTO_CHASSIS -I"D:\keil mdk\Keil5 MDK\ARM\CMSIS\5.7.0\CMSIS\Core\Include" -I"D:\keil mdk\Keil5 MDK\Keil\STM32F4xx_DFP\2.17.1\Drivers\CMSIS\Device\ST\STM32F4xx\Include" -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -o ele_chassis\map.o --omf_browse ele_chassis\map.crf --depend ele_chassis\map.d)
F (..\User\device\map.c)(0x68633FD5)(--c99 -c --cpu Cortex-M4.fp.sp -g -O0 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../User -I ../User/bsp -I ../User/device -I ../User/task -I ../User/Algorithm -I ../User/Module -I ../MDK-ARM -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I.\RTE\_AUTO_CHASSIS -I"D:\keil mdk\Keil5 MDK\ARM\CMSIS\5.7.0\CMSIS\Core\Include" -I"D:\keil mdk\Keil5 MDK\Keil\STM32F4xx_DFP\2.17.1\Drivers\CMSIS\Device\ST\STM32F4xx\Include" -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -o ele_chassis\map.o --omf_browse ele_chassis\map.crf --depend ele_chassis\map.d)
I (..\User\device\map.h)(0x682338DB)
I (../User/Algorithm/struct_typedef.h)(0x663B6621)
I (..\User\device\Action.h)(0x67CAEC48)
@ -3633,7 +3633,7 @@ I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pcd.h)(0x64D895F2)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_usb.h)(0x64D895F2)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pcd_ex.h)(0x64D895F2)
I (..\User\device\cmd.h)(0x68625860)
I (../User/Module/define.h)(0x6860D018)
I (../User/Module/define.h)(0x68634E7A)
F (..\User\device\navi.c)(0x685FAF15)(--c99 -c --cpu Cortex-M4.fp.sp -g -O0 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../User -I ../User/bsp -I ../User/device -I ../User/task -I ../User/Algorithm -I ../User/Module -I ../MDK-ARM -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I.\RTE\_AUTO_CHASSIS -I"D:\keil mdk\Keil5 MDK\ARM\CMSIS\5.7.0\CMSIS\Core\Include" -I"D:\keil mdk\Keil5 MDK\Keil\STM32F4xx_DFP\2.17.1\Drivers\CMSIS\Device\ST\STM32F4xx\Include" -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -o ele_chassis\navi.o --omf_browse ele_chassis\navi.crf --depend ele_chassis\navi.d)
I (..\User\device\navi.h)(0x685FAF15)
I (..\User\device\Action.h)(0x67CAEC48)
@ -3693,7 +3693,7 @@ I (..\User\device\can_use.h)(0x6811C5CD)
I (../User/bsp/bsp_can.h)(0x663B6621)
I (../Core/Inc/can.h)(0x664876DC)
I (../User/bsp/bsp_delay.h)(0x663B6621)
I (../User/Module/define.h)(0x6860D018)
I (../User/Module/define.h)(0x68634E7A)
F (..\User\device\remote_control.c)(0x685F9680)(--c99 -c --cpu Cortex-M4.fp.sp -g -O0 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../User -I ../User/bsp -I ../User/device -I ../User/task -I ../User/Algorithm -I ../User/Module -I ../MDK-ARM -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I.\RTE\_AUTO_CHASSIS -I"D:\keil mdk\Keil5 MDK\ARM\CMSIS\5.7.0\CMSIS\Core\Include" -I"D:\keil mdk\Keil5 MDK\Keil\STM32F4xx_DFP\2.17.1\Drivers\CMSIS\Device\ST\STM32F4xx\Include" -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -o ele_chassis\remote_control.o --omf_browse ele_chassis\remote_control.crf --depend ele_chassis\remote_control.d)
I (..\User\device\remote_control.h)(0x6818B568)
I (../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h)(0x64D895DA)
@ -3747,7 +3747,7 @@ I (D:\keil mdk\ARM\ARMCC\include\math.h)(0x5E8E3CC2)
I (D:\keil mdk\ARM\ARMCC\include\stdbool.h)(0x5E8E3CC2)
I (D:\keil mdk\ARM\ARMCC\include\string.h)(0x5E8E3CC2)
I (../User/Algorithm/error_detect.h)(0x663B6620)
I (../User/Module/define.h)(0x6860D018)
I (../User/Module/define.h)(0x68634E7A)
F (../USB_DEVICE/App/usb_device.c)(0x664876DC)(--c99 -c --cpu Cortex-M4.fp.sp -g -O0 --apcs=interwork --split_sections -I ../Core/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc -I ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I ../Middlewares/Third_Party/FreeRTOS/Source/include -I ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I ../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F -I ../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I ../Drivers/CMSIS/Include -I ../User -I ../User/bsp -I ../User/device -I ../User/task -I ../User/Algorithm -I ../User/Module -I ../MDK-ARM -I ../USB_DEVICE/App -I ../USB_DEVICE/Target -I ../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I ../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I.\RTE\_AUTO_CHASSIS -I"D:\keil mdk\Keil5 MDK\ARM\CMSIS\5.7.0\CMSIS\Core\Include" -I"D:\keil mdk\Keil5 MDK\Keil\STM32F4xx_DFP\2.17.1\Drivers\CMSIS\Device\ST\STM32F4xx\Include" -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F407xx -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F407xx -o ele_chassis\usb_device.o --omf_browse ele_chassis\usb_device.crf --depend ele_chassis\usb_device.d)
I (../USB_DEVICE/App/usb_device.h)(0x664876DC)
I (../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h)(0x64D895D7)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -170,15 +170,15 @@ static const ConfigParam_t param_chassis ={
.path_speed_pid_param=
{
.p = 0.5f,
.i = 0.1f,
.i = 0.0f,
.d = 0.0f,
.i_limit = 100.0f,
.i_limit = 0.0f,
.out_limit =1000.0f,
},
.pid_PosSpeed_xy_param={
.p =27.0f,
.i =0.0f,
.d =2000.0f,
.d =500.0f,
.i_limit =0.0f,
.out_limit =25000.0f,
},

View File

@ -15,6 +15,7 @@ void CMD_Init(CMD_t *cmd){
cmd->C_cmd.mode = STOP;
cmd->cmd_power_on_safe = 0; // 初始为不安全状态
// cmd->C_cmd.pos = POS_1;
}
static void CMD_remote(const CMD_RC_t *rc, CMD_t *cmd) {
@ -223,7 +224,7 @@ else if(rc->LD.knob_left > 1650 && rc->LD.knob_left < 1801){
}
//运球时锁死
if(rc->LD.key_G == CMD_SW_UP){
if(rc->LD.key_G == CMD_SW_UP&&cmd->C_cmd.pos != POS_1){
cmd->C_cmd.dribble = Pause;
}
}

View File

@ -13,7 +13,8 @@
| |
3 ---- 4 ---- 5
1-7: 2 2-32.5-x 3-4:1.25+x 4-5:1.25+x 5-6:2 7-1:2.5m x0.8
: 1-2: 2x 2-32.5-x 3-4:1.25+x 4-5:1.25+x 5-6:2.5-x 6-7:2x 7-1:2.5m
x0.8 1-2: 2-3: 3-4: 4-5: 5-6: 6-7: 7-1:
*/