-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release v2.0 的一些想法 #248
Comments
This comment was marked as outdated.
This comment was marked as outdated.
|
我想到了这点,所以我删了这条() |
timeout直接移除了? |
表示 timeout_next 还是很好用的 |
timeout 的思路有问题,对于用户来说就是看着脚本卡了 20 秒,我觉得这种体验不好。应该更多的增加中间过程以及异常情况识别 |
ProjectInterface目前来看复杂度有限, 感觉没必要作为库, 只需要规定一个spec让需要使用的自己实现就行吧 |
允许 Pipeline 属性字段的默认值全局改变 |
我还是觉得干脆点直接用字符串来作为controller的type比较好( |
没有timeout_next的话,假如任务过程遇到类似于明日方舟闪退或者是明日方舟闪断更新这种情况的话该怎么处理 |
is sub 改成任务异常,并考虑全局异常 |
添加一个全局异常处理机制 |
我用is_sub主要是为了方便复用任务而不是异常处理,删掉之后配置next与catch(?)好像会有点麻烦的样子orz |
pipeline支持图形化节点编程(连连看) |
这个你应该一个具体的开发辅助工具下面提,fw又没有官方编辑器 |
小测了下 Android API Level 的兼容性:
18 & 19
[2024-07-08 09:46:33.633][ERR][Px7237][Tx46592][UnitBase.cpp][L65][std::optional<std::string> MaaNS::CtrlUnitNs::UnitBase::startup_and_read_pipe(const ProcessArgv &, std::chrono::seconds)] child return error [argv.exec=/Users/runner/Library/Android/sdk/platform-tools/adb] [argv.args=["-s","emulator-5554","exec-out","screencap -p"]]
[2024-07-08 09:46:33.633][ERR][Px7237][Tx46592][ControlUnitMgr.cpp][L290][bool MaaNS::CtrlUnitNs::ControlUnitMgr::_screencap(cv::Mat &)] failed to screencap
[2024-07-08 09:46:33.633][ERR][Px7237][Tx46592][GeneralControllerAgent.cpp][L92][virtual std::optional<cv::Mat> MaaNS::ControllerNS::GeneralControllerAgent::_screencap()] controller screencap failed
[2024-07-08 09:46:33.633][ERR][Px7237][Tx46592][ControllerAgent.cpp][L538][bool MaaNS::ControllerNS::ControllerAgent::handle_screencap()] controller screencap failed
[2024-07-08 09:46:33.633][ERR][Px7237][Tx41195][PipelineTask.cpp][L220][std::optional<PipelineTask::HitDetail> MaaNS::TaskNS::PipelineTask::find_first(const std::vector<std::string> &)] Image is empty |
roi_target能加入到2.0中吗 |
|
这个可以支持更多的参数么? |
这个可以考虑单独开个feature request的issue |
我觉得这种需求可以用 custom 解决( |
is_sub
字段,新增中断处理字段。例:next: [A, B, C], interrupt: [D, E]。相当于原先 next: [A, B, C, sub_D, sub_E],interrupt 始终接在 next 最后面。runout_next
等使流程变得混乱的字段尽可能统一 CustomRecognizer 和 CustomActionProjectInterface 解耦,作为单独的库提供 Refactor PI function into shared library #317尝试提供 MaaPiGuion_error
instead oftimeout_next
更多的回调事件?ListBuffer 泛型?肝不完了,剩下的 2.1 再说(
The text was updated successfully, but these errors were encountered: