"Compile" problem

alda

Member
Hallo, ich bin neu im Forum und ich möchte folgendes Problem fragen :

In Configuration (arduino IDE 1.0.5 r2 ), wählen DIY:

//#include "rmrl500.h" // Robomow RL500
#include "romeo11.h" // Individual mower configuration (DIY)
//#include "aml50.h" // Ambrogio L50
//#include "stepperbox.h" // Stepperbox
//#include "tcg158.h" // Tianchen TC-G158 (Güde etc.)
//#include "spm12320.h" // Supoman SPM12-320 (Rotenbach etc.)

Ich werde dann kompilieren und erhalten eine Reihe von Fehlern :

In file included from ardumower.ino:72:
/romeo11.h: In function 'void config()':
romeo11.h:136: error: 'useMotorMow' was not declared in this scope
romeo11.h:137: error: 'useMotorMowBLDC' was not declared in this scope
romeo11.h:139: error: 'MOTOR_MOW_OFF' was not declared in this scope
romeo11.h:147: error: 'useMotorSense' was not declared in this scope
romeo11.h:151: error: 'useMotorMowSense' was not declared in this scope
romeo11.h:155: error: 'useBatteryMonitoring' was not declared in this scope
romeo11.h:164: error: 'usePerimeter' was not declared in this scope
romeo11.h:168: error: 'useLawnSensor' was not declared in this scope
romeo11.h:173: error: 'useButton' was not declared in this scope
romeo11.h:177: error: 'useBumper' was not declared in this scope
romeo11.h:184: error: 'useBuzzer' was not declared in this scope
romeo11.h:188: error: 'useTilt' was not declared in this scope
romeo11.h:192: error: 'useSonar' was not declared in this scope
romeo11.h:200: error: 'useRemoteRC' was not declared in this scope
romeo11.h:205: error: 'useIMU' was not declared in this scope
romeo11.h:206: error: 'initL3G4200D' was not declared in this scope
romeo11.h:207: error: 'initADXL345B' was not declared in this scope
romeo11.h:208: error: 'initHMC5883L' was not declared in this scope
romeo11.h:211: error: 'useRemoteRC' was not declared in this scope
/romeo11.h: In function 'int readSensor(char)':
romeo11.h:235: error: 'SEN_LAWN' was not declared in this scope
romeo11.h:239: error: 'useBatteryMonitoring' was not declared in this scope
romeo11.h:240: error: 'BATTERY_FAC' was not declared in this scope
romeo11.h:247: error: 'useBatteryMonitoring' was not declared in this scope
romeo11.h:248: error: 'chargeSenseZero' was not declared in this scope
romeo11.h:248: error: 'CHARGE_FAC' was not declared in this scope
romeo11.h:264: error: 'useURM37' was not declared in this scope
romeo11.h:267: error: 'useHCSR04' was not declared in this scope
romeo11.h:273: error: 'SEN_ACCEL' was not declared in this scope
romeo11.h:274: error: 'readADXL345B' was not declared in this scope
romeo11.h:276: error: 'SEN_GYRO' was not declared in this scope
romeo11.h:277: error: 'readL3G4200D' was not declared in this scope
romeo11.h:279: error: 'SEN_COMPASS' was not declared in this scope
romeo11.h:280: error: 'readHMC5883L' was not declared in this scope
romeo11.h:283: error: 'useMotorSense' was not declared in this scope
romeo11.h:284: error: 'motorRightSenseZero' was not declared in this scope
romeo11.h:291: error: 'useMotorSense' was not declared in this scope
romeo11.h:292: error: 'motorLeftSenseZero' was not declared in this scope
/romeo11.h: In function 'void setActuator(char, int)':
romeo11.h:308: error: 'useMotorMowBLDC' was not declared in this scope

Was mache ich falsch? Vielen Dank und Entschuldigung für schlechtes Deutsch.

Alex
 
Hallo Sven,
Vielen Dank für Ihre Antwort. Aml50.h richtig funktioniert.

Wenn Sie einen "Perimeter" Sensor nicht haben, müssen Sie es irgendwo deaktivieren? Im Terminal Ich bin immer noch rund "Perimeter" meldet einen Fehler.

Danke

Ales
 
Hallo Sven
Gibt es eine Anleitung, was zur Einstellung zu aktivieren oder zu deaktivieren einzelnen Funktionen?

Danke
Alex
 
Oben