- karma system
- karma_agency (prolog)
- App
- Implements agency functions
- Apperception
- Wellbeing
- Society of Mind (SOM)
- Cognition actors
- Metacognition
- karma_body (elixir/phoenix)
- Web app
- Defines and operates physical or simulated sensors and actuators
- List actuators and sensors as abstract devices
- Sense and actuate on request
- karma_world (elixir/liveview)
- Web app
- Provides an environment for simulated sensors and actuators
- Visualiztion
- karma_observer (elixir/liveview)
- Web app
- Monitoring of an karma_agency
- karma_agency (prolog)
- karma_agency - under construction
- Operational
- actor model framework
- apperception engine
- To do
- SOM
- Wellbeing and feelings
- Operational
- karma_body - under construction
- Operational
- Lego sensors and actuators on a BrickPi3
- To do
- Simulated sensors and actuators
- Operational
- karma_world - under construction
- karma_observer - TO DO
---
title: Networking
---
graph LR;
agency("`**agency**
*prolog on PC*`")==>|HTTP|body_on_brickpi3("`**body (physical)**
*elixir on brickpi3*`") & body_on_PC & observer("`**observer**
*elixir on PC*`")
body_on_PC("`**body (simulated)**
*elixir on PC*`")==>|HTTP|world("`**world**
*elixir on PC*`")
---
title: System components
---
classDiagram
Agency
Observer
Body
World
Observer <-- Agency
Body <--> World
Body <--> Agency
class Agency {
on PC
Prolog app
apperception()
wellbeing()
som()
pubsub()
body_interface()
}
class Observer {
on PC
Elixir web ppp
monitor()
}
class Body {
sensors()
actuators()
sense(sensor)
actuate(actuator, action)
}
class World {
sensing(sensor)
actuating(actuator, action)
visualize()
}
---
title: System interactions in the physical world
---
sequenceDiagram;
participant agency
participant body
participant observer
agency-->>+body: ask for actuators/sensors
body-->>-agency: answer actuator/sensors
agency-->>+body: sense/actuate
body-->>-agency: sensed/actuated
agency-->>observer: SOM or wellbeing event
agency-->>agency: SOM or wellbeing event
---
title: System interactions in a simulated world
---
sequenceDiagram;
participant agency
participant body
participant world
participant observer
agency-->>+body: ask for actuators/sensors
body-->>-agency: answer actuator/sensors
agency-->>+body: sense/actuate
body-->>+world: registering/sensing/actuating
world-->-body: sensed/actuated
body-->>-agency: sensed/actuated
agency-->>observer: SOM or wellbeing event
agency-->>agency: SOM or wellbeing event