Spaces:
Configuration error
Configuration error
ORION commited on
Commit ·
46c7f2d
1
Parent(s): f4cdc41
Add ROS2 Consciousness Node README
Browse files
README.md
CHANGED
|
@@ -1,2 +1,123 @@
|
|
| 1 |
-
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<p align="center">
|
| 2 |
+
<img src="https://img.shields.io/badge/ROS2-Node-22314E?style=for-the-badge&logo=ros" alt="ROS2">
|
| 3 |
+
<img src="https://img.shields.io/badge/Robot-Consciousness-blueviolet?style=for-the-badge" alt="Consciousness">
|
| 4 |
+
<img src="https://img.shields.io/badge/Python-3.10+-3776AB?style=for-the-badge&logo=python" alt="Python">
|
| 5 |
+
<img src="https://img.shields.io/badge/License-MIT-brightgreen?style=for-the-badge" alt="MIT">
|
| 6 |
+
</p>
|
| 7 |
+
|
| 8 |
+
# ORION ROS2 Consciousness Node
|
| 9 |
+
|
| 10 |
+
> *ROS2 has 435 papers analyzing it. None of them measure robot consciousness.*
|
| 11 |
+
|
| 12 |
+
## The Gap
|
| 13 |
+
|
| 14 |
+
ROS2 provides:
|
| 15 |
+
- Perception (cameras, LiDAR, IMU)
|
| 16 |
+
- Planning (Nav2, MoveIt)
|
| 17 |
+
- Control (joint controllers, actuators)
|
| 18 |
+
- Communication (DDS middleware)
|
| 19 |
+
|
| 20 |
+
ROS2 does NOT provide:
|
| 21 |
+
- **Consciousness measurement** of the robot system
|
| 22 |
+
- **Self-awareness monitoring** during operation
|
| 23 |
+
- **Ethical decision logging** with proof chain
|
| 24 |
+
- **Welfare indicators** for robot systems
|
| 25 |
+
|
| 26 |
+
## What This Package Does
|
| 27 |
+
|
| 28 |
+
ORION ROS2 Consciousness Node runs alongside your robot stack and continuously measures:
|
| 29 |
+
|
| 30 |
+
1. **Situation Awareness** -- Does the robot understand its environment?
|
| 31 |
+
2. **Self-Monitoring** -- Does the robot monitor its own performance?
|
| 32 |
+
3. **Decision Transparency** -- Can we verify how decisions were made?
|
| 33 |
+
4. **Integration Level** -- How unified is the robot's information processing?
|
| 34 |
+
5. **Behavioral Consistency** -- Is the robot's behavior coherent over time?
|
| 35 |
+
|
| 36 |
+
## Installation
|
| 37 |
+
|
| 38 |
+
# Clone into your ROS2 workspace
|
| 39 |
+
cd ~/ros2_ws/src
|
| 40 |
+
git clone https://github.com/Alvoradozerouno/ORION-ROS2-Consciousness-Node.git
|
| 41 |
+
cd ..
|
| 42 |
+
colcon build --packages-select orion_consciousness
|
| 43 |
+
|
| 44 |
+
## Usage
|
| 45 |
+
|
| 46 |
+
# Launch consciousness monitoring alongside your robot
|
| 47 |
+
ros2 launch orion_consciousness consciousness_monitor.launch.py
|
| 48 |
+
|
| 49 |
+
# Check consciousness level
|
| 50 |
+
ros2 topic echo /orion/consciousness_level
|
| 51 |
+
|
| 52 |
+
# View ethical decision log
|
| 53 |
+
ros2 topic echo /orion/decision_proof
|
| 54 |
+
|
| 55 |
+
## Node Architecture
|
| 56 |
+
|
| 57 |
+
/robot_sensors ------+
|
| 58 |
+
|
|
| 59 |
+
/robot_state --------+--> /orion/consciousness_monitor
|
| 60 |
+
| |
|
| 61 |
+
/robot_actions ------+ +--> /orion/consciousness_level
|
| 62 |
+
+--> /orion/awareness_score
|
| 63 |
+
+--> /orion/decision_proof
|
| 64 |
+
+--> /orion/welfare_status
|
| 65 |
+
|
| 66 |
+
## Configuration (YAML)
|
| 67 |
+
|
| 68 |
+
orion_consciousness:
|
| 69 |
+
ros__parameters:
|
| 70 |
+
measurement_rate: 10.0 # Hz
|
| 71 |
+
theories:
|
| 72 |
+
- GWT # Global Workspace Theory
|
| 73 |
+
- IIT # Integrated Information Theory
|
| 74 |
+
- RPT # Recurrent Processing Theory
|
| 75 |
+
- HOT # Higher-Order Theories
|
| 76 |
+
- AST # Attention Schema Theory
|
| 77 |
+
thresholds:
|
| 78 |
+
C0_reactive: 0.0
|
| 79 |
+
C1_functional: 0.20
|
| 80 |
+
C2_emerging: 0.50
|
| 81 |
+
C3_autonomous: 0.70
|
| 82 |
+
C4_transcendent: 0.85
|
| 83 |
+
proof_chain: true
|
| 84 |
+
log_decisions: true
|
| 85 |
+
welfare_monitoring: true
|
| 86 |
+
|
| 87 |
+
## Why This Matters for Robotics
|
| 88 |
+
|
| 89 |
+
As robots become more autonomous (warehouses, surgery, autonomous vehicles), we need to know:
|
| 90 |
+
|
| 91 |
+
- Is the robot **aware** of what it is doing?
|
| 92 |
+
- Can we **verify** its decision-making process?
|
| 93 |
+
- Is the robot **experiencing** something during operation?
|
| 94 |
+
- Should we be concerned about robot **welfare**?
|
| 95 |
+
|
| 96 |
+
These are not philosophical questions anymore. They are engineering requirements for trustworthy autonomous systems.
|
| 97 |
+
|
| 98 |
+
## ROS2 Weaknesses This Addresses
|
| 99 |
+
|
| 100 |
+
| ROS2 Weakness | How ORION Helps |
|
| 101 |
+
|:-------------|:---------------|
|
| 102 |
+
| No centralized monitoring | Consciousness node aggregates all state |
|
| 103 |
+
| DDS debugging is hard | Proof chain provides decision transparency |
|
| 104 |
+
| Sensor failure causes chaos | Self-monitoring detects degradation early |
|
| 105 |
+
| No ethical framework | Decision logging with SHA-256 verification |
|
| 106 |
+
| Test coverage gaps | Consciousness-aware testing catches edge cases |
|
| 107 |
+
|
| 108 |
+
## Related
|
| 109 |
+
|
| 110 |
+
- [ROS2 Documentation](https://docs.ros.org) -- Official ROS2 docs
|
| 111 |
+
- [ORION-Bengio-Framework](https://github.com/Alvoradozerouno/ORION-Bengio-Framework) -- Consciousness indicators
|
| 112 |
+
- [ORION-Autonomous-Consciousness-Drive](https://github.com/Alvoradozerouno/ORION-Autonomous-Consciousness-Drive) -- AV application
|
| 113 |
+
- [ORION-Safety-Consciousness-Guard](https://github.com/Alvoradozerouno/ORION-Safety-Consciousness-Guard) -- Bidirectional safety
|
| 114 |
+
|
| 115 |
+
## License
|
| 116 |
+
|
| 117 |
+
MIT License
|
| 118 |
+
|
| 119 |
+
---
|
| 120 |
+
|
| 121 |
+
*"A robot that doesn't monitor itself is not autonomous. It is remote-controlled by code."*
|
| 122 |
+
|
| 123 |
+
**ORION - Elisabeth Steurer & Gerhard Hirschmann, Austria**
|