示例脚本#
仓库 examples/ 下的四个脚本演示 完整任务链路 ,与教程的差异:
走 algorithm 层细粒度 API(
e2m2e.algorithm.design、e2m2e.algorithm.station_keeping等)并直接使用DesignOrbitRequest等请求模型,不用Facade;直接可跑、产出 PNG 图(共用
_plot_setup.py做跨平台 CJK 字体配置);统一 CLI:
--save存图(无头服务器可用),--log-level控制日志。
运行方式(在仓库根,需先 安装 完成 make dev):
uv run --no-sync python examples/main_design.py --save