mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-10 19:24:22 +00:00
PWM rescaling
This commit is contained in:
0
ESP-IDF_Robot/build/.ninja_lock
Normal file
0
ESP-IDF_Robot/build/.ninja_lock
Normal file
@@ -1 +1 @@
|
|||||||
ref: refs/heads/main
|
4c2820d377d1375e787bcef612f0c32c1427d183
|
||||||
|
@@ -18,7 +18,7 @@ set(HEAD_HASH)
|
|||||||
file(READ "/home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024)
|
file(READ "/home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024)
|
||||||
|
|
||||||
string(STRIP "${HEAD_CONTENTS}" HEAD_CONTENTS)
|
string(STRIP "${HEAD_CONTENTS}" HEAD_CONTENTS)
|
||||||
set(GIT_DIR "/home/alex/github/ESP-Nodes/.git")
|
set(GIT_DIR "/home/alex/esp/v5.4.1/esp-idf/.git")
|
||||||
# handle git-worktree
|
# handle git-worktree
|
||||||
if(EXISTS "${GIT_DIR}/commondir")
|
if(EXISTS "${GIT_DIR}/commondir")
|
||||||
file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024)
|
file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024)
|
||||||
|
@@ -1 +1 @@
|
|||||||
e36d0f455b7acaacc7f55f8b56ce6a24f0c165db
|
4c2820d377d1375e787bcef612f0c32c1427d183
|
||||||
|
@@ -289,8 +289,8 @@ static void rc_task (void *arg) {
|
|||||||
while (true) {
|
while (true) {
|
||||||
update_pwm (rc_x, rc_y);
|
update_pwm (rc_x, rc_y);
|
||||||
ESP_LOGI("x,y", "( %d, %d ) [ %d, %d] ", rc_x, rc_y, x, y);
|
ESP_LOGI("x,y", "( %d, %d ) [ %d, %d] ", rc_x, rc_y, x, y);
|
||||||
//vTaskDelay (100 / portTICK_PERIOD_MS); // Determines responsiveness
|
vTaskDelay (100 / portTICK_PERIOD_MS); // Determines responsiveness
|
||||||
vTaskDelay (1000 / portTICK_PERIOD_MS);
|
//vTaskDelay (1000 / portTICK_PERIOD_MS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user