修改扫描范围

This commit is contained in:
RB 2025-03-17 13:09:57 +08:00
parent aa5e191f30
commit 3a509aaf87
9 changed files with 273 additions and 233 deletions

File diff suppressed because one or more lines are too long

View File

@ -417,7 +417,20 @@
<WinNumber>1</WinNumber>
<ItemText>host</ItemText>
</Ww>
<Ww>
<count>12</count>
<WinNumber>1</WinNumber>
<ItemText>gimbal_ai</ItemText>
</Ww>
</WatchWindow1>
<MemoryWindow4>
<Mm>
<WinNumber>4</WinNumber>
<SubType>0</SubType>
<ItemText>for_chassis</ItemText>
<AccSizeX>0</AccSizeX>
</Mm>
</MemoryWindow4>
<Tracepoint>
<THDelay>0</THDelay>
</Tracepoint>

Binary file not shown.

View File

@ -22,7 +22,7 @@ Dialog DLL: TCM.DLL V1.48.0.0
<h2>Project:</h2>
C:\Users\lvzucheng\Documents\RMUL2025\MDK-ARM\DevC.uvprojx
Project File Date: 03/16/2025
Project File Date: 03/17/2025
<h2>Output:</h2>
*** Using Compiler 'V6.16', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'
@ -37,7 +37,7 @@ Note: source file '..\User\task\ai.c' - object file renamed from 'DevC\ai.o' to
Note: source file '..\User\task\can.c' - object file renamed from 'DevC\can.o' to 'DevC\can_3.o'.
Note: source file '..\User\task\cap.c' - object file renamed from 'DevC\cap.o' to 'DevC\cap_1.o'.
Note: source file '..\User\task\referee.c' - object file renamed from 'DevC\referee.o' to 'DevC\referee_1.o'.
compiling config.c...
compiling ai.c...
linking...
Program Size: Code=149584 RO-data=6928 RW-data=1104 ZI-data=43832
FromELF: creating hex file...

View File

@ -603,8 +603,8 @@
:10259000039910EE100AC1F81F00FFE7FFE7039848
:1025A000D0F81F00029908600398D0F82300029920
:1025B000486004B080BD00BF33333333333303404E
:1025C0009A99999999990140666666666666F63F9A
:1025D000333333333333FB3FCDCCCCCCCCCC164070
:1025C0009A99999999990140000000000000F83FFC
:1025D000CDCCCCCCCCCC00409A9999999999154006
:1025E000000000000000184080B582B0009002207A
:1025F00001F024F842F65851C2F200011B220FF0FC
:10260000CBFF20B9FFE700208DF8070003E0FF2093

View File

@ -3,7 +3,7 @@
<title>Static Call Graph - [DevC\DevC.axf]</title></head>
<body><HR>
<H1>Static Call Graph for image DevC\DevC.axf</H1><HR>
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 6160001: Last Updated: Sun Mar 16 23:22:39 2025
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 6160001: Last Updated: Mon Mar 17 13:03:58 2025
<BR><P>
<H3>Maximum Stack Usage = 632 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
Call chain for Maximum Stack Depth:</H3>

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -105,9 +105,9 @@ void AI_SearchArmor(AI_t *ai, CMD_Host_t *cmd_host , AHRS_Eulr_t *gimbal_ai){
ai->search_velocity.pit = -fAbs(ai->search_velocity.pit);
}
if (gimbal_ai->yaw > 1.4 && gimbal_ai->yaw < 1.7) {
if (gimbal_ai->yaw > 1.5 && gimbal_ai->yaw < 2.1) {
ai->search_velocity.yaw = -fAbs(ai->search_velocity.yaw);
} else if (gimbal_ai->yaw > 5.7 && gimbal_ai->yaw < 6.0) {
} else if (gimbal_ai->yaw > 5.4 && gimbal_ai->yaw < 6.0) {
ai->search_velocity.yaw = fAbs(ai->search_velocity.yaw);
}