Bardo.Examples.Applications.Flatland.FlatlandActuator (Bardo v0.1.0)
View SourceActuator implementation for the Flatland simulation.
This module provides actuators that agents can use to interact with the Flatland environment, primarily for movement control.
Summary
Functions
Handle a list of incoming signals from the neural network.
Initialize a new actuator for Flatland.
Create a two-wheel actuator configuration.
Functions
Handle a list of incoming signals from the neural network.
This function:
- Activates the actuator with signals from the neural network
- Sends commands to the scape (simulated world)
- Processes responses (fitness, etc.)
Initialize a new actuator for Flatland.
Parameters:
- id: Actuator ID
- actuator_type: :two_wheels
- fanin: Number of input elements
- cortex_pid: PID of the cortex process
- scape_pid: PID of the scape process
- agent_id: ID of the agent
Create a two-wheel actuator configuration.
Parameters:
- id: Actuator ID
- fanin: Number of input elements from the neural network
- cortex_id: ID of the cortex
- scape_name: Name of the scape
Returns an actuator specification map.