移动机器人(小车)的物理坐标和逻辑坐标的转换源码
源代码在线查看: rd_useserialframe_proc.o
XL
H 1 areas E global symbols
M RD_UseSerialFrame_PROC.c
S push_xgsetF00C Ref0000
S push_xgsetF03C Ref0000
S push_xgsetF0FC Ref0000
S xicall Ref0000
S _MsgMapProcess Ref0000
S push_arg4 Ref0000
S pop_xgsetF00C Ref0000
S pop_xgsetF03C Ref0000
S pop_xgsetF0FC Ref0000
A text size 354 flags 0
dbfile E:\单片机\ROOBCO~1\全向定位系统\坐标转换模块\相对定位模块应用版\Relative_Locate_Module\RD_UseSerialFrame_PROC.c
dbstruct 18 AbstructDataTypeQueue
dbfield 0 pBuffer pc
dbfield 2 nSize i
dbfield 4 nHead i
dbfield 6 nTail i
dbfield 8 nCount i
dbfield 10 fnAddToBuffer pfc
dbfield 12 fnGetFromBuffer pfc
dbfield 14 fnCheckEmpty pfc
dbfield 16 fnPeekFromBuffer pfc
dbend
dbstruct 3 MsgMapItem
dbfield 0 cCMD c
dbfield 1 pMsgFunc pfc
dbend
dbstruct 3 MsgMap
dbfield 0 cItemCount c
dbfield 1 pMsgItems pS[MsgMapItem]
dbend
dbstruct 4 MsgItem
dbfield 0 cCMD c
dbfield 1 cDataLength c
dbfield 2 pData pc
dbend
dbstruct 37 SerialFrameProcess
dbfield 0 FrameBuffer S[AbstructDataTypeQueue]
dbfield 18 pMsgMap pS[MsgMap]
dbfield 20 MsgItem S[MsgItem]
dbfield 24 cHeadByte c
dbfield 25 cEndByte c
dbfield 26 cFixLength c
dbfield 27 cAddress c
dbfield 28 InputDataFunc pfc
dbfield 30 OutputDataFunc pfc
dbfield 32 PeekDataFunc pfc
dbfield 34 cActionFlag c
dbfield 35 cXORCheck c
dbfield 36 cFrameSize c
dbend
dbfunc e SFP_NULL_Output_Data_Function 0 fc
dbsym r p A pc
dbsym l cData 2 c
dbline FFFFFFFF 8
dbline 68 8
dbline 69 8
dbline 6B E
dbline FFFFFFFE 10
dbline 0 10
dbfunc e SFP_NULL_Input_Data_Function 18 fc
dbsym r pData 10 pc
dbline FFFFFFFF 18
dbline 75 18
dbline 76 18
dbline 78 1E
dbline FFFFFFFE 20
dbline 0 20
dbfunc e SFP_NULL_Peek_Data_Function 22 fc
dbsym r pData 10 pc
dbline FFFFFFFF 22
dbline 82 22
dbline 83 22
dbline 85 28
dbline FFFFFFFE 2A
dbline 0 2A
dbfunc e Serial_Frame_Process 2C fV
dbsym l cTempData 4 c
dbsym r pQueue 16 pS[AbstructDataTypeQueue]
dbsym l cTempActionFlag 3 c
dbsym r pSFP 14 pS[SerialFrameProcess]
dbline FFFFFFFF 32
dbline 90 32
dbline 92 32
dbline 93 38
dbline 94 3C
dbline 97 3E
dbline 98 50
dbline 99 50
dbline 9C 52
dbline 9D 58
dbline 9E 58
dbline 9F 5E
dbline A0 60
dbline A1 66
dbline A3 66
dbline A4 70
dbline A5 70
dbline A6 7C
dbline A7 7C
dbline AA 8E
dbline AB 96
dbline AD 96
dbline AE 9C
dbline B0 9E
dbline B2 9E
dbline B3 A4
dbline B4 AA
dbline B6 AA
dbline B7 B0
dbline B9 B6
dbline BB B6
dbline BE B8
dbline BF C4
dbline C1 C4
dbline C2 D4
dbline C5 D4
dbline C5 D4
dbline C5 DC
dbline C5 E0
dbline C5 E4
dbline C7 E4
dbline C8 E6
dbline CA E8
dbline CC E8
dbline CD EE
dbline CF FA
dbline D2 10E
dbline D3 114
dbline D4 118
dbline D6 118
dbline D7 11E
dbline DA 120
dbline DB 12E
dbline DC 12E
dbline DD 140
dbline DE 140
dbline DF 14E
dbline E1 162
dbline E3 162
dbline E4 176
dbline E5 176
dbline E6 180
dbline E9 180
dbline E9 180
dbline E9 18A
dbline E9 18E
dbline E9 192
dbline EB 192
dbline ED 194
dbline EE 198
dbline EF 19C
dbline F0 1AC
dbline F7 1AE
dbline F8 1C0
dbline FA 1C0
dbline FB 1CA
dbline FD 1CA
dbline FE 1CE
dbline 100 1CE
dbline 100 1CE
dbline 100 1D8
dbline 100 1DC
dbline 100 1E0
dbline 102 1E0
dbline 103 1E2
dbline 105 1E6
dbline 10A 1E6
dbline FFFFFFFE 1E6
dbline 0 1E6
dbfunc s SFP_Check_Frames 1EA fV
dbsym l cTempData 4 c
dbsym r pMsgItem 16 pS[MsgItem]
dbsym r pQueue A pS[AbstructDataTypeQueue]
dbsym l n 3 c
dbsym r pSFP 14 pS[SerialFrameProcess]
dbline FFFFFFFF 1F0
dbline 116 1F0
dbline 117 1F0
dbline 118 1F4
dbline 119 1F6
dbline 11A 1FC
dbline 11D 1FE
dbline 120 214
dbline 121 21C
dbline 122 21C
dbline 124 22C
dbline 125 23A
dbline 127 23C
dbline 128 23C
dbline 129 246
dbline 12C 246
dbline 12E 25A
dbline 12F 260
dbline 131 260
dbline 132 280
dbline 12E 280
dbline 12E 286
dbline 134 290
dbline 135 2A0
dbline 138 2A0
dbline 139 2A4
dbline 13A 2B6
dbline FFFFFFFE 2B6
dbline 0 2B6
dbfunc e SPF_Send_MSG 2BA fc
dbsym r Reg2 14 pV
dbsym r Reg8 16 pV
dbsym r n1 C c
dbsym r cXORCheck0 A c
dbsym r Length E c
dbsym l pMSG E pc
dbsym r cCMD C c
dbsym l pSFP A pS[SerialFrameProcess]
dbline FFFFFFFF 2C2
dbline 145 2C2
dbline 146 2C2
dbline 147 2C2
dbline 149 2C4
dbline 14B 2DA
dbline 14C 2E4
dbline 14D 2E4
dbline 14E 2F2
dbline 14F 2F8
dbline 151 2F8
dbline 152 304
dbline 154 306
dbline 155 30A
dbline 156 30A
dbline 157 324
dbline 158 32A
dbline 154 32A
dbline 154 32C
dbline 15A 330
dbline 15B 33C
dbline 15D 34C
dbline FFFFFFFE 34E
dbline 0 34E
S _SFP_NULL_Peek_Data_Function Def0022
S _Serial_Frame_Process Def002C
S _SFP_NULL_Output_Data_Function Def0000
S _SPF_Send_MSG Def02BA
S _SFP_NULL_Input_Data_Function Def0018
T 00 00 1A 93 0A 93 AA 92 BA 92 CE 01 02 96 5C 01
R 00 00 00 00
T 0E 00 00 27 B9 90 A9 90 22 96 08 95
R 00 00 00 00
T 18 00 22 24 F8 01 20 82 00 27 08 95
R 00 00 00 00
T 22 00 22 24 F8 01 20 82 00 27 08 95
R 00 00 00 00
T 2C 00 00 D0 A8 01 25 97 FA 01 22 A0 2B 82 22 24
R 00 00 00 00 82 02 00 00
T 3A 00 2C 82 BF 01 8E 01 0C 5F 1F 4F A4 8D B5 8D
R 00 00 00 00
T 48 00 FD 01 00 D0 00 23 09 F4 CA C0 2B 80 22 20
R 00 00 00 00 82 04 03 00
T 56 00 39 F4 22 24 FA 01 23 A2 24 A2 8B 81 81 60
R 00 00 00 00
T 64 00 8B 83 FE 01 83 81 81 70 09 F4 24 C0 FA 01
R 00 00 00 00
T 72 00 20 8C 3C 80 32 14 09 F0 B5 C0 23 2D 8B 01
R 00 00 00 00
T 80 00 CB 01 0A 96 FC 01 A0 81 B1 81 FD 01 00 D0
R 00 00 00 00 82 0E 03 00
T 8E 00 FA 01 22 8C 22 20 21 F4 8B 81 82 60 8B 83
R 00 00 00 00
T 9C 00 06 C0 8B 81 84 60 8B 83 FA 01 22 8C 24 A2
R 00 00 00 00
T AA 00 8B 81 8E 7F 8B 83 28 2E FA 01 22 A2 97 C0
R 00 00 00 00
T B8 00 FE 01 83 81 86 95 81 70 09 F4 2E C0 FB 01
R 00 00 00 00
T C6 00 22 80 33 80 4C 80 55 24 24 14 35 04 50 F4
R 00 00 00 00
T D4 00 22 24 33 24 35 82 24 82 37 82 26 82 31 86
R 00 00 00 00
T E2 00 20 86 2B 82 18 C0 2C 80 FA 01 24 A2 CF 01
R 00 00 00 00
T F0 00 83 96 FC 01 30 80 32 24 30 82 22 2D 8B 01
R 00 00 00 00
T FE 00 CB 01 0A 96 5C 01 FC 01 A0 81 B1 81 FD 01
R 00 00 00 00
T 0C 01 00 D0 8B 81 84 60 8B 83 8D 7F 8B 83 2B 80
R 00 00 00 00 82 02 03 00
T 1A 01 FA 01 22 A2 63 C0 FE 01 83 81 86 95 86 95
R 00 00 00 00
T 28 01 81 70 09 F4 5C C0 FA 01 24 A0 33 24 FB 01
R 00 00 00 00
T 36 01 40 84 51 84 42 14 53 04 88 F4 CA 01 83 96
R 00 00 00 00
T 44 01 2C 80 FC 01 30 80 32 24 30 82 22 2D 8B 01
R 00 00 00 00
T 52 01 CB 01 0A 96 5C 01 FC 01 A0 81 B1 81 FD 01
R 00 00 00 00
T 60 01 00 D0 FA 01 84 A1 81 50 99 27 FB 01 20 84
R 00 00 00 00 82 02 03 00
T 6E 01 31 84 28 16 39 06 E1 F4 FA 01 23 A0 22 20
R 00 00 00 00
T 7C 01 09 F4 33 C0 22 24 33 24 FB 01 35 82 24 82
R 00 00 00 00
T 8A 01 37 82 26 82 31 86 20 86 2B 82 FA 01 22 A2
R 00 00 00 00
T 98 01 81 E0 8C 83 8A 83 CE 01 04 96 99 83 88 83
R 00 00 00 00
T A6 01 2D EE 8F 01 87 D0 1C C0 FA 01 24 A0 33 24
R 00 00 00 00
T B4 01 FB 01 40 84 51 84 42 14 53 04 99 F4 FA 01
R 00 00 00 00
T C2 01 21 8C 3C 80 32 14 11 F4 8F 01 0E D0 22 24
R 00 00 00 00
T D0 01 33 24 FB 01 35 82 24 82 37 82 26 82 31 86
R 00 00 00 00
T DE 01 20 86 2B 82 FA 01 22 A2 25 96 00 C0
R 00 00 00 00 82 0C 06 00
T EA 01 00 D0 A8 01 25 97 22 24 2B 82 2C 82 BA 01
R 00 00 00 00 82 02 01 00
T F8 01 6C 5E 7F 4F 5A 01 9E 01 2D 5F 3F 4F 85 01
R 00 00 00 00
T 06 02 C5 01 0C 96 FC 01 A0 81 B1 81 FD 01 00 D0
R 00 00 00 00 82 0E 03 00
T 14 02 FA 01 22 8C 22 20 81 F4 9B 01 2F 5F 3F 4F
R 00 00 00 00
T 22 02 8F 01 A4 85 B5 85 FD 01 00 D0 CB 01 01 96
R 00 00 00 00 82 0A 03 00
T 30 02 6C 01 FC 01 80 81 85 50 80 83 05 C0 FA 01
R 00 00 00 00
T 3E 02 82 8D 84 50 FB 01 81 83 9B 01 85 01 C5 01
R 00 00 00 00
T 4C 02 0C 96 6C 01 FC 01 A0 81 B1 81 FD 01 00 D0
R 00 00 00 00 82 0E 03 00
T 5A 02 22 24 2B 82 13 C0 FB 01 22 80 33 80 2B 81
R 00 00 00 00
T 68 02 33 27 22 0D 33 1D 85 01 C5 01 0C 96 6C 01
R 00 00 00 00
T 76 02 FC 01 A0 81 B1 81 FD 01 00 D0 8B 81 8F 5F
R 00 00 00 00 82 0A 03 00
T 84 02 8B 83 FB 01 21 80 3B 80 32 14 40 F3 9F 01
R 00 00 00 00
T 92 02 FA 01 02 89 13 89 00 D0 A0 2E 00 23 59 F4
R 00 00 00 00 82 08 04 00
T A0 02 22 24 2C 82 81 E0 8A 83 CE 01 04 96 99 83
R 00 00 00 00
T AE 02 88 83 2D EE 8A 01 02 D0 25 96 00 C0
R 00 00 00 00 82 0C 07 00
T BA 02 00 D0 00 D0 C2 2E E8 88 AA 24 EA 85 FB 85
R 00 00 00 00 82 02 05 00 82 04 02 00
T C8 02 00 8D AF 01 42 5E 5F 4F FA 01 A0 81 B1 81
R 00 00 00 00
T D6 02 FD 01 00 D0 EA 85 FB 85 22 8C 22 20 51 F4
R 00 00 00 00 82 04 03 00
T E4 02 0E 2D 0B 5F FA 01 A0 81 B1 81 FD 01 00 D0
R 00 00 00 00 82 0E 03 00
T F2 02 8E 2D 8B 5F A8 26 0C 2D FA 01 A0 81 B1 81
R 00 00 00 00
T 00 03 FD 01 00 D0 AC 24 CC 24 11 C0 6C 2D 77 27
R 00 00 00 00 82 04 03 00
T 0E 03 0E 84 1F 84 60 0D 71 1D FB 01 00 81 FA 01
R 00 00 00 00
T 1C 03 A0 81 B1 81 FD 01 00 D0 FB 01 20 80 A2 24
R 00 00 00 00 82 08 03 00
T 2A 03 C3 94 CE 14 68 F3 0A 2D FA 01 A0 81 B1 81
R 00 00 00 00
T 38 03 FD 01 00 D0 EA 85 FB 85 01 8D FA 01 A0 81
R 00 00 00 00 82 04 03 00
T 46 03 B1 81 FD 01 00 D0 01 E0 00 D0 24 96 08 95
R 00 00 00 00 82 06 03 00 82 0A 08 00