⏱️ Updates the frequency of main control loop from 100 hz to 200

This commit is contained in:
Rune Harlyk
2025-03-29 00:01:19 +01:00
committed by Rune Harlyk
parent fba531d3e8
commit 8733ecd9b7
+1 -1
View File
@@ -5,7 +5,7 @@ DRAM_ATTR Spot spot;
void IRAM_ATTR SpotControlLoopEntry(void*) {
ESP_LOGI("main", "Setup complete now runing tsk");
TickType_t xLastWakeTime = xTaskGetTickCount();
const TickType_t xFrequency = 10 / portTICK_PERIOD_MS;
const TickType_t xFrequency = 5 / portTICK_PERIOD_MS;
for (;;) {
spot.readSensors();
spot.planMotion();