Skip to content
t-black4Public

About

provides a deterministic, real-time safety layer for robot arms that prevents physical damage.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

🛡️ SafeKin

High-Performance Real-Time Safety Controller for Robotic Arms in ROS 2

Doxygen Documentation ROS 2 Humble Build

Overview

SafeKin is an advanced, high-performance safety kernel and kinematics observer designed for robotic arms running on ROS 2. Its goal is to provide reliable, highly performant geometric collision detection and predictive intervention via ros2_control safety filters.

Currently, SafeKin houses an efficient distance-computation engine (safekin_core) handling essential 3D primitives like Capsules and Oriented Bounding Boxes (OBBs).

Core Features

  1. Safety Kernel: High-fidelity mathematical backend for generic point-to-box, segment-to-segment, and capsule-to-capsule lowest-distance checking.
  2. Docker-Native Workflow: Pre-configured with a self-contained container environment. Zero host dependency installations required!
  3. Automated Documentation: Uses Doxygen to auto-generate and deploy code documentation to GitHub Pages.

(Upcoming Features)

  • Kinematic Observer: Tracks robotic arm joint states at 1kHz.
  • ros2_control Safety Filter: Predictive intervention nodes preventing self-collision and obstacles.
  • Gazebo Integration: Pre-configured environments for rigorous validation.

Repository Structure

SafeKin/
├── .github/workflows/   # CI/CD pipelines (e.g., Doxygen deployment)
├── src/                 # ROS 2 workspace sources
│   └── safekin_core/    # Core mathematics & collision algorithms
├── Dockerfile           # Base Docker image config for ROS 2 Humble
├── docker-compose.yml   # Volume mapping and container instantiation
└── Doxyfile             # Doxygen API docs configuration

Getting Started

Prerequisites

You only need Docker installed on your host machine to run this project!

Installation & Run

  1. Clone the repository:

    git clone https://github.com/t-black4/SafeKin.git
    cd SafeKin
  2. Build and launch the Docker container using Docker Compose:

    docker-compose up -d --build
  3. Enter the container space to access the ROS 2 workspace:

    docker exec -it ros-master bash

    (Inside the container, ensure you run source /opt/ros/humble/setup.bash and colcon build to work with the core packages).

Documentation

The source code is fully documented. When running on GitHub, Doxygen documentation is automatically compiled and hosted via GitHub Pages.

🔗 View SafeKin API Documentation

Acknowledgements

About

provides a deterministic, real-time safety layer for robot arms that prevents physical damage.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages