mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-10-01 03:04:51 +00:00
ESP-IDF Robot Controls
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 @@
|
|||||||
eb0a7a7206d697095cc4b857672326898de3d245
|
d7c34720ec7c0d63f50f0f22f042b325712d6288
|
||||||
|
@@ -79,7 +79,7 @@ static void rc_get_raw_data() {
|
|||||||
// REVERSE
|
// REVERSE
|
||||||
else if (rescale_raw_val(adc_raw[0][0]) >= 700 && rescale_raw_val(adc_raw[0][1]) < 700) {
|
else if (rescale_raw_val(adc_raw[0][0]) >= 700 && rescale_raw_val(adc_raw[0][1]) < 700) {
|
||||||
m.motor1_rpm_pcm = rescale_raw_val(adc_raw[0][1]);
|
m.motor1_rpm_pcm = rescale_raw_val(adc_raw[0][1]);
|
||||||
ESP_LOGW("RC", "FORWARD");
|
ESP_LOGW("RC", "REVERSE");
|
||||||
//m.motor2_rpm_pcm = rescale_raw_val(adc_raw[0][1]);
|
//m.motor2_rpm_pcm = rescale_raw_val(adc_raw[0][1]);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Reference in New Issue
Block a user