mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-10 06:23:23 +00:00
ESP-IDF RC Motors Controls
This commit is contained in:
@@ -89,7 +89,7 @@ static void rc_get_raw_data() {
|
||||
}
|
||||
else if ((y < 0 && y > -200) && (x > 1000)) {
|
||||
ESP_LOGW("RC", "RIGHT");
|
||||
m.motor1_rpm_pcm = 0;
|
||||
m.motor1_rpm_pcm = x;
|
||||
m.motor2_rpm_pcm = 0;
|
||||
m.motor3_rpm_pcm = 0;
|
||||
m.motor4_rpm_pcm = 0;
|
||||
|
Reference in New Issue
Block a user