r/ArduinoProjects • u/Reasonable_Teach4344 • 10h ago
Showcased Project From pointing to pick-and-place: Arduino Braccio, ROS 2 and visual blocks
Point at a marker, and the robot selects a pick or drop routine.
I teach AI and IoT to students from different courses, with different backgrounds and levels of programming experience. I needed a way to teach AI, IoT, ROS 2 and programming logic while keeping practical activities accessible to students still learning to code. That need helped shape SHAPE, the visual programming environment I help develop.
This example connects an Arduino TinkerKit Braccio to a camera-based pointing system through ROS 2: point at a marker, and the robot selects a pick or drop routine.
How it works:
- A computer processes the camera images using OpenCV and MediaPipe.
- ArUco detection identifies numbered markers, while MediaPipe tracks the hand.
- A ROS 2 node publishes the marker being pointed at.
- SHAPE receives the marker ID and uses visual conditions and a `holding` variable to select a pick or drop routine.
- The Braccio ROS 2 interface sends movement commands to the arm over Bluetooth.
The vision processing runs on the computer, not on Arduino. The markers select predefined routines; the arm does not continuously follow the finger.
The teaching goal is to make the decision logic visible: students can change conditions and follow how an incoming message becomes a robot action.
**Guide and visual workflow:**
https://thetactigon.com/docs/ros-2-camera-tracking-robotic-arm/
**SHAPE repository and installation instructions:**
https://github.com/TactigonTeam/Tactigon-Shape
For this kind of interaction, would you prefer holding your finger over a marker briefly or using a separate confirmation gesture?
