- Akku Tests und Balkonkraftwerk Speicher         
Ergebnis 1 bis 10 von 23

Thema: MPU6050 libs mit Kalman-Filter für Arduino und ohne Benutzung des Interrupt-Pins...?

Hybrid-Darstellung

Vorheriger Beitrag Vorheriger Beitrag   Nächster Beitrag Nächster Beitrag
  1. #1
    HaWe
    Gast
    ja, da gibt es Treffer zuhauf
    https://www.google.com/search?q=MPU+...utf-8&oe=utf-8

    aber was davon funktioniert erfahrungsgemäß störungsfrei wie gesucht? (Teapot ist ja eher für Processing)

  2. #2
    Erfahrener Benutzer Roboter Genie Avatar von Michael
    Registriert seit
    17.01.2004
    Ort
    Karlstadt
    Alter
    55
    Beiträge
    1.258
    Zitat Zitat von HaWe Beitrag anzeigen
    ja, da gibt es Treffer zuhauf
    https://www.google.com/search?q=MPU+...utf-8&oe=utf-8

    aber was davon funktioniert erfahrungsgemäß störungsfrei wie gesucht? (Teapot ist ja eher für Processing)
    ach meiner Erfahrung funktioniert das
    Im Beispiel Teapot findest du deine gewünschten Variablen. Processing musst du ja nicht benutzen.
    n

  3. #3
    HaWe
    Gast
    Zitat Zitat von Michael Beitrag anzeigen
    ach meiner Erfahrung funktioniert das
    Im Beispiel Teapot findest du deine gewünschten Variablen. Processing musst du ja nicht benutzen.
    n
    welcher Link denn jetzt genau?


    edit:
    meinst du das MPU6050_DMP6 example?
    https://github.com/jarzebski/Arduino...h_roll_yaw.ino ?

    das funktioniert nicht bei mir, lässt sich nicht für ARM Cortex Boards Due (M3), M0 oder M4 kompilieren

    Oder was meinst du stattdessen ??

  4. #4
    HaWe
    Gast
    Zitat Zitat von Michael Beitrag anzeigen
    ach meiner Erfahrung funktioniert das
    Im Beispiel Teapot findest du deine gewünschten Variablen. Processing musst du ja nicht benutzen.
    n
    Michael...?
    welcher Link / welche Lib / welcher Beispielsketch denn nu...?


    edit:
    @Michael: Vermute, dein "Hinweis" war nur ne vage Luftnummer... :-/
    Geändert von HaWe (27.09.2018 um 10:36 Uhr)

  5. #5
    Erfahrener Benutzer Roboter Genie Avatar von Michael
    Registriert seit
    17.01.2004
    Ort
    Karlstadt
    Alter
    55
    Beiträge
    1.258
    Zitat Zitat von HaWe Beitrag anzeigen
    Michael...?
    welcher Link / welche Lib / welcher Beispielsketch denn nu...?


    edit:
    @Michael: Vermute, dein "Hinweis" war nur ne vage Luftnummer... :-/
    ah, ok, sehe deinen Satz jetzt erst.
    Wenn du meinst.
    So wirst du aber wenig Helfer finden.
    Ich habe leider nicht so viel Zeit, dass ich auch noch die Google Suche präsentiere, obwohl alle Stichworte dabei waren.

    Es ist durchaus ein interessantes Thema, aber ich klinke mich hier aus.
    Wenn du irgendwann fähig bist, Leute wie mich nicht mehr vor den Kopf zu stoßen, bin ich auch gerne wieder dabei.

  6. #6
    HaWe
    Gast
    Zitat Zitat von Michael Beitrag anzeigen
    ah, ok, sehe deinen Satz jetzt erst.
    Wenn du meinst.
    So wirst du aber wenig Helfer finden.
    Ich habe leider nicht so viel Zeit, dass ich auch noch die Google Suche präsentiere, obwohl alle Stichworte dabei waren.

    Es ist durchaus ein interessantes Thema, aber ich klinke mich hier aus.
    Wenn du irgendwann fähig bist, Leute wie mich nicht mehr vor den Kopf zu stoßen, bin ich auch gerne wieder dabei.
    Ich hatte dich bereits am 23.9. um eine Erklärung gebeten, doch da kam absolut nichts von dir. Auch nichts auf Nachfrage vom 25.9.
    Inzwischen sind 2 Wochen ohne Antwort vergangen - so gesehen hast du dich ja noch nichtmal jemals "eingeklinkt", was heißt also hier "ich klinke mich hier aus"?
    Wenn du also schon Hinweise geben willst, dann gib sie bitte mit genauem Link, keine vagen Google-Stichwort-Hinweise
    Such mal nach MPU 6500 Sensor Fusion, da gibt es fertiges Arduino Zeugs (Teapot Demo)
    So etwas mit "da gibt es fertiges Arduino Zeugs" kannst du dir wirklich sparen bei den unspezifischen, überholten und fehlleitenden Google-Treffern


    also zurück zum Problem:

    Zitat Zitat von HaWe Beitrag anzeigen
    update:
    neue Lib von
    https://github.com/jrowberg/i2cdevli...rduino/MPU6050
    mit example
    https://github.com/jrowberg/i2cdevli...U6050_DMP6.ino


    Code:
    MPU6050_DMP6_002:279: error: '_BV' was not declared in this scope
    if ((mpuIntStatus & _BV(MPU6050_INTERRUPT_FIFO_OFLOW_BIT)) || fifoCount >= 1024) {
                          ^
    Bibliothek I2Cdev im Ordner: D:\Arduino\portable\libraries\I2Cdev (legacy) wird verwendet
    Bibliothek Wire in Version 1.0 im Ordner: D:\arduino\portable\packages\adafruit\hardware\sam d\1.2.3\libraries\Wire wird verwendet
    Bibliothek MPU6050 im Ordner: D:\Arduino\portable\libraries\MPU6050 (legacy) wird verwendet
    exit status 1
    '_BV' was not declared in this scope

    für den Mega2560 lässt sich die Lib mit dem example immerhin kompilieren, nie aber für ARM cpus (M0, M3, M4) - wie kann man den Fehler beheben?

  7. #7
    Erfahrener Benutzer Roboter Experte
    Registriert seit
    04.09.2011
    Ort
    Hessen
    Beiträge
    707
    Nein, ich kenne mich nicht mit dem gefragten Bauteil aus, aber
    error: '_BV' was not declared in this scope
    ist der normale Fehler mit dem BV-Makro. Den hatte ich damals gleich bei der ersten Lib aus dem Internet, die ich beim Arduino Due verwendet habe. Merkwürdig, dass du den nicht kennst.

    Bei der Lib steht ja dabei, dass sie 2015 für den Teensy 3.1 angepasst wurde, kann also kein allgemeines ARM-Problem sein, da das ein Cortex-M4 ist.

    Es gibt halt die offizielle Arduino API (die Funktionen auf der Referenzseite) und inoffizielle Teile, die aus der internen Implementierung der AVR-Arduinos stammen. Viele 32-Bit "Arduinos" implementieren den inoffiziellen Teil nicht oder nur teilweise.

    Abhilfe in diesem Fall, in der *.cpp wo der Fehler auftritt, oben zwischen #includes und dem Anfang des Quelltextes einfügen
    Code:
    #ifndef _BV
    #define _BV(n) (1<<(n))
    #endif
    (Code aus core_pins.h vom Teensy)

  8. #8
    HaWe
    Gast
    hi, danke!
    aber nein, von BV Makro noch nie was gehört, ich wüsste gar nicht, wer das wo benutzt, und was Teensy angeht, war ich für M0 und M4 schon skeptisch gewesen, denn wer weiß was der für Spezialcode für seine Spezialhardware verbaut hat (Zielanwendung verwendet den Feather M4, M0 und der Due dienten nur zur Fehlersuche).

    Das hier probiere ich ntl gleich aus:

    #ifndef _BV
    #define _BV(n) (1<<(n))
    #endif

    Bin gespannt, danke nochmals!

    - - - Aktualisiert - - -

    update:
    für den Due kompiliert er jetzt ohne Fehlermeldung, der ist aber für die Ziel-Anwendung als Plattform u.a. wegen der Größe nicht geeignet;

    für den M4 aber wieder neue Fehler:
    Code:
    Arduino: 1.8.5 (Windows 7), Board: "Adafruit Feather M4 Express (SAMD51), Enabled"
    
    D:\arduino\arduino-builder -dump-prefs -logger=machine -hardware D:\arduino\hardware -hardware D:\arduino\portable\packages -tools D:\arduino\tools-builder -tools D:\arduino\hardware\tools\avr -tools D:\arduino\portable\packages -built-in-libraries D:\arduino\libraries -libraries D:\Arduino\portable\libraries -fqbn=adafruit:samd:adafruit_feather_m4:cache=on -ide-version=10805 -build-path C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_81307 -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1 -prefs=runtime.tools.openocd.path=D:\arduino\portable\packages\arduino\tools\openocd\0.9.0-arduino -prefs=runtime.tools.CMSIS.path=D:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.CMSIS-Atmel.path=D:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.bossac.path=D:\arduino\portable\packages\arduino\tools\bossac\1.8.0-48-gb176eee -verbose D:\Akten\Programmierung\arduinoProgs\driver\MPU6050-h-Examples\MPU6050_DMP6_002\MPU6050_DMP6_002.ino
    D:\arduino\arduino-builder -compile -logger=machine -hardware D:\arduino\hardware -hardware D:\arduino\portable\packages -tools D:\arduino\tools-builder -tools D:\arduino\hardware\tools\avr -tools D:\arduino\portable\packages -built-in-libraries D:\arduino\libraries -libraries D:\Arduino\portable\libraries -fqbn=adafruit:samd:adafruit_feather_m4:cache=on -ide-version=10805 -build-path C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_81307 -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1 -prefs=runtime.tools.openocd.path=D:\arduino\portable\packages\arduino\tools\openocd\0.9.0-arduino -prefs=runtime.tools.CMSIS.path=D:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.CMSIS-Atmel.path=D:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.bossac.path=D:\arduino\portable\packages\arduino\tools\bossac\1.8.0-48-gb176eee -verbose D:\Akten\Programmierung\arduinoProgs\driver\MPU6050-h-Examples\MPU6050_DMP6_002\MPU6050_DMP6_002.ino
    Using board 'adafruit_feather_m4' from platform in folder: D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3
    Using core 'arduino' from platform in folder: D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3
    WARNUNG: Kategorie '' in der Bibliothek XPT2046 ist ungültig und wird auf 'Uncategorized' festgelegt
    Build-Optionen wurden verändert, alles wird neu kompiliert
    Detecting libraries used...
    "D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_81307\sketch\MPU6050_DMP6_002.ino.cpp" -o "nul"
    "D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "-ID:\Arduino\portable\libraries\I2Cdev" "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_81307\sketch\MPU6050_DMP6_002.ino.cpp" -o "nul"
    "D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "-ID:\Arduino\portable\libraries\I2Cdev" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire" "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_81307\sketch\MPU6050_DMP6_002.ino.cpp" -o "nul"
    "D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "-ID:\Arduino\portable\libraries\I2Cdev" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire" "-ID:\Arduino\portable\libraries\MPU6050" "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_81307\sketch\MPU6050_DMP6_002.ino.cpp" -o "nul"
    "D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "-ID:\Arduino\portable\libraries\I2Cdev" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire" "-ID:\Arduino\portable\libraries\MPU6050" "D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp" -o "nul"
    "D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "-ID:\Arduino\portable\libraries\I2Cdev" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire" "-ID:\Arduino\portable\libraries\MPU6050" "D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire\Wire.cpp" -o "nul"
    "D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "-ID:\Arduino\portable\libraries\I2Cdev" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire" "-ID:\Arduino\portable\libraries\MPU6050" "D:\Arduino\portable\libraries\MPU6050\MPU6050.cpp" -o "nul"
    Generating function prototypes...
    "D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "-ID:\Arduino\portable\libraries\I2Cdev" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire" "-ID:\Arduino\portable\libraries\MPU6050" "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_81307\sketch\MPU6050_DMP6_002.ino.cpp" -o "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_81307\preproc\ctags_target_for_gcc_minus_e.cpp"
    "D:\arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_81307\preproc\ctags_target_for_gcc_minus_e.cpp"
    Sketch wird kompiliert...
    "D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -Wall -Wextra -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "-ID:\Arduino\portable\libraries\I2Cdev" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire" "-ID:\Arduino\portable\libraries\MPU6050" "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_81307\sketch\MPU6050_DMP6_002.ino.cpp" -o "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_81307\sketch\MPU6050_DMP6_002.ino.cpp.o"
    In file included from D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino/Arduino.h:78:0,
    
                     from C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_81307\sketch\MPU6050_DMP6_002.ino.cpp:1:
    
    D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino/HardwareSerial.h:71:18: warning: unused parameter 'baudrate' [-Wunused-parameter]
    
         virtual void begin(unsigned long baudrate, uint16_t config) {}
    
                      ^
    
    D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino/HardwareSerial.h:71:18: warning: unused parameter 'config' [-Wunused-parameter]
    
    In file included from D:\Akten\Programmierung\arduinoProgs\driver\MPU6050-h-Examples\MPU6050_DMP6_002\MPU6050_DMP6_002.ino:54:0:
    
    D:\Arduino\portable\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:743:9: warning: unused parameter 'dmpData' [-Wunused-parameter]
    
     uint8_t MPU6050::dmpProcessFIFOPacket(const unsigned char *dmpData) {
    
             ^
    
    Compiling libraries...
    Compiling library "I2Cdev"
    "D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -Wall -Wextra -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "-ID:\Arduino\portable\libraries\I2Cdev" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire" "-ID:\Arduino\portable\libraries\MPU6050" "D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp" -o "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_81307\libraries\I2Cdev\I2Cdev.cpp.o"
    D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp:64:14: warning: #warning Using current Arduino IDE with Wire library is functionally limiting. [-Wcpp]
    
                 #warning Using current Arduino IDE with Wire library is functionally limiting.
    
                  ^
    
    D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp:65:14: warning: #warning Arduino IDE v1.0.1+ with I2CDEV_BUILTIN_FASTWIRE implementation is recommended. [-Wcpp]
    
                 #warning Arduino IDE v1.0.1+ with I2CDEV_BUILTIN_FASTWIRE implementation is recommended.
    
                  ^
    
    D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp:66:14: warning: #warning This I2Cdev implementation does not support: [-Wcpp]
    
                 #warning This I2Cdev implementation does not support:
    
                  ^
    
    D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp:67:14: warning: #warning - Timeout detection (some Wire requests block forever) [-Wcpp]
    
                 #warning - Timeout detection (some Wire requests block forever)
    
                  ^
    
    In file included from D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino/Arduino.h:78:0,
    
                     from D:\Arduino\portable\libraries\I2Cdev\I2Cdev.h:77,
    
                     from D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp:46:
    
    D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino/HardwareSerial.h:71:18: warning: unused parameter 'baudrate' [-Wunused-parameter]
    
         virtual void begin(unsigned long baudrate, uint16_t config) {}
    
                      ^
    
    D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino/HardwareSerial.h:71:18: warning: unused parameter 'config' [-Wunused-parameter]
    
    In file included from D:\Arduino\portable\libraries\I2Cdev\I2Cdev.h:77:0,
    
                     from D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp:46:
    
    D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp: In static member function 'static int8_t I2Cdev::readBytes(uint8_t, uint8_t, uint8_t, uint8_t*, uint16_t)':
    
    D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp:276:62: error: 'BUFFER_LENGTH' was not declared in this scope
    
                 for (uint8_t k = 0; k < length; k += min(length, BUFFER_LENGTH)) {
    
                                                                  ^
    
    D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino/Arduino.h:100:24: note: in definition of macro 'min'
    
     #define min(a,b) ((a)<(b)?(a):(b))
    
                            ^
    
    D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp: In static member function 'static int8_t I2Cdev::readWords(uint8_t, uint8_t, uint8_t, uint16_t*, uint16_t)':
    
    D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp:414:70: error: 'BUFFER_LENGTH' was not declared in this scope
    
                 for (uint8_t k = 0; k < length * 2; k += min(length * 2, BUFFER_LENGTH)) {
    
                                                                          ^
    
    D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino/Arduino.h:100:24: note: in definition of macro 'min'
    
     #define min(a,b) ((a)<(b)?(a):(b))
    
                            ^
    
    Bibliothek I2Cdev im Ordner: D:\Arduino\portable\libraries\I2Cdev (legacy) wird verwendet
    Bibliothek Wire in Version 1.0 im Ordner: D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire  wird verwendet
    Bibliothek MPU6050 im Ordner: D:\Arduino\portable\libraries\MPU6050 (legacy) wird verwendet
    exit status 1
    Fehler beim Kompilieren für das Board Adafruit Feather M4 Express (SAMD51).
    und ebenso übrg. auch für den M0.
    Geändert von HaWe (07.10.2018 um 15:47 Uhr)

Ähnliche Themen

  1. Fragen zu Kalman-Filter
    Von Flo89 im Forum Sensoren / Sensorik
    Antworten: 3
    Letzter Beitrag: 04.10.2013, 20:50
  2. ST LPR530AL + Kalman Filter
    Von Pepade im Forum Sensoren / Sensorik
    Antworten: 3
    Letzter Beitrag: 23.04.2010, 07:29
  3. Kalman Filter für BASCOM
    Von harry1 im Forum Sensoren / Sensorik
    Antworten: 30
    Letzter Beitrag: 28.10.2009, 23:22
  4. An die Kalman-Filter-Fachleute
    Von Crazy Harry im Forum Sensoren / Sensorik
    Antworten: 2
    Letzter Beitrag: 08.05.2006, 21:33
  5. Kalman-Filter - wie/wo/was ?
    Von Crazy Harry im Forum Sensoren / Sensorik
    Antworten: 4
    Letzter Beitrag: 02.02.2006, 10:23

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  

fchao-Sinus-Wechselrichter AliExpress