feat: add new models, red bucket and drag support with ball handling enhancements#17
Open
l-encre wants to merge 3 commits intochenlongos:3d-frontfrom
Open
feat: add new models, red bucket and drag support with ball handling enhancements#17l-encre wants to merge 3 commits intochenlongos:3d-frontfrom
l-encre wants to merge 3 commits intochenlongos:3d-frontfrom
Conversation
- 添加红色方块(红桶)到场景中,可鼠标拖动 - 修复多对象拖动逻辑,支持同时拖动网球和红桶 - 更新.gitignore忽略IDE配置 - 更新依赖包版本锁定
- 添加“找到小球并拾取示例” - 添加“找到红桶放下小球示例”
- stop pick-up demo after ball is grabbed - add startup warnings for invalid initial hold states - prevent dragging the ball while it is held
Collaborator
|
放下球的时候位置不够精准,可以尝试优化 |
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.
This pull request adds new interactive objects and models to the robot simulation, and significantly enhances the robot's autonomous behaviors to support more complex tasks such as picking up a ball and placing it in a red bucket. The changes improve the drag-and-drop logic, expand the simulation environment, and introduce logic for multi-stage tasks.
Simulation Environment Enhancements:
bucket) as a new draggable object alongside the ball, and updated the environment state to track both (src/App.tsx) [1] [2].src/App.tsx).Drag-and-Drop and Interaction Logic:
src/App.tsx) [1] [2].src/App.tsx).Robot Arm and Task State Management:
hasBall) and updated logic for picking up and dropping the ball to set this state appropriately (src/App.tsx) [1] [2] [3].Autonomous Behavior and Model Inference:
src/App.tsx) [1] [2].src/App.tsx) [1] [2].Code Quality and Behavior Smoothing:
src/App.tsx) [1] [2].These changes collectively enable more complex, multi-step autonomous tasks in the simulation, while improving user interaction and code clarity.