Skip to content

fix(自动生态农场收菜):部分bug修复/功能调整#1119

Merged
MistEO merged 49 commits intoMaaEnd:mainfrom
jwtggg:AutoEcoFarm1
Mar 8, 2026
Merged

fix(自动生态农场收菜):部分bug修复/功能调整#1119
MistEO merged 49 commits intoMaaEnd:mainfrom
jwtggg:AutoEcoFarm1

Conversation

@jwtggg
Copy link
Contributor

@jwtggg jwtggg commented Mar 8, 2026

1、修复了终点y坐标太大导致无法将视角拉向地面的bug
2、修复了由于最大尝试次数太小,导致在一些特殊情况下没能将目标拉向视野中央而提前结束任务的bug
3、略微增大y轴拉近速度,保证视角尽量水平
4、删掉了多余的素材,这些是旧代码使用但是现在不再用到的
5、增大标记在背后的判定范围,保证第一次尽量将标记拉到正面

Summary by Sourcery

修复 AutoEcoFarm 流水线中的相机控制行为,并清理未使用的资源。

Bug 修复:

  • 解决由于 Y 坐标过大导致无法将相机视角向下拉近地面的問題。
  • 修复由于最大重试次数设置过小,在将目标置于视野中心时任务过早终止的问题。

增强:

  • 略微提高沿 Y 轴放大的速度,以使相机视角保持更接近水平。

杂项:

  • 移除当前代码不再使用的过时 AutoEcoFarm 流水线资源。
Original summary in English

Summary by Sourcery

Fix camera control behavior in the AutoEcoFarm pipeline and clean up unused resources.

Bug Fixes:

  • Resolve an issue where excessively large Y coordinates prevented pulling the camera view down toward the ground.
  • Fix premature task termination caused by a too-small maximum retry count when centering the target in view.

Enhancements:

  • Slightly increase the Y-axis zoom-in speed to keep the camera perspective closer to horizontal.

Chores:

  • Remove obsolete AutoEcoFarm pipeline assets that are no longer used by the current code.

jwtggg added 30 commits March 1, 2026 19:35
fix2:因为win32前台的DXGI_DesktopDup_Window方式有bug,将screencap参数改成PrintWindow
jwtggg and others added 19 commits March 7, 2026 11:25
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

嘿,我已经查看了你的更改,它们看起来非常棒!


Sourcery 对开源项目是免费的——如果你觉得我们的评审有帮助,请考虑分享 ✨
帮我变得更有用!请在每条评论上点 👍 或 👎,我会根据这些反馈改进之后的评审。
Original comment in English

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@jwtggg jwtggg changed the title fix:部分bug修复/功能调整 fix:自动生态农场收菜,部分bug修复/功能调整 Mar 8, 2026
@jwtggg jwtggg changed the title fix:自动生态农场收菜,部分bug修复/功能调整 fix(自动生态农场收菜):部分bug修复/功能调整 Mar 8, 2026
@MistEO MistEO merged commit 2e31a4a into MaaEnd:main Mar 8, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants