Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
integrated-scheduling-v3
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
1
Merge Requests
1
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
张晓彤
integrated-scheduling-v3
Commits
cd3346f6
Commit
cd3346f6
authored
Jan 07, 2026
by
Allvey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复新版地图二次调度异常
parent
bd837d18
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
topo_graph.py
graph/topo_graph.py
+16
-0
versiontag.py
versiontag.py
+2
-2
No files found.
graph/topo_graph.py
View file @
cd3346f6
...
...
@@ -140,6 +140,8 @@ class Topo():
# item = [[load_area_id, unload_area_id], to_unload_lanes, to_load_lanes]
# path_node_for_trip= []
try
:
# unload_G
Exitnode_for_digging
=
str
(
session_postgre
.
query
(
DiggingWorkArea
)
.
filter_by
(
FeatureId
=
item
[
0
][
0
],
MapVersion
=
map_version
)
.
first
()
.
ExitNodeId
)
...
...
@@ -163,6 +165,12 @@ class Topo():
self
.
unload_G_all_nodes
.
append
(
Entrancenode_for_dump
)
self
.
unload_G_dump_nodes
.
append
(
Entrancenode_for_dump
)
except
Exception
as
es
:
self
.
logger
.
error
(
es
)
self
.
logger
.
error
(
"读取卸载区入场点出错"
)
session_mysql
.
rollback
()
session_postgre
.
rollback
()
try
:
unload_saved_lane
=
[]
for
lane_id
in
item
[
1
]:
# for each lane in a to_unload route
...
...
@@ -215,6 +223,8 @@ class Topo():
# path_node_for_trip.append(Exitnode_for_digging) # add node for trip
# if lane_endpoint in self.unload_G_dump_nodes:
try
:
# load_G
Entrancenode_for_digging
=
str
(
session_postgre
.
query
(
DiggingWorkArea
)
.
filter_by
(
FeatureId
=
item
[
0
][
0
],
MapVersion
=
map_version
)
.
first
()
.
EntranceNodeId
)
...
...
@@ -237,6 +247,12 @@ class Topo():
self
.
load_G
.
add_node
(
Exitnode_for_dump
,
name
=
'group_dumps'
,
type
=
dump_name
)
self
.
load_G
.
add_node
(
Entrancenode_for_digging
,
name
=
'digging'
,
type
=
digging_name
)
except
Exception
as
es
:
self
.
logger
.
error
(
es
)
self
.
logger
.
error
(
"读取装载区入场点出错"
)
session_mysql
.
rollback
()
session_postgre
.
rollback
()
try
:
load_saved_lane
=
[]
...
...
versiontag.py
View file @
cd3346f6
...
...
@@ -6,4 +6,4 @@
# @File : versiontag.py.py
# @Software: PyCharm
VERSION_TAG
=
'81'
\ No newline at end of file
VERSION_TAG
=
'82'
\ No newline at end of file
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