
Zitat von
TobiKa
Zeig mal die ganze Datei
Headerdatei (ohne Kommentare usw.):
Code:
#ifndef _NIBOBEE_MOTPID_H_
#define _NIBOBEE_MOTPID_H_
#ifdef __cplusplus
extern "C" {
#endif
void motpid_init();
void motpid_release();
void motpid_stop(uint8_t immediate);
void motpid_setSpeed(int16_t left, int16_t right);
void motpid_setTarget(int16_t left, int16_t right, uint16_t speed);
void motpid_setTargetRel(int16_t left, int16_t right, uint16_t speed);
#ifdef __cplusplus
} // extern "C"
#endif
#endif // _NIBOBEE_MOTPID_H_
Ich mach den PC mal aus und schau mir das morgen nochmal an - ggf. versuch ich die Realisierung ohne motpid.
(Ich hab gerade nochmal ein neues Projekt erstellt, da kam die Fehlermeldung "undefined reference to 'motpid_init()' - vielleicht bin ich gerade aber auch nur ein wenig müde
)
Lesezeichen