Skip to content

Commit

Permalink
#53 增加传送落点 雅利洛 - 磐岩镇
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorReid committed Dec 26, 2023
1 parent 79f809a commit efbd6ce
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
6 changes: 3 additions & 3 deletions src/sr/const/map_const.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,9 @@ def unique_id(self):
P02_R08_SP03 = TransportPoint('MDZ', '铆钉镇', P02_R08_L2, 'mm_sp_02', (591, 1032))

# 雅利洛 - 磐岩镇
P02_R09_SP01 = TransportPoint('GDDFD', '歌德大饭店', P02_R09, 'mm_tp_03', (614, 236))
P02_R09_SP02 = TransportPoint('BJQLB', '搏击俱乐部', P02_R09, 'mm_tp_03', (419, 251))
P02_R09_SP03 = TransportPoint('NTSDZS', '娜塔莎的诊所', P02_R09, 'mm_tp_03', (416, 417))
P02_R09_SP01 = TransportPoint('GDDFD', '歌德大饭店', P02_R09, 'mm_tp_03', (614, 236), (632, 236))
P02_R09_SP02 = TransportPoint('BJQLB', '搏击俱乐部', P02_R09, 'mm_tp_03', (419, 251), (409, 238))
P02_R09_SP03 = TransportPoint('NTSDZS', '娜塔莎的诊所', P02_R09, 'mm_tp_03', (416, 417), (418, 434))
P02_R09_SP04 = TransportPoint('PYZCJLS', '磐岩镇超级联赛', P02_R09, 'mm_tp_10', (358, 262))
P02_R09_SP05 = TransportPoint('MDZ', '铆钉镇', P02_R09, 'mm_sp_02', (630, 114))
P02_R09_SP06 = TransportPoint('DKQ', '大矿区', P02_R09, 'mm_sp_02', (453, 595))
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 6 additions & 8 deletions test/src/test/sr/cal_tp_pos.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,14 @@ def cal_one(tp: TransportPoint, debug_image: str = None, show: bool = False):
im = CvImageMatcher(ih)

sp_list = [
map_const.P02_R07_SP01,
map_const.P02_R07_SP02,
map_const.P02_R08_SP01,
map_const.P02_R08_SP02,
map_const.P02_R09_SP01,
map_const.P02_R09_SP02,
map_const.P02_R09_SP03,
]
img_list = [
'_1703515056925',
'_1703515066494',
'_1703515076226',
'_1703515083510',
'_1703598771758',
'_1703598778240',
'_1703598786072',
]
for i in range(len(sp_list)):
cal_one(sp_list[i], debug_image=img_list[i], show=True)

0 comments on commit efbd6ce

Please sign in to comment.