Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Thick-Common
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘栩锋
Thick-Common
Commits
7ffdfda5
Commit
7ffdfda5
authored
Aug 14, 2022
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 边界查找,AD曲线,的默认参数
修改 前进后退为 撞限位为止
parent
0e716f3e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
12 deletions
+21
-12
BorderSearch.cs
Project.FLY.Thick.Base/FLY.Thick.Base/Server/BorderSearch.cs
+1
-1
CurveCollection.cs
...t.FLY.Thick.Base/FLY.Thick.Base/Server/CurveCollection.cs
+16
-9
GM_Backward.cs
Project.FLY.Thick.Base/FLY.Thick.Base/Server/GM_Backward.cs
+2
-1
GM_Forward.cs
Project.FLY.Thick.Base/FLY.Thick.Base/Server/GM_Forward.cs
+2
-1
No files found.
Project.FLY.Thick.Base/FLY.Thick.Base/Server/BorderSearch.cs
View file @
7ffdfda5
...
...
@@ -257,7 +257,7 @@ namespace FLY.Thick.Base.Server
}
void
Default
()
{
Enable
=
fals
e
;
Enable
=
tru
e
;
Valid
=
new
RangeStruct
(
1200
,
7400
);
TempAD
=
-
1
;
N
=
20
;
...
...
Project.FLY.Thick.Base/FLY.Thick.Base/Server/CurveCollection.cs
View file @
7ffdfda5
...
...
@@ -71,15 +71,22 @@ namespace FLY.Thick.Base.Server
CorrectWay
=
CurveCorrectWay
.
OnePointIsScale
;
Flag
=
CurveType
.
E
;
Curves
=
new
CurveCell
[]
{
new
CurveCell
()
{
AD
=
57564
,
Value
=
0
},
new
CurveCell
()
{
AD
=
30850
,
Value
=
88
},
new
CurveCell
()
{
AD
=
19000
,
Value
=
176
},
new
CurveCell
()
{
AD
=
12528
,
Value
=
264
},
new
CurveCell
()
{
AD
=
8409
,
Value
=
352
},
new
CurveCell
()
{
AD
=
5650
,
Value
=
440
},
new
CurveCell
()
{
AD
=
3779
,
Value
=
528
},
new
CurveCell
()
{
AD
=
2513
,
Value
=
616
},
new
CurveCell
()
{
AD
=
1660
,
Value
=
704
}
new
CurveCell
()
{
Value
=
0
,
AD
=
50300
},
new
CurveCell
()
{
Value
=
19
,
AD
=
46505
},
new
CurveCell
()
{
Value
=
38
,
AD
=
42999
},
new
CurveCell
()
{
Value
=
58
,
AD
=
39698
},
new
CurveCell
()
{
Value
=
78
,
AD
=
36646
},
new
CurveCell
()
{
Value
=
98
,
AD
=
33894
},
new
CurveCell
()
{
Value
=
118
,
AD
=
31229
},
new
CurveCell
()
{
Value
=
137
,
AD
=
28934
},
new
CurveCell
()
{
Value
=
156
,
AD
=
26818
},
new
CurveCell
()
{
Value
=
175
,
AD
=
24908
},
new
CurveCell
()
{
Value
=
194
,
AD
=
23220
},
new
CurveCell
()
{
Value
=
213
,
AD
=
21558
},
new
CurveCell
()
{
Value
=
232
,
AD
=
20057
},
new
CurveCell
()
{
Value
=
251
,
AD
=
18606
},
new
CurveCell
()
{
Value
=
271
,
AD
=
17283
},
new
CurveCell
()
{
Value
=
290
,
AD
=
16035
}
};
}
public
void
Apply
(
CurveCorrectWay
correctWay
,
CurveType
flag
,
CurveCell2
[]
curves
)
...
...
Project.FLY.Thick.Base/FLY.Thick.Base/Server/GM_Backward.cs
View file @
7ffdfda5
...
...
@@ -25,7 +25,8 @@ namespace FLY.Thick.Base.Server
base
.
Start
();
if
(!
IsRunning
)
return
;
mFlyAD
.
SetVelocity
(
Velocity
);
mFlyAD
.
RuntoMin
();
//mFlyAD.RuntoMin();
mFlyAD
.
Backward
();
}
}
}
Project.FLY.Thick.Base/FLY.Thick.Base/Server/GM_Forward.cs
View file @
7ffdfda5
...
...
@@ -24,7 +24,8 @@ namespace FLY.Thick.Base.Server
base
.
Start
();
if
(!
IsRunning
)
return
;
mFlyAD
.
SetVelocity
(
Velocity
);
mFlyAD
.
RuntoMax
();
//mFlyAD.RuntoMax();
mFlyAD
.
Forward
();
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment