How naman14113114/owl-robot-arm works
1. This repository is a ROS 2 robotics stack split into four clear layers: robot description, motion planning, bringup/orchestration, and a Python SDK. The architecture is designed so each layer can be launched and validated independently before combining them into a full simulation or execution workflow.
2. The robot model layer lives in the description package under rv5as_so-assy_model_asm_description. It contains the URDF/Xacro robot definition, mesh assets, Gazebo-specific robot metadata, and a ROS 2 control description. This package is the source of truth for the physical structure, link/joint layout, and visual/simulation geometry.
3. That same description package also provides visualization and simulation launch files. One launch path is for rendering the robot in RViz, and another is for Gazebo-based simulation. This boundary matters because the description package supplies the model, but does not own planning or high-level command logic.
4. The MoveIt layer is isolated in rv5as_moveit_config_new. It adds the planning semantics needed to turn a robot model into a manipulable planning system: SRDF semantics, kinematics, joint limits, Cartesian limits, controller mappings, and RViz planning configuration.
5. The MoveIt package also wires planning to execution through controller configuration files such as moveit_controllers.yaml and ros2_controllers.yaml. Architecturally, this is the bridge between “plan a motion” and “send commands to the robot controller stack.”
6. The bringup layer is in my_robot_bringup and acts as the system integrator. Its launch files compose the description, MoveIt, RViz, controllers, and simulation pieces into end-to-end sessions. Based on the filenames, one launch is a full simulation stack and another is a plan/execute entry point.
7. The bringup package is the main runtime boundary for operators. Instead of starting individual ROS 2 components by hand, users launch this package to stand up the complete environment, including session visualization via the bundled RViz config.
8. The Python SDK lives in my_robot_sdk and is the scripting/control entry point. Its modules suggest two main abstractions: a MoveIt-facing interface and a robot controller wrapper. This package is where application logic or demos call into the motion stack at a higher level than raw ROS topics/services.
9. The SDK includes a task demo and test scripts, which implies it is meant for scripted motion workflows rather than just library use. From an architectural perspective, these scripts are the top-most consumer of the planning/execution stack.
10. The main data flow is: Python task code issues a request through the SDK, the SDK talks to MoveIt or controller-facing APIs, MoveIt plans against the robot model and kinematic constraints, and execution is handed to ROS 2 control-backed controllers. In simulation, those commands drive Gazebo via the robot description and control integration.
11. Gazebo and RViz are the main external runtime surfaces. Gazebo provides the dynamic simulation environment, RViz provides visualization and interactive planning feedback, and the various .rviz and bridge/config files define how the same robot model is observed and exercised in each environment.
12. For an architecture diagram, the key boundaries are: model assets and simulation description on one side, planning semantics in the middle, orchestration at the top, and Python-driven task code as the user-facing API. The system is intentionally modular so the same robot can be viewed, simulated, planned, or commanded through separate entry points without mixing responsibilities.
Main entry points: rv5as_so-assy_model_asm_description Description pkg · rv5as_moveit_config_new MoveIt config · my_robot_bringup Bringup pkg · my_robot_sdk SDK pkg
Components 20
Robot description
Robot model, meshes, and simulation-facing description assets.
- Description pkg · Source of truth for the robot model, visuals, and simulation metadata.
src/rv5as_so-assy_model_asm_description-20260413T091140Z-3-001/rv5as_so-assy_model_asm_description - URDF/Xacro · Robot structure, links, joints, and model composition.
src/rv5as_so-assy_model_asm_description-20260413T091140Z-3-001/rv5as_so-assy_model_asm_description/urdf/rv5as_so-assy_model_asm.xacro - Gazebo model · Gazebo-specific robot metadata and control integration.
src/rv5as_so-assy_model_asm_description-20260413T091140Z-3-001/rv5as_so-assy_model_asm_description/urdf/rv5as_so-assy_model_asm.gazebo - ROS 2 control · ROS 2 control interface description for the robot model.
src/rv5as_so-assy_model_asm_description-20260413T091140Z-3-001/rv5as_so-assy_model_asm_description/urdf/rv5as_so-assy_model_asm.ros2control.xml - Meshes · STL geometry used for visualization and simulation rendering.
src/rv5as_so-assy_model_asm_description-20260413T091140Z-3-001/rv5as_so-assy_model_asm_description/meshes - Display launch · Launch path for rendering the robot in RViz.
src/rv5as_so-assy_model_asm_description-20260413T091140Z-3-001/rv5as_so-assy_model_asm_description/launch/display.launch.py - Gazebo launch · Launch path for bringing the robot into Gazebo.
src/rv5as_so-assy_model_asm_description-20260413T091140Z-3-001/rv5as_so-assy_model_asm_description/launch/gazebo.launch.py
Motion planning
MoveIt semantics, controllers, and planning launch files.
- MoveIt config · Planning configuration that turns the robot model into a manipulative planning system.
src/rv5as_moveit_config_new - Semantics · Planning groups, kinematics, joint limits, and Cartesian limits.
src/rv5as_moveit_config_new/config/rv5as_so-assy_model_asm.srdf - Controllers · Planning-to-execution controller mappings and ROS 2 controller settings.
src/rv5as_moveit_config_new/config/moveit_controllers.yaml - MoveIt RViz · RViz configuration for interactive planning and feedback.
src/rv5as_moveit_config_new/config/moveit.rviz - MoveIt launch · Launch entry points for MoveIt, robot state publishing, and demo sessions.
src/rv5as_moveit_config_new/launch/move_group.launch.py
Bringup
End-to-end orchestration and operator entry points.
- Bringup pkg · System integrator that composes description, planning, controllers, and visualization.
src/my_robot_bringup - Sim stack · Full simulation session combining model, planning, RViz, and controllers.
src/my_robot_bringup/launch/simstack_bringup.launch.py - Plan/execute · Entry point for planning and executing motions against the runtime stack.
src/my_robot_bringup/launch/plan_execute.launch.py - Session RViz · Operator-facing RViz setup for the integrated stack.
src/my_robot_bringup/config/simstack.rviz
Python SDK
Scripted motion interfaces and task-level application code.
- SDK pkg · Scriptable interface for higher-level motion workflows and demos.
src/my_robot_sdk/my_robot_sdk - MoveIt API · SDK-facing interface that talks to the motion planning stack.
src/my_robot_sdk/my_robot_sdk/moveit_interface.py - Controller API · SDK wrapper around robot command and execution control.
src/my_robot_sdk/my_robot_sdk/robot_controller.py - Task demo · Top-level scripted task workflow that exercises the SDK.
src/my_robot_sdk/my_robot_sdk/task_demo.py
Connections 24
- Description pkg → URDF/Xacro: defines · The package publishes the canonical robot model.
- Description pkg → Gazebo model: describes · Provides simulation-specific robot metadata.
- Description pkg → ROS 2 control: integrates · Defines the ROS 2 control description for the robot.
- Description pkg → Meshes: bundles · Includes visual and collision geometry assets.
- Description pkg → Display launch: launches · Offers RViz visualization entry points.
- Description pkg → Gazebo launch: launches · Offers Gazebo simulation entry points.
- MoveIt config → URDF/Xacro: consumes · Builds planning semantics on top of the robot model.
- MoveIt config → Semantics: defines · Encodes the planning configuration and limits.
- MoveIt config → Controllers: maps · Connects motion plans to controller execution.
- MoveIt config → MoveIt RViz: visualizes · Provides the MoveIt planning UI.
- MoveIt config → MoveIt launch: orchestrates · Launches planning runtime components.
- Bringup pkg → Description pkg: includes · Composes robot description into runtime sessions.
- Bringup pkg → MoveIt config: includes · Composes planning into end-to-end launch sessions.
- Bringup pkg → Sim stack: launches · Full integrated simulation workflow.
- Bringup pkg → Plan/execute: launches · Plan-and-execute operator workflow.
- Bringup pkg → Session RViz: configures · Provides the session visualization setup.
- SDK pkg → MoveIt API: wraps · Exposes planning actions through Python.
- SDK pkg → Controller API: wraps · Exposes robot execution control through Python.
- SDK pkg → Task demo: hosts · Contains the task-level example workflow.
- Task demo → MoveIt API: calls · Issues motion requests through the SDK interface.
- Task demo → Controller API: drives · Sends execution commands through the controller wrapper.
- Plan/execute → SDK pkg: uses · Higher-level scripts can target the integrated runtime.
- Sim stack → Gazebo launch: starts · Uses the model package's simulation launch path.
- Sim stack → MoveIt launch: starts · Brings up planning components alongside simulation.