2021.4 - 2021.6 建模与仿真
使用python实现
Author: GitHub@laorange
开源授权协议: AGPL-3.0 License
- 
打开命令行
cmd或Anaconda Prompt - 
cd转到程序所在的文件夹下 - 
安装所需第三方库
pip install pandas pip install plotly
 - 
输入
python main.py --help可查看所有可选参数的说明 - 
示例:
 
备注:默认是沿对角线方向移动(2d为8向, 3d为26向);如果是传入
--straight参数则使用直线模式:2d为前后左右4个方向(3d为前后左右上下6个方向)
文件较大,网页加载可能会比较慢
| 示例列表 | 
|---|
| 2D 对角线模式 | 
| 2D 直线模式 | 
| 3D 对角线模式 | 
| 3D 直线模式 | 
# 以下情况为障碍物
if x - y == 15 and z < 15:
    OBSTACLE = True
if x - y == 15 and 15 <= z <= 20 and x <= 25:
    OBSTACLE = True
if x == 25 and z > 5 and y >= 10:
    OBSTACLE = True
if z == 20 and y < 25 and x <= 25:
    OBSTACLE = True
if z == 10 and y > 10 and x >= 20:
    OBSTACLE = True
if y == 25 and x < 20 and z <= 20:
    OBSTACLE = True
if y == 25 and 5 <= x <= 15 and z >= 20:
    OBSTACLE = True
if y == 10 and 15 <= x <= 25 and z >= 20:
    OBSTACLE = True
if x == 15 and 10 <= y < 25 and z > 5:
    OBSTACLE = True
if x == 15 and 5 <= y < 10 and z > 20:
    OBSTACLE = True
if x + y == 15 and z < 15:
    OBSTACLE = True原文件请在 results/v1静态结果示例.zip 中查看
原文件请在 results/v1静态结果示例.zip 中查看





