Skip to content

RobotIA #2 — Building an Architecture for Autonomous Robot Learning

ROS Discourse — Community updates1victor_perez

The author shares an experimental architecture designed to enable robots to progressively acquire knowledge and make autonomous decisions. The project utilizes a TurtleBot 4 Lite with ROS 2 Jazzy and Gazebo Harmonic, running across five Docker containers that simulate physical constraints like battery depletion, network latency, and isolated embedded systems. Key features include an energy model tracking consumption based on activity, a communication gateway using Zenoh to separate the simulated world from resource-constrained hardware, and persistent storage for maps and models independent of the simulation environment. The next stage will focus on functional self-models, intrinsic motivations, and memory.

Following my first post introducing RobotIA, I would like to share the experimental architecture I have been developing.

The objective is to create an environment in which a robot can progressively acquire knowledge, develop skills, and learn to make its own decisions.

Before working on the cognitive architecture, I wanted to build a simulation that reproduces the functional constraints of a real robot as closely as reasonably possible.

Experimental architecture

The project is based on a TurtleBot 4 Lite, ROS 2 Jazzy, Gazebo Harmonic and five independent Docker containers:

  • Simulation: the physical environment, robot, sensors, actuators and energy model.

  • Embedded system: a resource-constrained environment representing the Raspberry Pi 4, running SLAM and Nav2.

  • Communication gateway: a controlled Zenoh communication layer separating the simulated world from the embedded system.

  • Supervision: RViz for observation and experimentation.

  • AI server: a separate computing environment using PyTorch, CUDA and an NVIDIA RTX 3060 with 12 GB of VRAM.

The embedded system is deliberately isolated from privileged simulation data. The robot must perceive its environment through its sensors rather than directly accessing information provided by Gazebo.

Reproducing physical constraints

The embedded system has limited CPU and memory resources.

I have also implemented an energy model that accounts for the estimated consumption of the Raspberry Pi, camera, LiDAR, motors and other electronic components.

The battery is no longer simply a percentage that decreases over time. Its charge evolves according to the robot’s activity, computational workload and access to electrical power.

The simulation includes:

  • Battery charging and discharging.

  • Charging station power availability.

  • Automatic shutdown when the battery is depleted.

  • Motor inhibition when the embedded system is unavailable.

  • Automatic restart when sufficient energy becomes available.

  • Recovery following an embedded system failure.

The energy model is currently an approximation and will eventually require calibration against real hardware.

Communication and external computing

The AI server communicates with the embedded system through a virtual Wi-Fi network.

Different network conditions can be simulated, including latency, limited bandwidth, packet loss and complete disconnection.

The intention is to allow computationally expensive learning processes to be performed externally while preserving the robot’s ability to operate locally.

The robot should not become entirely dependent on a permanent connection to an external server.

Persistence of knowledge

Another important architectural decision is to separate acquired knowledge from the hardware and processes that produce it.

Maps, future learning experiences, trained models and experimental results are stored independently of the containers.

The system already supports persistent battery state, automatic cartographic backups, integrity verification and fallback to a previous map generation.

The underlying principle is simple:

Acquired knowledge should outlive the hardware that produced it.

Why this architecture?

My objective is not to develop another general-purpose robot simulator.

I want to provide the robot with a sufficiently realistic body and environment before developing its cognitive capabilities.

Energy limitations, computational constraints, communication failures and the consequences of physical actions should be part of the robot’s experience.

For example, the robot should eventually learn that being physically connected to a charging station does not necessarily mean that its battery is charging.

This distinction between an expected outcome and an observed outcome will be important for future learning experiments.

The next stage of RobotIA will focus on the robot’s functional self-model, intrinsic motivations, memory and autonomous learning.

I would be interested in discussing this architectural approach with the ROS community, particularly with researchers and developers working on autonomous learning, developmental robotics and simulation-to-reality transfer.

Source notes

  1. RobotIA #2 — Building an Architecture for Autonomous Robot Learning↩
Source evidence

Reported by the source; not independently verified.

Environment
Simulation[2]
VRAM capacity
12[4]
  1. Following my first post introducing RobotIA, I would like to share the experimental architecture I have been developing. The objective is to create an environment in which a robot can progressively acquire knowledge, develop skills, and learn to make its own decisions. Before working on the cognitive architecture, I wanted to build a simulation that reproduces the functional constraints of a real robot as closely as
    Exact source↩
  2. reasonably possible. Experimental architecture The project is based on a TurtleBot 4 Lite, ROS 2 Jazzy, Gazebo Harmonic and five independent Docker containers: Simulation: the physical environment, robot, sensors, actuators and energy model. Embedded system: a resource-constrained environment representing the Raspberry Pi 4, running SLAM and Nav2. Communication gateway: a controlled Zenoh communication layer separati
    Exact source
  3. ng the simulated world from the embedded system. Supervision: RViz for observation and experimentation. AI server: a separate computing environment using PyTorch, CUDA and an NVIDIA RTX 3060 with 12 GB of VRAM. The embedded system is deliberately isolated from privileged simulation data. The robot must perceive its environment through its sensors rather than directly accessing information provided by Gazebo. Reproduc
    Exact source↩
  4. ing physical constraints The embedded system has limited CPU and memory resources. I have also implemented an energy model that accounts for the estimated consumption of the Raspberry Pi, camera, LiDAR, motors and other electronic components. The battery is no longer simply a percentage that decreases over time. Its charge evolves according to the robot’s activity, computational workload and access to electrical powe
    Exact source
  5. r. The simulation includes: Battery charging and discharging. Charging station power availability. Automatic shutdown when the battery is depleted. Motor inhibition when the embedded system is unavailable. Automatic restart when sufficient energy becomes available. Recovery following an embedded system failure. The energy model is currently an approximation and will eventually require calibration against real hardwar
    Exact source
  6. stage of RobotIA will focus on the robot’s functional self-model, intrinsic motivations, memory and autonomous learning. I would be interested in discussing this architectural approach with the ROS community, particularly with researchers and developers working on autonomous learning, developmental robotics and simulation-to-reality transfer.
    Exact source

Automatically extracted; no manual editorial approval recorded.

Article details
Signal

The author presents an experimental architecture for autonomous robot learning based on a TurtleBot 4 Lite, ROS 2 Jazzy, and Gazebo Harmonic, emphasizing realistic physical constraints such as energy consumption models, network latency simulation, and isolated embedded systems.

Timezone · UTC

Article dates follow your selected timezone. Briefing editions use Hong Kong time (UTC+8).