Загрузка данных
Building in release mode
Compiling .pio\build\esp32dev\src\config.cpp.o
Compiling .pio\build\esp32dev\src\gcode_program.cpp.o
Compiling .pio\build\esp32dev\src\indicator_probe.cpp.o
Compiling .pio\build\esp32dev\src\laser_map.cpp.o
Compiling .pio\build\esp32dev\src\main.cpp.o
Compiling .pio\build\esp32dev\src\motion.cpp.o
Compiling .pio\build\esp32dev\src\old_motion.cpp.o
Compiling .pio\build\esp32dev\src\state_manager.cpp.o
Compiling .pio\build\esp32dev\src\wifi_manager.cpp.o
Building .pio\build\esp32dev\bootloader.bin
Generating partitions .pio\build\esp32dev\partitions.bin
esptool.py v4.11.0
Creating esp32 image...
Merged 1 ELF section
Successfully created esp32 image.
Compiling .pio\build\esp32dev\lib8ba\Preferences\Preferences.cpp.o
Compiling .pio\build\esp32dev\libdd5\WiFi\WiFi.cpp.o
Compiling .pio\build\esp32dev\libdd5\WiFi\WiFiAP.cpp.o
Compiling .pio\build\esp32dev\libdd5\WiFi\WiFiClient.cpp.o
Compiling .pio\build\esp32dev\libdd5\WiFi\WiFiGeneric.cpp.o
Compiling .pio\build\esp32dev\libdd5\WiFi\WiFiMulti.cpp.o
Compiling .pio\build\esp32dev\libdd5\WiFi\WiFiSTA.cpp.o
src/main.cpp: In function 'void loop()':
src/main.cpp:49:5: error: 'handleFeedrateFading' was not declared in this scope
handleFeedrateFading();
^~~~~~~~~~~~~~~~~~~~
src/motion.cpp: In function 'void initMotion()':
src/motion.cpp:46:21: error: no match for 'operator[]' (operand types are 'CorrectionPoint' and 'int')
curvatureMap[i].y_offset = 0.0f;
^
src/motion.cpp:47:21: error: no match for 'operator[]' (operand types are 'CorrectionPoint' and 'int')
curvatureMap[i].z_offset = 0.0f;
^
src/motion.cpp: In function 'void updateCurvaturePoint(int, float, float)':
src/motion.cpp:56:21: error: no match for 'operator[]' (operand types are 'CorrectionPoint' and 'int')
curvatureMap[index].y_offset = y_off;
^
src/motion.cpp:57:21: error: no match for 'operator[]' (operand types are 'CorrectionPoint' and 'int')
curvatureMap[index].z_offset = z_off;
^
src/motion.cpp: In function 'CorrectionPoint getCorrection(float)':
src/motion.cpp:67:59: error: no match for 'operator[]' (operand types are 'CorrectionPoint' and 'int')
if (index >= cfg.laserMapSize - 1) return curvatureMap[cfg.laserMapSize - 1];
^
src/motion.cpp:71:33: error: no match for 'operator[]' (operand types are 'CorrectionPoint' and 'int')
corr.y_offset = curvatureMap[index].y_offset + t * (curvatureMap[index+1].y_offset - curvatureMap[index].y_offset);
^
src/motion.cpp:71:69: error: no match for 'operator[]' (operand types are 'CorrectionPoint' and 'int')
corr.y_offset = curvatureMap[index].y_offset + t * (curvatureMap[index+1].y_offset - curvatureMap[index].y_offset);
^
src/motion.cpp:71:102: error: no match for 'operator[]' (operand types are 'CorrectionPoint' and 'int')
corr.y_offset = curvatureMap[index].y_offset + t * (curvatureMap[index+1].y_offset - curvatureMap[index].y_offset);
^
src/motion.cpp:72:33: error: no match for 'operator[]' (operand types are 'CorrectionPoint' and 'int')
corr.z_offset = curvatureMap[index].z_offset + t * (curvatureMap[index+1].z_offset - curvatureMap[index].z_offset);
^
src/motion.cpp:72:69: error: no match for 'operator[]' (operand types are 'CorrectionPoint' and 'int')
corr.z_offset = curvatureMap[index].z_offset + t * (curvatureMap[index+1].z_offset - curvatureMap[index].z_offset);
^
src/motion.cpp:72:102: error: no match for 'operator[]' (operand types are 'CorrectionPoint' and 'int')
corr.z_offset = curvatureMap[index].z_offset + t * (curvatureMap[index+1].z_offset - curvatureMap[index].z_offset);
^
src/motion.cpp: In function 'void motionTask(void*)':
src/motion.cpp:223:42: error: passing 'volatile StepCmd' as 'this' argument discards qualifiers [-fpermissive]
stepRingBuffer[bufferHead] = cmd;
^~~
src/motion.cpp:18:8: note: in call to 'StepCmd& StepCmd::operator=(const StepCmd&)'
struct StepCmd {
^~~~~~~
src/motion.cpp: In function 'void onTimerInterrupt()':
src/motion.cpp:246:48: error: no matching function for call to 'StepCmd(volatile StepCmd&)'
StepCmd cmd = stepRingBuffer[bufferTail];
^
src/motion.cpp:18:8: note: candidate: 'constexpr StepCmd::StepCmd(const StepCmd&)' <near match>
struct StepCmd {
^~~~~~~
src/motion.cpp:18:8: note: conversion of argument 1 would be ill-formed:
src/motion.cpp:246:48: error: binding reference of type 'const StepCmd&' to 'volatile StepCmd' discards qualifiers
StepCmd cmd = stepRingBuffer[bufferTail];
~~~~~~~~~~~~~~~~~~~~~~~~~^
src/motion.cpp:18:8: note: candidate: 'constexpr StepCmd::StepCmd(StepCmd&&)' <near match>
struct StepCmd {
^~~~~~~
src/motion.cpp:18:8: note: conversion of argument 1 would be ill-formed:
src/motion.cpp:246:48: error: cannot bind rvalue reference of type 'StepCmd&&' to lvalue of type 'volatile StepCmd'
StepCmd cmd = stepRingBuffer[bufferTail];
~~~~~~~~~~~~~~~~~~~~~~~~~^
*** [.pio\build\esp32dev\src\motion.cpp.o] Error 1
*** [.pio\build\esp32dev\src\main.cpp.o] Error 1