楼主: zbl
|
[教程] 会跳太空步的萌Otto-两个小时就能制作的DIY机器人 !!!! |
flyzxh 发表于 2018-4-19 10:58 可参考新的项目Pando: https://mc.dfrobot.com.cn/thread-35162-1-1.html |
zbl 发表于 2016-11-11 10:09 我是来学习的,看看怎么样? |
下载的OTTO_smooth_criminial.zip文件中没有Oscillatorlibraries 文件 |
为什么我使用arduino IDE编译Otto的程序就不通过????库文件我也添加了的 就是不行!!!!!!!!!!!!!!!!!!求助 好心人 |
smooth_criminal_dance:40: error: 'Oscillator' does not name a type smooth_criminal_dance.ino: In function 'void setup()': smooth_criminal_dance:64: error: 'servo' was not declared in this scope smooth_criminal_dance.ino: In function 'void loop()': smooth_criminal_dance:114: error: 'servo' was not declared in this scope smooth_criminal_dance.ino: In function 'void dance()': smooth_criminal_dance:173: error: 'servo' was not declared in this scope smooth_criminal_dance.ino: In function 'void oscillate(int*, int*, int, double*)': smooth_criminal_dance:185: error: 'servo' was not declared in this scope smooth_criminal_dance:193: error: 'servo' was not declared in this scope smooth_criminal_dance.ino: In function 'void moveNServos(int, int*)': smooth_criminal_dance:218: error: 'servo' was not declared in this scope smooth_criminal_dance.ino: In function 'void goingUp(int)': smooth_criminal_dance:239: error: 'servo' was not declared in this scope smooth_criminal_dance:241: error: 'servo' was not declared in this scope smooth_criminal_dance.ino: In function 'void primera_parte()': smooth_criminal_dance:282: error: 'servo' was not declared in this scope smooth_criminal_dance:296: error: 'servo' was not declared in this scope smooth_criminal_dance:299: error: 'servo' was not declared in this scope smooth_criminal_dance.ino: In function 'void lateral_fuerte(boolean, int)': smooth_criminal_dance:349: error: 'servo' was not declared in this scope smooth_criminal_dance:350: error: 'servo' was not declared in this scope smooth_criminal_dance:351: error: 'servo' was not declared in this scope smooth_criminal_dance:353: error: 'servo' was not declared in this scope smooth_criminal_dance.ino: In function 'void noGravity(int)': smooth_criminal_dance:385: error: 'servo' was not declared in this scope smooth_criminal_dance.ino: In function 'void kickLeft(int)': smooth_criminal_dance:398: error: 'servo' was not declared in this scope smooth_criminal_dance:400: error: 'servo' was not declared in this scope smooth_criminal_dance.ino: In function 'void kickRight(int)': smooth_criminal_dance:421: error: 'servo' was not declared in this scope smooth_criminal_dance:423: error: 'servo' was not declared in this scope smooth_criminal_dance.ino: In function 'void walk(int, int)': smooth_criminal_dance:446: error: 'DEG2RAD' was not declared in this scope smooth_criminal_dance.ino: In function 'void run(int, int)': smooth_criminal_dance:454: error: 'DEG2RAD' was not declared in this scope smooth_criminal_dance.ino: In function 'void backyard(int, int)': smooth_criminal_dance:462: error: 'DEG2RAD' was not declared in this scope smooth_criminal_dance.ino: In function 'void backyardSlow(int, int)': smooth_criminal_dance:470: error: 'DEG2RAD' was not declared in this scope smooth_criminal_dance.ino: In function 'void turnLeft(int, int)': smooth_criminal_dance:479: error: 'DEG2RAD' was not declared in this scope smooth_criminal_dance.ino: In function 'void turnRight(int, int)': smooth_criminal_dance:487: error: 'DEG2RAD' was not declared in this scope smooth_criminal_dance.ino: In function 'void moonWalkRight(int, int)': smooth_criminal_dance:495: error: 'DEG2RAD' was not declared in this scope smooth_criminal_dance.ino: In function 'void moonWalkLeft(int, int)': smooth_criminal_dance:503: error: 'DEG2RAD' was not declared in this scope smooth_criminal_dance.ino: In function 'void crusaito(int, int)': smooth_criminal_dance:511: error: 'DEG2RAD' was not declared in this scope smooth_criminal_dance.ino: In function 'void swing(int, int)': smooth_criminal_dance:519: error: 'DEG2RAD' was not declared in this scope smooth_criminal_dance.ino: In function 'void upDown(int, int)': smooth_criminal_dance:527: error: 'DEG2RAD' was not declared in this scope smooth_criminal_dance.ino: In function 'void flapping(int, int)': smooth_criminal_dance:535: error: 'DEG2RAD' was not declared in this scope smooth_criminal_dance.ino: In function 'void test(int, int)': smooth_criminal_dance:543: error: 'DEG2RAD' was not declared in this |
© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed