已屏蔽 原因:{{ notice.reason }}已屏蔽
{{notice.noticeContent}}
~~空空如也
celeron533 发表于 2014-2-4 18:25
MPU6050库文件...


换了个库文件,又有问题了。。

Arduino:1.5.5-r2 (Windows 7), 板:"Arduino Uno"

Using library Wire in folder: D:\Arduino\hardware\arduino\avr\libraries\Wire (pre-1.5)

Using library MPU5060 in folder: D:\Arduino\libraries\MPU5060 (pre-1.5)

Using library SD in folder: D:\Arduino\libraries\SD



D:\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=155 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -ID:\Arduino\hardware\arduino\avr\cores\arduino -ID:\Arduino\hardware\arduino\avr\variants\standard -ID:\Arduino\hardware\arduino\avr\libraries\Wire -ID:\Arduino\libraries\MPU5060 -ID:\Arduino\libraries\SD\src C:\Users\Jesse\AppData\Local\Temp\XXXXXXXXXXXXXXXXXXXXXXXXXXXp\sketch_feb04a.cpp -o C:\Users\Jesse\AppData\Local\Temp\XXXXXXXXXXXXXXXXXXXXXXXXXXXp\sketch_feb04a.cpp.o

In file included from sketch_XXXXXXXXXo:5:
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:133: error: conflicting declaration 'const unsigned char dmpMemory [1929]'
D:\Arduino\libraries\MPU5060/MPU6050.h:792: error: 'dmpMemory' has a previous declaration as 'prog_uchar dmpMemory [1929]'
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:315: error: conflicting declaration 'const unsigned char dmpUpdates [47]'
D:\Arduino\libraries\MPU5060/MPU6050.h:931: error: 'dmpUpdates' has a previous declaration as 'uint8_t dmpUpdates [29][9]'
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:325: error: no 'uint8_t MPU6050::dmpInitialize()' member function declared in class 'MPU6050'
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:550: error: no 'bool MPU6050::dmpPacketAvailable()' member function declared in class 'MPU6050'
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:577: error: no 'uint8_t MPU6050::dmpGetAccel(int32_t*, const uint8_t*)' member function declared in class 'MPU6050'
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:585: error: no 'uint8_t MPU6050::dmpGetAccel(int16_t*, const uint8_t*)' member function declared in class 'MPU6050'
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:593: error: no 'uint8_t MPU6050::dmpGetAccel(VectorInt16*, const uint8_t*)' member function declared in class 'MPU6050'
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:601: error: no 'uint8_t MPU6050::dmpGetQuaternion(int32_t*, const uint8_t*)' member function declared in class 'MPU6050'
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:610: error: no 'uint8_t MPU6050::dmpGetQuaternion(int16_t*, const uint8_t*)' member function declared in class 'MPU6050'
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:619: error: no 'uint8_t MPU6050::dmpGetQuaternion(Quaternion*, const uint8_t*)' member function declared in class 'MPU6050'
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:634: error: no 'uint8_t MPU6050::dmpGetGyro(int32_t*, const uint8_t*)' member function declared in class 'MPU6050'
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:642: error: no 'uint8_t MPU6050::dmpGetGyro(int16_t*, const uint8_t*)' member function declared in class 'MPU6050'
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:652: error: no 'uint8_t MPU6050::dmpGetLinearAccel(VectorInt16*, VectorInt16*, VectorFloat*)' member function declared in class 'MPU6050'
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:660: error: no 'uint8_t MPU6050::dmpGetLinearAccelInWorld(VectorInt16*, VectorInt16*, Quaternion*)' member function declared in class 'MPU6050'
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:672: error: no 'uint8_t MPU6050::dmpGetGravity(VectorFloat*, Quaternion*)' member function declared in class 'MPU6050'
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:683: error: no 'uint8_t MPU6050::dmpGetEuler(float*, Quaternion*)' member function declared in class 'MPU6050'
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:689: error: no 'uint8_t MPU6050::dmpGetYawPitchRoll(float*, Quaternion*, VectorFloat*)' member function declared in class 'MPU6050'
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:702: error: no 'uint8_t MPU6050::dmpProcessFIFOPacket(const unsigned char*)' member function declared in class 'MPU6050'
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:712: error: no 'uint8_t MPU6050::dmpReadAndProcessFIFOPacket(uint8_t, uint8_t*)' member function declared in class 'MPU6050'
D:\Arduino\libraries\MPU5060/MPU6050_6Axis_MotionApps20.h:737: error: no 'uint16_t MPU6050::dmpGetFIFOPacketSize()' member function declared in class 'MPU6050'
sketch_XXXXXXXXXo: In function 'float Get_Current_Rocket_Inclination(int)':
sketch_XXXXXXXXXo:128: error: 'class MPU6050' has no member named 'getIntStatus'
sketch_XXXXXXXXXo:133: error: 'class MPU6050' has no member named 'getFIFOBytes'
sketch_XXXXXXXXXo:136: error: 'class MPU6050' has no member named 'dmpGetQuaternion'
sketch_XXXXXXXXXo:137: error: 'class MPU6050' has no member named 'dmpGetGravity'
sketch_XXXXXXXXXo:138: error: 'class MPU6050' has no member named 'dmpGetYawPitchRoll'
sketch_XXXXXXXXXo: In function 'void Init_MPU_6050()':
sketch_XXXXXXXXXo:153: error: 'class MPU6050' has no member named 'dmpInitialize'
sketch_XXXXXXXXXo:155: error: 'class MPU6050' has no member named 'dmpGetFIFOPacketSize'
文号 / 667616

十步芳草
名片发私信
学术分 0
总主题 9 帖总回复 274 楼拥有证书:机友 笔友
注册于 2013-04-19 17:51最后登录 2024-04-23 16:55
主体类型:个人
所属领域:无
认证方式:手机号
IP归属地:未同步

个人简介

多学习,多思考

文件下载
加载中...
{{errorInfo}}
{{downloadWarning}}
你在 {{downloadTime}} 下载过当前文件。
文件名称:{{resource.defaultFile.name}}
下载次数:{{resource.hits}}
上传用户:{{uploader.username}}
所需积分:{{costScores}},{{holdScores}}下载当前附件免费{{description}}
积分不足,去充值
文件已丢失

当前账号的附件下载数量限制如下:
时段 个数
{{f.startingTime}}点 - {{f.endTime}}点 {{f.fileCount}}
视频暂不能访问,请登录试试
仅供内部学术交流或培训使用,请先保存到本地。本内容不代表科创观点,未经原作者同意,请勿转载。
音频暂不能访问,请登录试试
投诉或举报
加载中...
{{tip}}
请选择违规类型:
{{reason.type}}

空空如也

插入资源
全部
图片
视频
音频
附件
全部
未使用
已使用
正在上传
空空如也~
上传中..{{f.progress}}%
处理中..
上传失败,点击重试
等待中...
{{f.name}}
空空如也~
(视频){{r.oname}}
{{selectedResourcesId.indexOf(r.rid) + 1}}
处理中..
处理失败
插入表情
我的表情
共享表情
Emoji
上传
注意事项
最大尺寸100px,超过会被压缩。为保证效果,建议上传前自行处理。
建议上传自己DIY的表情,严禁上传侵权内容。
点击重试等待上传{{s.progress}}%处理中...已上传,正在处理中
空空如也~
处理中...
处理失败
加载中...
草稿箱
加载中...
此处只插入正文,如果要使用草稿中的其余内容,请点击继续创作。
{{fromNow(d.toc)}}
{{getDraftInfo(d)}}
标题:{{d.t}}
内容:{{d.c}}
继续创作
删除插入插入
插入公式
评论控制
加载中...
文号:{{pid}}
加载中...
详情
详情
推送到专栏从专栏移除
设为匿名取消匿名
查看作者
回复
只看作者
加入收藏取消收藏
收藏
取消收藏
折叠回复
置顶取消置顶
评学术分
鼓励
设为精选取消精选
管理提醒
编辑
通过审核
评论控制
退修或删除
历史版本
违规记录
投诉或举报
加入黑名单移除黑名单
查看IP
{{format('YYYY/MM/DD HH:mm:ss', toc)}}
ID: {{user.uid}}