anhtuduong / UR5LegoVision

Vision-Based Lego Detection, Localization, and Assembly Using UR5 Robot Arm
MIT License
19 stars 1 forks source link

Finite State Machine #6

Open anhtuduong opened 1 year ago

anhtuduong commented 1 year ago

https://github.com/pytransitions/transitions

A possible FSM could include the following states and transitions:

Initial state: This is the starting state of the FSM. It could transition to the following states:

Object localization state: This state is triggered when the robot has detected a LEGO block and needs to locate it in 3D space using stereo vision and template matching. It could transition to the following states:

Gripping state: This state is triggered when the robot has successfully located the LEGO block and is ready to pick it up with the robotic arm. It could transition to the following states:

Placing state: This state is triggered when the robot has successfully moved the LEGO block to the designated location and needs to release it. It transitions to the initial state.

anhtuduong commented 1 year ago

Initialization State:

Camera Perception State:

Object Selection State:

Pick-and-Place State:

Update State:

Check Completion State:

Termination State: