# gokhulraj6200/ros1_ci_jenkins architecture

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

- Interactive diagram: https://gitdiagram.com/gokhulraj6200/ros1_ci_jenkins
- Repository: https://github.com/gokhulraj6200/ros1_ci_jenkins

## Overview

This ROS1 package provides a waypoint action server: a client submits a goal, the server uses odometry to steer the robot, and reports feedback and success. The sampled implementation shows the goal-control loop, odometry subscription, and velocity publication. The action definition is present in the tree but was not sampled, so its detailed fields are not described here. The repository README focuses on Jenkins CI setup, which is excluded as delivery infrastructure rather than runtime product behavior.

Main entry points: [`tortoisebot_waypoints/src/tortoisebot_waypoints/tortoisebot_action_server.py`](https://github.com/gokhulraj6200/ros1_ci_jenkins/blob/main/tortoisebot_waypoints/src/tortoisebot_waypoints/tortoisebot_action_server.py) (Goal Controller), [`tortoisebot_waypoints/action/WaypointAction.action`](https://github.com/gokhulraj6200/ros1_ci_jenkins/blob/main/tortoisebot_waypoints/action/WaypointAction.action) (Waypoint Action)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Action Interface"]
  node_action_spec["Waypoint Action"]
  node_server["Action Server"]
end

subgraph group_control["Waypoint Control"]
  node_controller["Goal Controller"]
  node_pose["Pose State"]
end

subgraph group_robot["Robot I/O"]
  node_odometry(("Odometry Source"))
  node_base(("Robot Base"))
  node_velocity["Velocity Commands"]
end

node_client(("Action Client"))

node_client -->|"sends goals"| node_server
node_action_spec -.->|"defines messages"| node_server
node_server -->|"runs callback"| node_controller
node_odometry -->|"publishes odometry"| node_pose
node_pose -->|"supplies pose"| node_controller
node_controller -->|"publishes commands"| node_velocity
node_velocity -.->|"drives motion"| node_base
node_controller -->|"publishes feedback"| node_server
node_controller -->|"sets result"| node_server

click node_action_spec "https://github.com/gokhulraj6200/ros1_ci_jenkins/blob/main/tortoisebot_waypoints/action/WaypointAction.action"
click node_server "https://github.com/gokhulraj6200/ros1_ci_jenkins/blob/main/tortoisebot_waypoints/src/tortoisebot_waypoints/tortoisebot_action_server.py"
click node_controller "https://github.com/gokhulraj6200/ros1_ci_jenkins/blob/main/tortoisebot_waypoints/src/tortoisebot_waypoints/tortoisebot_action_server.py"
click node_pose "https://github.com/gokhulraj6200/ros1_ci_jenkins/blob/main/tortoisebot_waypoints/src/tortoisebot_waypoints/tortoisebot_action_server.py"

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_action_spec,node_server,node_client toneBlue
class node_controller,node_pose toneAmber
class node_odometry,node_base,node_velocity toneMint
```

## Components

### Action Interface

- [Waypoint Action](https://github.com/gokhulraj6200/ros1_ci_jenkins/blob/main/tortoisebot_waypoints/action/WaypointAction.action): `tortoisebot_waypoints/action/WaypointAction.action`
- [Action Server](https://github.com/gokhulraj6200/ros1_ci_jenkins/blob/main/tortoisebot_waypoints/src/tortoisebot_waypoints/tortoisebot_action_server.py): `tortoisebot_waypoints/src/tortoisebot_waypoints/tortoisebot_action_server.py`

### Waypoint Control

- [Goal Controller](https://github.com/gokhulraj6200/ros1_ci_jenkins/blob/main/tortoisebot_waypoints/src/tortoisebot_waypoints/tortoisebot_action_server.py): `tortoisebot_waypoints/src/tortoisebot_waypoints/tortoisebot_action_server.py`
- [Pose State](https://github.com/gokhulraj6200/ros1_ci_jenkins/blob/main/tortoisebot_waypoints/src/tortoisebot_waypoints/tortoisebot_action_server.py): `tortoisebot_waypoints/src/tortoisebot_waypoints/tortoisebot_action_server.py`

### Robot I/O

- **Odometry Source**
- **Robot Base**
- **Velocity Commands**

### Other components

- **Action Client**

## Connections

- Action Client → Action Server: sends goals (evidence: `tortoisebot_waypoints/src/tortoisebot_waypoints/tortoisebot_action_server.py`)
- Waypoint Action → Action Server: defines messages
- Action Server → Goal Controller: runs callback (evidence: `tortoisebot_waypoints/src/tortoisebot_waypoints/tortoisebot_action_server.py`)
- Odometry Source → Pose State: publishes odometry (evidence: `tortoisebot_waypoints/src/tortoisebot_waypoints/tortoisebot_action_server.py`)
- Pose State → Goal Controller: supplies pose (evidence: `tortoisebot_waypoints/src/tortoisebot_waypoints/tortoisebot_action_server.py`)
- Goal Controller → Velocity Commands: publishes commands (evidence: `tortoisebot_waypoints/src/tortoisebot_waypoints/tortoisebot_action_server.py`)
- Velocity Commands → Robot Base: drives motion
- Goal Controller → Action Server: publishes feedback (evidence: `tortoisebot_waypoints/src/tortoisebot_waypoints/tortoisebot_action_server.py`)
- Goal Controller → Action Server: sets result (evidence: `tortoisebot_waypoints/src/tortoisebot_waypoints/tortoisebot_action_server.py`)
