mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 10:30:54 +00:00
RC Calibration
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 @@
|
||||
7d427ad47f0e498927a3f0299a713f504faa22be
|
||||
09796c8753f7d6b069276f3eb0223255ca52e72b
|
||||
|
@@ -91,12 +91,12 @@ static void update_pwm (int rc_x, int rc_y) {
|
||||
|
||||
// Turn Left
|
||||
if (x == 8190 && y == -8190) {
|
||||
m.motor1_rpm_pcm = 4095;
|
||||
m.motor1_rpm_pcm = 6172;
|
||||
m.motor2_rpm_pcm = 8190;
|
||||
}
|
||||
else if (x == 8190 && y == 8190) {
|
||||
m.motor1_rpm_pcm = 8190;
|
||||
m.motor2_rpm_pcm = 4095;
|
||||
m.motor2_rpm_pcm = 6172;
|
||||
}
|
||||
// FORWARD AND REVERSE
|
||||
//if ((x > 1500) && (y > 700 && y < 850)) {
|
||||
|
Reference in New Issue
Block a user