mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-07 13:57:17 +00:00
pwm
This commit is contained in:
@@ -1 +1 @@
|
||||
89ff28a980031feac38847b6b8710030 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/ESP-IDF_Robot.bin
|
||||
261833233a06ae376fa00099db841907 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/ESP-IDF_Robot.bin
|
||||
|
Binary file not shown.
0
ESP-IDF_Robot/build/.ninja_lock
Normal file
0
ESP-IDF_Robot/build/.ninja_lock
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
||||
189c8cb7601993093280fea32e23a500cac2b331
|
||||
c9925c5b5ff66f236d192345edc5eac6d50dabf9
|
||||
|
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -103,3 +103,7 @@
|
||||
5124 5497 1754477337578263381 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/bootloader/.bin_timestamp 6258dc03b857d97c
|
||||
5499 5574 1754477337582263407 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
|
||||
5499 5574 1754477337582263407 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
|
||||
8 65 1754482803560524029 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
|
||||
8 65 1754482803560524029 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
|
||||
7 68 1754482946835409731 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
|
||||
7 68 1754482946835409731 /home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 8931b86ccb0f01e5
|
||||
|
File diff suppressed because one or more lines are too long
@@ -907,7 +907,7 @@
|
||||
},
|
||||
{
|
||||
"directory": "/home/alex/github/ESP-Nodes/ESP-IDF_Robot/build",
|
||||
"command": "/home/alex/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/riscv32-esp-elf-gcc -DESP_PLATFORM -DIDF_VER=\\\"v5.4.1\\\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -D PROJECT_NAME=\\\"ESP-IDF_Robot\\\" -DPROJECT_VER=\\\"ESP32-Node_Switch-v2.7-9300-g18\\\" -I/home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/config -I/home/alex/esp/v5.4.1/esp-idf/components/esp_app_format/include -I/home/alex/esp/v5.4.1/esp-idf/components/newlib/platform_include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/config/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/config/include/freertos -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/config/riscv/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/esp_additions/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/include/soc -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/include/soc/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/dma/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/ldo/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/debug_probe/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/port/esp32c3/. -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/port/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/heap/include -I/home/alex/esp/v5.4.1/esp-idf/components/heap/tlsf -I/home/alex/esp/v5.4.1/esp-idf/components/log/include -I/home/alex/esp/v5.4.1/esp-idf/components/soc/include -I/home/alex/esp/v5.4.1/esp-idf/components/soc/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/soc/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/soc/esp32c3/register -I/home/alex/esp/v5.4.1/esp-idf/components/hal/platform_port/include -I/home/alex/esp/v5.4.1/esp-idf/components/hal/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/hal/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3/include/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/esp_common/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/port/soc -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/port/include/riscv -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/port/include/private -I/home/alex/esp/v5.4.1/esp-idf/components/riscv/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/include/apps -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/include/apps/sntp -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/lwip/src/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/freertos/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include/sys -march=rv32imc_zicsr_zifencei -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-error=extra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -nostartfiles -Og -fno-shrink-wrap -fmacro-prefix-map=/home/alex/github/ESP-Nodes/ESP-IDF_Robot=. -fmacro-prefix-map=/home/alex/esp/v5.4.1/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -o esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj -c /home/alex/esp/v5.4.1/esp-idf/components/esp_app_format/esp_app_desc.c",
|
||||
"command": "/home/alex/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20241119/riscv32-esp-elf/bin/riscv32-esp-elf-gcc -DESP_PLATFORM -DIDF_VER=\\\"v5.4.1\\\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -D PROJECT_NAME=\\\"ESP-IDF_Robot\\\" -DPROJECT_VER=\\\"ESP32-Node_Switch-v2.7-9306-gc9\\\" -I/home/alex/github/ESP-Nodes/ESP-IDF_Robot/build/config -I/home/alex/esp/v5.4.1/esp-idf/components/esp_app_format/include -I/home/alex/esp/v5.4.1/esp-idf/components/newlib/platform_include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/config/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/config/include/freertos -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/config/riscv/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I/home/alex/esp/v5.4.1/esp-idf/components/freertos/esp_additions/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/include/soc -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/include/soc/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/dma/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/ldo/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/debug_probe/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/port/esp32c3/. -I/home/alex/esp/v5.4.1/esp-idf/components/esp_hw_support/port/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/heap/include -I/home/alex/esp/v5.4.1/esp-idf/components/heap/tlsf -I/home/alex/esp/v5.4.1/esp-idf/components/log/include -I/home/alex/esp/v5.4.1/esp-idf/components/soc/include -I/home/alex/esp/v5.4.1/esp-idf/components/soc/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/soc/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/soc/esp32c3/register -I/home/alex/esp/v5.4.1/esp-idf/components/hal/platform_port/include -I/home/alex/esp/v5.4.1/esp-idf/components/hal/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/hal/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3/include/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/esp_rom/esp32c3 -I/home/alex/esp/v5.4.1/esp-idf/components/esp_common/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/include -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/port/soc -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/port/include/riscv -I/home/alex/esp/v5.4.1/esp-idf/components/esp_system/port/include/private -I/home/alex/esp/v5.4.1/esp-idf/components/riscv/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/include/apps -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/include/apps/sntp -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/lwip/src/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/freertos/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/alex/esp/v5.4.1/esp-idf/components/lwip/port/esp32xx/include/sys -march=rv32imc_zicsr_zifencei -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-error=extra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -nostartfiles -Og -fno-shrink-wrap -fmacro-prefix-map=/home/alex/github/ESP-Nodes/ESP-IDF_Robot=. -fmacro-prefix-map=/home/alex/esp/v5.4.1/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -o esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj -c /home/alex/esp/v5.4.1/esp-idf/components/esp_app_format/esp_app_desc.c",
|
||||
"file": "/home/alex/esp/v5.4.1/esp-idf/components/esp_app_format/esp_app_desc.c",
|
||||
"output": "esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj"
|
||||
},
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": "1.2",
|
||||
"project_name": "ESP-IDF_Robot",
|
||||
"project_version": "ESP32-Node_Switch-v2.7-9300-g189c8cb76-dirty",
|
||||
"project_version": "ESP32-Node_Switch-v2.7-9306-gc9925c5b5-dirty",
|
||||
"project_path": "/home/alex/github/ESP-Nodes/ESP-IDF_Robot",
|
||||
"idf_path": "/home/alex/esp/v5.4.1/esp-idf",
|
||||
"build_dir": "/home/alex/github/ESP-Nodes/ESP-IDF_Robot/build",
|
||||
|
@@ -97,14 +97,14 @@ static void update_pwm (int rc_x, int rc_y) {
|
||||
// ADDED ON AUG 6, 2025: to be tested!
|
||||
// CONTINOUS UPDATE
|
||||
// All forward directions
|
||||
if (y >= 1500) {
|
||||
if (x >= 1500) {
|
||||
m.motor1_rpm_pcm = (y - x); // Left side motors, forward
|
||||
m.motor2_rpm_pcm = (y + x); // Right side motors, forward
|
||||
m.motor3_rpm_pcm = 0;
|
||||
m.motor4_rpm_pcm = 0;
|
||||
}
|
||||
// All reverse directions
|
||||
if (y <= -1500) {
|
||||
/*if (y <= -1500) {
|
||||
m.motor1_rpm_pcm = 0;
|
||||
m.motor2_rpm_pcm = 0;
|
||||
m.motor3_rpm_pcm = -(y - x); // Left side motors, reverse
|
||||
@@ -124,7 +124,7 @@ static void update_pwm (int rc_x, int rc_y) {
|
||||
m.motor2_rpm_pcm = (y + x);
|
||||
m.motor3_rpm_pcm = -(y - x);
|
||||
m.motor4_rpm_pcm = 0;
|
||||
}
|
||||
}*/
|
||||
// -------------
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user