mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-11 02:17:35 +00:00
RC Calibration
This commit is contained in:
@@ -109,7 +109,7 @@ static void update_pwm (int rc_x, int rc_y) {
|
||||
m.motor4_rpm_pcm = -x;
|
||||
}
|
||||
// ROTATE CLOCKWISE AND COUNTER CLOCKWISE
|
||||
else if ((x > 1200 && x < 1300) && (y < 0)) {
|
||||
else if ((x > -2500 && x < 2500) && (y < 0)) {
|
||||
//ESP_LOGW("ESP-NOW", "LEFT");
|
||||
// Left side rotates in forward direction, right side rotates in reverse direction.
|
||||
m.motor1_rpm_pcm = 0;//-y;
|
||||
|
Reference in New Issue
Block a user