It seems there is a problem in "OpenCat.h" :
Arduino : 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Carte : "Arduino Pro or Pro Mini, ATmega328P (5V, 16 MHz)"
In file included from C:\Users\Thomas\Documents\GitHub\OpenCat\WriteInstinct\WriteInstinct.ino:31:0:
sketch\OpenCat.h: In function 'void copyDataFromPgmToI2cEeprom(unsigned int&, unsigned int)':
OpenCat.h:411:30: error: 'WALKING_DOF' was not declared in this scope
frameSize = period > 1 ? WALKING_DOF : 16;
^~~~~~~~~~~
sketch\OpenCat.h: In member function 'void Motion::loadDataFromProgmem(unsigned int)':
OpenCat.h:524:34: error: 'WALKING_DOF' was not declared in this scope
frameSize = period > 1 ? WALKING_DOF : 16;
^~~~~~~~~~~
In file included from sketch\OpenCat.h:85:0,
from C:\Users\Thomas\Documents\GitHub\OpenCat\WriteInstinct\WriteInstinct.ino:31:
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src/Wire.h: In member function 'void Motion::loadDataFromI2cEeprom(unsigned int&)':
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src/Wire.h:68:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int)
uint8_t requestFrom(int, int);
^~~~~~~~~~~
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src/Wire.h:65:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)
uint8_t requestFrom(uint8_t, uint8_t);
^~~~~~~~~~~
In file included from C:\Users\Thomas\Documents\GitHub\OpenCat\WriteInstinct\WriteInstinct.ino:31:0:
OpenCat.h:554:34: error: 'WALKING_DOF' was not declared in this scope
frameSize = period > 1 ? WALKING_DOF : 16;
^~~~~~~~~~~
sketch\OpenCat.h: In member function 'void Motion::info()':
OpenCat.h:613:50: error: 'WALKING_DOF' was not declared in this scope
for (int k = 0; k < period * (period > 1 ? WALKING_DOF : 16); k++) {
^~~~~~~~~~~
C:\Users\Thomas\Documents\GitHub\OpenCat\WriteInstinct\WriteInstinct.ino: In function 'void loop()':
WriteInstinct:470:60: error: 'WALKING_DOF' was not declared in this scope
firstValidJoint = (motion.period == 1) ? 0 : DOF - WALKING_DOF;
^~~~~~~~~~~
WriteInstinct:511:29: error: 'WALKING_DOF' was not declared in this scope
int dutyIdx = timer * WALKING_DOF + jointIdx - firstValidJoint;
^~~~~~~~~~~
exit status 1
'WALKING_DOF' was not declared in this scope
Ce rapport pourrait être plus détaillé avec
l'option "Afficher les résultats détaillés de la compilation"
activée dans Fichier -> Préférences.