Repository navigation
实现了一个简单的机械臂抓取建模 - #4418
Closed
wangadsa wants to merge 6 commits into
Closed
实现了一个简单的机械臂抓取建模#4418wangadsa wants to merge 6 commits into
wangadsa wants to merge 6 commits into
Conversation
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
donghaiwang
reviewed
Dec 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修改概述:
修改的详细描述
总结
核心解决点:
安装pygame时使用国内源,解决模块缺失问题。
提供纯 OpenCV 备用方案,彻底避开 Pygame 依赖,确保代码能运行。
功能保留:
真实摄像头的红色目标识别、像素坐标映射、机械臂运动和抓取逻辑完全保留。
操作步骤:
按空格键触发抓取,按q 键退出程序,与之前的版本一致。
经过了什么样的测试?
运行效果
动图、视频、截图等
