mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-09 19:15:29 +00:00
.
This commit is contained in:
2
ESP-IDF_Robot/.vscode/settings.json
vendored
2
ESP-IDF_Robot/.vscode/settings.json
vendored
@@ -7,7 +7,7 @@
|
|||||||
"idf.toolsPath": "/home/alex/.espressif",
|
"idf.toolsPath": "/home/alex/.espressif",
|
||||||
"idf.port": "/dev/ttyACM0",
|
"idf.port": "/dev/ttyACM0",
|
||||||
"idf.flashType": "UART",
|
"idf.flashType": "UART",
|
||||||
"idf.pythonInstallPath": "/usr/bin/python3",
|
"idf.pythonInstallPath": "c:\\Users\\alex\\esp\\tools\\idf-python\\3.11.2\\python.exe",
|
||||||
"idf.espIdfPathWin": "C:\\Users\\alex\\esp\\v5.4\\esp-idf",
|
"idf.espIdfPathWin": "C:\\Users\\alex\\esp\\v5.4\\esp-idf",
|
||||||
"idf.toolsPathWin": "c:\\Users\\alex\\esp\\",
|
"idf.toolsPathWin": "c:\\Users\\alex\\esp\\",
|
||||||
"idfWeb.flashBaudRate": 115200
|
"idfWeb.flashBaudRate": 115200
|
||||||
|
@@ -89,6 +89,15 @@ static void update_pwm (int rc_x, int rc_y) {
|
|||||||
y = y_sum / sample;
|
y = y_sum / sample;
|
||||||
s++;*/
|
s++;*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
(+, +0) (+, +) (+0, +)
|
||||||
|
(-, +) (0, 0) (+, -)
|
||||||
|
(-, -0) (-, -) (-0, -)
|
||||||
|
|
||||||
|
if (1024 < x < 2048 && 1024 < y < 2048) {
|
||||||
|
}*/
|
||||||
|
|
||||||
// Turn Left
|
// Turn Left
|
||||||
if (x == 8190 && y == -8190) {
|
if (x == 8190 && y == -8190) {
|
||||||
m.motor1_rpm_pcm = 6172;
|
m.motor1_rpm_pcm = 6172;
|
||||||
|
Reference in New Issue
Block a user