# iocroblab/madar_manipulation_using_visual_guidance_data architecture

> Architecture diagram of the GitHub repository iocroblab/madar_manipulation_using_visual_guidance_data, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/iocroblab/madar_manipulation_using_visual_guidance_data
- Repository: https://github.com/iocroblab/madar_manipulation_using_visual_guidance_data

## Overview

The repository presents a visual-guidance manipulation project, documenting a ROS 2 robot-arm framework and listing MADAR synchronization/coordination and an OAK-D head as other project areas. The documented arm workflow runs from a command interface through its controller and control loop to robot actuation, with kinematics supporting motion computation. The tree contains only the README and two safety-path CSVs; no implementation excerpts are available. Accordingly, undocumented subsystem links and the CSVs’ consumers are not inferred.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_arm["Robot arm control"]
  node_trajectory["Trajectory interface"]
  node_online_joint["Online joint control"]
  node_online_tcp["Online TCP control"]
  node_velocity_bypass["Velocity bypass"]
  node_pid["PID controller"]
  node_jacobian["Jacobian controller"]
  node_bypass_controller["Bypass controller"]
  node_control_loop["Control loop"]
  node_robot_arm["RobotArm manager"]
  node_kinematics["Arm kinematics"]
end

subgraph group_coordination["MADAR coordination"]
  node_madar["Synchronization framework"]
end

subgraph group_vision["Vision and test data"]
  node_oakd["OAK-D head"]
  node_arm_path["Right-arm test path<br/>[arm_right_xyz.csv]"]
  node_circle_path["Dual-arm circle path"]
end

node_operator(("Command source"))
node_ros_hardware["ROS hardware controllers"]

node_operator -->|"sends goals"| node_trajectory
node_operator -->|"sends commands"| node_online_joint
node_operator -->|"sends poses"| node_online_tcp
node_operator -->|"sends velocities"| node_velocity_bypass
node_trajectory -->|"uses"| node_pid
node_online_joint -->|"uses"| node_pid
node_online_tcp -->|"uses"| node_jacobian
node_velocity_bypass -->|"uses"| node_bypass_controller
node_control_loop -->|"invokes"| node_pid
node_control_loop -->|"invokes"| node_jacobian
node_control_loop -->|"invokes"| node_bypass_controller
node_robot_arm -->|"runs"| node_control_loop
node_robot_arm -->|"inherits"| node_kinematics
node_control_loop -->|"publishes commands"| node_ros_hardware

click node_arm_path "https://github.com/iocroblab/madar_manipulation_using_visual_guidance_data/blob/main/testing_inputs/arm_right_xyz.csv"
click node_circle_path "https://github.com/iocroblab/madar_manipulation_using_visual_guidance_data/blob/main/testing_inputs/dual_arm_circle_y-plane.csv"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_trajectory,node_online_joint,node_online_tcp,node_velocity_bypass,node_pid,node_jacobian,node_bypass_controller,node_control_loop,node_robot_arm,node_kinematics toneBlue
class node_madar toneAmber
class node_oakd,node_arm_path,node_circle_path toneMint
class node_operator,node_ros_hardware toneIndigo
```

## Components

### Robot arm control

- **Trajectory interface**
- **Online joint control**
- **Online TCP control**
- **Velocity bypass**
- **PID controller**
- **Jacobian controller**
- **Bypass controller**
- **Control loop**
- **RobotArm manager**
- **Arm kinematics**

### MADAR coordination

- **Synchronization framework**

### Vision and test data

- **OAK-D head**
- [Right-arm test path](https://github.com/iocroblab/madar_manipulation_using_visual_guidance_data/blob/main/testing_inputs/arm_right_xyz.csv): `testing_inputs/arm_right_xyz.csv`
- [Dual-arm circle path](https://github.com/iocroblab/madar_manipulation_using_visual_guidance_data/blob/main/testing_inputs/dual_arm_circle_y-plane.csv): `testing_inputs/dual_arm_circle_y-plane.csv`

### Other components

- **Command source**
- **ROS hardware controllers**

## Connections

- Command source → Trajectory interface: sends goals (evidence: `README.md`)
- Command source → Online joint control: sends commands (evidence: `README.md`)
- Command source → Online TCP control: sends poses (evidence: `README.md`)
- Command source → Velocity bypass: sends velocities (evidence: `README.md`)
- Trajectory interface → PID controller: uses (evidence: `README.md`)
- Online joint control → PID controller: uses (evidence: `README.md`)
- Online TCP control → Jacobian controller: uses (evidence: `README.md`)
- Velocity bypass → Bypass controller: uses (evidence: `README.md`)
- Control loop → PID controller: invokes (evidence: `README.md`)
- Control loop → Jacobian controller: invokes (evidence: `README.md`)
- Control loop → Bypass controller: invokes (evidence: `README.md`)
- RobotArm manager → Control loop: runs (evidence: `README.md`)
- RobotArm manager → Arm kinematics: inherits (evidence: `README.md`)
- Control loop → ROS hardware controllers: publishes commands (evidence: `README.md`)
