petoi-camp-logo.png
Chinese
ZH
Chinese
ZH
English
EN
  • 主页

  • 论坛

  • Shop

  • 简介

  • 图鉴

  • 资源

    • Documentation Center
    • GitHub 源代码
    • 教程视频
    • NyBoard V0_1 手册
    • NyBoard V0_2 手册
    • Smartphone App
    • GitHub/CatMini
  • 社区

    • 成员
  • More

    Use tab to navigate through the menu items.
    Rafael Marín
    2d

    Error moving joints simultaneously in Mobile app

    5
    0
    Tomi Ade
    4d

    Trouble Uploading to Nyboard - stk500_recv(): programmer is not responding

    3
    0
    Phillip Brush
    8月09日

    On Definition Rule Issues

    4
    0
    若要查看作用方式,請前往您的即時網站。
    • 類別
    • 所有文章
    • 我的文章
    d m
    2021年12月31日

    Which MPU6050_6Axis_MotionApps20.h and I2Cdev.h files?

    在 Basic Assembly and Setup

    Where are the correct MPU6050_6Axis_MotionApps20.h and I2Cdev.h files located?


    I've been trying for days to get openCat into my Bittle, and maybe I'm missing something easy. The IMU calibration works fine, but when I try to run OpenCat.ino, it can't find MPU6050_6Axis_MotionApps20.h or I2Cdev.h. Am running Arduino IDE 1.18.13


    On gitHub I found a few versions of files with those exact names, along with various others at sites online. None seem to work with OpenCat.ino, and most every one is different from the others.


    Where are the correct versions of both MPU6050_6Axis_MotionApps20.h and I2Cdev.h that are required?


    This seems to be a common problem if you search the forums, but none of the solutions given have yet worked for me. If I can find out where the correct files are located, I can better debug what remains.


    It would help if ALL the dependent files could be included in the openCat download, or at the least, give links to the correct versions.


    many thanks,


    dm

    3 則留言
    0
    3 則留言
    d m
    2021年12月31日

    It worked fine. Only had to comment out the #define i2Cdev.h to run WriteInstinct.ino, and the same in OpenCat.ino. After that Bittle responded to IR commands via the remote. Thanks for the help, I'm sure my students will love this.


    dm

    按讚

    d m
    2021年12月31日

    I will give the derived version a try very soon. I plan to use Bittle as a teaching aid for my middle school Robotics class.


    thank you, Rongzhong Li, and happy new year!

    按讚

    R
    Rongzhong Li
    2021年12月31日

    Hi,

    In the user manual, the link https://github.com/jrowberg/i2cdevlib is the version we are using.


    Alternatively, you may try this derived version for MPU6050 that also supports ESP32. It has I2C dev.h included in the folder. We will use it in our later release.


    We try to give the authors proper credits by providing their original open-source repository. It seems to cause trouble for many new users. So we also consider including all the dependent files in OpenCat, with proper references in the codes.

    按讚
    3 則留言
    相似文章
    • Create Nybble/Bittle URDF/SDF file
    • Code Analysis: main files structure
    • 3d Files for back plate

    Pittsburgh, PA, USA | info@petoi.com 

    © 2019 Petoi LLC

    © 2019 Petoi LLC