Skip to content

Stacking Demo ​

This tutorial demonstrates how to use the Agilebot robot for object stacking tasks.

Object Stacking Demo

Overview ​

The stacking demo shows how the robot stacks multiple objects into a specified structure. This demo combines motion planning, grasping control, and precise placement capabilities.

Prerequisites ​

Running the Demo ​

Using Project Demo Script ​

bash
cd agilebot_isaac_sim
python agilebot_integration/demos/stacking.py

Demo Description ​

Stacking Process ​

  1. Identify Objects: Identify the objects to be stacked
  2. Grasp First Object: Grasp the first object
  3. Place at Base Position: Place the first object at the base position
  4. Grasp Next Object: Grasp the next object
  5. Place at Stacking Position: Place the object at the current stacking height
  6. Repeat: Repeat steps 4-5 until all objects are stacked

Stacking Strategies ​

StrategyDescriptionUse Case
Vertical StackingStack objects verticallySimple stacking tasks
Pyramid StackingStack objects in a pyramid shapeComplex stacking tasks
Custom StackingStack according to custom patternSpecific application scenarios

Configuration Parameters ​

Stacking Parameters ​

ParameterDescriptionDefault Value
stacking_toleranceStacking position tolerance0.01 m
stacking_heightHeight per stacking layer0.05 m
approach_heightApproach height0.1 m

Customizing Stacking ​

Modify Stacking Pattern ​

Modify Number of Objects ​

Modify Stacking Position ​

Common Issues ​

Q: Objects collapse during stacking ​

A: Check if stacking positions are precisely aligned. Reduce the stacking_tolerance parameter value to improve precision.

Q: Robot cannot grasp objects ​

A: Ensure object positions are within the robot's workspace. Check if the gripper is properly aligned with the objects.

Q: Stacking height is incorrect ​

A: Check if the stacking_height parameter is correctly set. Ensure object dimensions match the parameter.

Next Steps ​