mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-10 12:03:22 +00:00
ESP32-C3 RC
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
|
c9763f62dd00c887a1a8fafe388db868a7e44069
|
||||||
|
@@ -18,7 +18,7 @@ set(HEAD_HASH)
|
|||||||
file(READ "/home/abobkov/MyProjects/ESP-Nodes/ESP-IDF_Robot/build/CMakeFiles/git-data/HEAD" HEAD_CONTENTS LIMIT 1024)
|
file(READ "/home/abobkov/MyProjects/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/abobkov/MyProjects/ESP-Nodes/.git")
|
set(GIT_DIR "/home/abobkov/esp/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 @@
|
|||||||
fc540030fde101e0d7cb2952241290ee274e9787
|
c9763f62dd00c887a1a8fafe388db868a7e44069
|
||||||
|
@@ -84,7 +84,7 @@ static void rc_get_raw_data() {
|
|||||||
y_sum += check_motor_pcm(rescale_raw_val(adc_raw[0][1]));
|
y_sum += check_motor_pcm(rescale_raw_val(adc_raw[0][1]));
|
||||||
sample ++;
|
sample ++;
|
||||||
}
|
}
|
||||||
else if (sample == 10) {
|
else if (sample >= 10) {
|
||||||
//x = check_motor_pcm(rescale_raw_val(adc_raw[0][0]));
|
//x = check_motor_pcm(rescale_raw_val(adc_raw[0][0]));
|
||||||
//y = check_motor_pcm(rescale_raw_val(adc_raw[0][1]));
|
//y = check_motor_pcm(rescale_raw_val(adc_raw[0][1]));
|
||||||
x = x_sum / 10;
|
x = x_sum / 10;
|
||||||
|
Reference in New Issue
Block a user