Skip to content

Commit adc1320

Browse files
chore: add people tracking task to the system
1 parent 77a7bbc commit adc1320

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

room_control_unit/room_control_unit.ino

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
#include "src/app/model/event/Event.h"
1313
#include "src/config/ContextProvider.h"
1414
#include "src/app/io/communication/SerialInterface.h"
15-
#include "src/app/logic/fsm/thmonitoring/TemperatureHumidityMonitoring.h"
16-
#include "src/app/logic/fsm/gatewayexporter/GatewayExporter.h"
17-
#include "src/app/logic/fsm/luminositymonitoring/LuminosityMonitoring.h"
18-
#include "src/app/logic/fsm/presencemonitoring/PresenceMonitoring.h"
1915

2016
void setup() {
2117
System::getInstance()->init();
@@ -26,6 +22,7 @@ void setup() {
2622
System::getInstance()->addTask(new GatewayExporter(GATEWAY_EXPORTER_PERIOD, getGatewayExporterContext(eventList, SerialInterface::getInstance())));
2723
System::getInstance()->addTask(new LuminosityMonitoring(LUMINOSITY_PERIOD, getLuminosityMonitoringContext(eventList)));
2824
System::getInstance()->addTask(new PresenceMonitoring(PRESENCE_MONITORING_PERIOD, getPresenceMonitoringContext(eventList)));
25+
System::getInstance()->addTask(new PeopleTracking(PEOPLE_TRACKING_PERIOD, getPeopleTrackingContext(eventList)));
2926
}
3027

3128
void loop() {

0 commit comments

Comments
 (0)