---
# System prepended metadata

title: Robot Behaviors

---

# Robot Behaviors

## Sequential

1. Robot turns on
2. Robot detects atleast 1 apriltag
START LOOP
4. Robot navigates to excavation area
    - CALLBACK (start pose, end_pose): 
        - current_position to `excavation_area`
    - RETURNS (SUCCESS/FAIL/ELSE)
5. If SUCCESS, run excavation
    - CALLBACK (SUCCESS/FAIL/ELSE)
6. If SUCCESS, navigate to bin
    - CALLBACK (start pose, end_pose): 
        - current_position to `sieve_bin`
7. If SUCCESS, run deposition
    - CALLBACK (SUCCESS/FAIL/ELSE)
END LOOP