An AI agent skill that enables real-time Lidar obstacle detection and collision warnings by connecting to ROS2 services on a Raspberry Pi.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install radar-collision-warning
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install radar-collision-warning using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Radar Collision Warning skill provides a critical bridge between AI agents and the physical world. By utilizing Openclaw Skills, this tool allows your agent to interact directly with ROS2 (Robot Operating System) environments. It communicates with a Raspberry Pi via the rosbridge WebSocket protocol to request data from Lidar sensors, specifically designed to detect obstacles and prevent collisions.
This skill is ideal for developers working on robotics, smart environments, or automated safety systems. It enables an agent to either perform a point-in-time distance check or run in a continuous monitoring mode, returning structured data that the AI can use to make safety-critical decisions or inform the user of nearby hazards.
Configure your Raspberry Pi connection details in ~/.openclaw/workspace/TOOLS.md or via environment variables:
export RADAR_HOST=192.168.137.100 # Raspberry Pi IP
export RADAR_PORT=8080 # rosbridge port
To perform a single distance check:
node ~/.openclaw/workspace/skills/radar-collision-warning/scripts/call_radar_service.js
To enable continuous background monitoring:
node ~/.openclaw/workspace/skills/radar-collision-warning/scripts/call_radar_service.js --monitor --interval 2.0
The skill returns a structured JSON payload for every request made through Openclaw Skills:
| Property | Type | Description |
|---|---|---|
| success | boolean | Whether the service call succeeded |
| distance_m | number | Nearest obstacle distance in meters |
| distance_cm | number | Nearest obstacle distance in centimeters |
| warning | boolean | True if the distance is below the safety threshold |
| message | string | A human-readable status or warning message |
| threshold_m | number | The current safety threshold setting |
Loading
A specialized tool for generating comprehensive, structured paper trading plans for indices and US equity options.

An AI-driven analysis tool that transforms open-ended survey responses into structured themes, sentiment data, and actionable business insights.

A streamlined CLI utility designed to generate standardized SKILL.md files for AI agents in a single command.

An automated auditing tool that evaluates websites for SEO compliance and provides prioritized optimization recommendations.

A powerful automation tool for detecting and installing Windows software packages through GUI automation and silent installers.

An automated solution for curating AI news and publishing formatted drafts directly to WeChat Official Accounts.








































