mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-17 20:13:43 +00:00
RC
This commit is contained in:
0
ESP-IDF_Robot/build/.ninja_lock
Normal file
0
ESP-IDF_Robot/build/.ninja_lock
Normal file
2
ESP-IDF_Robot/build/CMakeFiles/git-data/HEAD
Normal file → Executable file
2
ESP-IDF_Robot/build/CMakeFiles/git-data/HEAD
Normal file → Executable file
@@ -1 +1 @@
|
||||
ref: refs/heads/main
|
||||
9d7f2d69f50d1288526d4f1027108e314e8c879f
|
||||
|
@@ -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)
|
||||
|
||||
string(STRIP "${HEAD_CONTENTS}" HEAD_CONTENTS)
|
||||
set(GIT_DIR "/home/alex/github/ESP-Nodes/.git")
|
||||
set(GIT_DIR "/home/alex/esp/v5.3.2/esp-idf/.git")
|
||||
# handle git-worktree
|
||||
if(EXISTS "${GIT_DIR}/commondir")
|
||||
file(READ "${GIT_DIR}/commondir" GIT_DIR_NEW LIMIT 1024)
|
||||
|
2
ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref
Normal file → Executable file
2
ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref
Normal file → Executable file
@@ -1 +1 @@
|
||||
0e0630ebc1a9558120667022fe89ec6e77742878
|
||||
9d7f2d69f50d1288526d4f1027108e314e8c879f
|
||||
|
@@ -817,7 +817,8 @@ void onDataReceived (const uint8_t *mac_addr, const uint8_t *data, uint8_t data_
|
||||
x = buf.x_axis;
|
||||
y = buf.y_axis;
|
||||
|
||||
update_pwm(buf.x_axis, buf.y_axis);
|
||||
//update_pwm(buf.x_axis, buf.y_axis);
|
||||
update_pwm(x, y);
|
||||
ledc_set_duty(MTR_MODE, MTR_FRONT_LEFT, m.motor1_rpm_pcm);
|
||||
ledc_update_duty(MTR_MODE, MTR_FRONT_LEFT);
|
||||
ledc_set_duty(MTR_MODE, MTR_FRONT_RIGHT, m.motor2_rpm_pcm);
|
||||
|
Reference in New Issue
Block a user