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
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
虢奥
integrated-scheduling-v3
Commits
7dff71d4
Commit
7dff71d4
authored
May 24, 2022
by
张晓彤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加实时调度, 添加代码注释
parent
88ffe739
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
8 deletions
+8
-8
dispatcher.py
dispatcher.py
+0
-0
group_control.py
group_control/group_control.py
+0
-0
path_plannner.py
path_plan/path_plannner.py
+0
-0
priority_control.py
path_plan/priority_control.py
+1
-1
realtime_dispatch.py
realtime_dispatch.py
+6
-6
static_data_process.py
static_data_process.py
+1
-1
调度系统部署说明3.1.docx
调度系统部署说明3.1.docx
+0
-0
No files found.
dispatcher.py
View file @
7dff71d4
This diff is collapsed.
Click to expand it.
group_control/group_control.py
View file @
7dff71d4
This diff is collapsed.
Click to expand it.
path_plan/path_plannner.py
View file @
7dff71d4
This diff is collapsed.
Click to expand it.
path_plan/priority_control.py
View file @
7dff71d4
...
...
@@ -12,7 +12,7 @@ from equipment.excavator import *
from
para_config
import
*
class
PriorityController
()
:
class
PriorityController
:
def
__init__
(
self
,
dump
,
excavator
,
truck
):
# 设备类
...
...
realtime_dispatch.py
View file @
7dff71d4
...
...
@@ -18,6 +18,11 @@ from dispatcher import Dispatcher, PreSchedule
def
process
(
dispatcher
):
"""
周期调度进程
:param dispatcher: (Dispatch Class) 矿卡调度类对象
:return: None
"""
try
:
# 更新周期参数
...
...
@@ -41,14 +46,9 @@ def process(dispatcher):
# 周期更新
dispatcher
.
dispatcher_period_update
()
# try:
# 调度计算
dispatcher
.
schedule_construct
()
# except Exception as es:
# logger.error("更新不及时")
# logger.error(es)
logger
.
info
(
"#####################################周期更新结束#####################################"
)
...
...
@@ -101,7 +101,7 @@ if __name__ == "__main__":
pre_sch
=
PreSchedule
(
truck
,
excavator
,
dump
)
# 实例化矿卡调度器
dispatcher
=
Dispatcher
(
dump
,
excavator
,
truck
,
pre_sch
)
dispatcher
=
Dispatcher
(
dump
,
excavator
,
truck
,
pre_sch
,
False
)
logger
.
info
(
" "
)
logger
.
info
(
"调度系统启动"
)
...
...
static_data_process.py
View file @
7dff71d4
...
...
@@ -121,7 +121,7 @@ def build_equipment_uuid_name_map():
raise
Exception
(
"无卸载设备可用"
)
except
Exception
as
es
:
logger
.
warning
(
es
)
return
excavator_uuid_to_name_dict
,
dump_uuid_to_name_dict
return
excavator_uuid_to_name_dict
,
dump_uuid_to_name_dict
def
update_deveices_map
(
unload_area_uuid_to_index_dict
,
load_area_uuid_to_index_dict
):
...
...
调度系统部署说明3.1.docx
View file @
7dff71d4
No preview for this file type
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