ottodiy / ottoninja Goto Github PK
View Code? Open in Web Editor NEWBuild your own robot like a Ninja 🐱👤 This is the first emotional modular EdTech robot that can walk and roll!
Home Page: https://www.ottodiy.com/ninja
License: MIT License
Build your own robot like a Ninja 🐱👤 This is the first emotional modular EdTech robot that can walk and roll!
Home Page: https://www.ottodiy.com/ninja
License: MIT License
Hi,
thats a newbie question, but every time I want to upload for example Otto_avoid - I got this error:
use of deleted function 'Otto::Otto()'
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:32:7: note: 'Otto::Otto()' is implicitly deleted because the default definition would be ill-formed:
class Otto
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:32:7: error: no matching function for call to 'LedMatrix::LedMatrix()'
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:32:7: note: candidates are:
In file included from C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:9:0,
from F:\Puplit\OTTO\Otto_BASIC\Otto_BASIC.ino:12:
C:\Program Files (x86)\Arduino\libraries\MAX7219LedMatrix-master/LedMatrix.h:33:5: note: LedMatrix::LedMatrix(byte, byte)
LedMatrix(byte numberOfDisplays, byte slaveSelectPin);
^
C:\Program Files (x86)\Arduino\libraries\MAX7219LedMatrix-master/LedMatrix.h:33:5: note: candidate expects 2 arguments, 0 provided
C:\Program Files (x86)\Arduino\libraries\MAX7219LedMatrix-master/LedMatrix.h:24:7: note: LedMatrix::LedMatrix(const LedMatrix&)
class LedMatrix {
^
C:\Program Files (x86)\Arduino\libraries\MAX7219LedMatrix-master/LedMatrix.h:24:7: note: candidate expects 1 argument, 0 provided
C:\Program Files (x86)\Arduino\libraries\MAX7219LedMatrix-master/LedMatrix.h:24:7: note: LedMatrix::LedMatrix(LedMatrix&&)
C:\Program Files (x86)\Arduino\libraries\MAX7219LedMatrix-master/LedMatrix.h:24:7: note: candidate expects 1 argument, 0 provided
exit status 1
use of deleted function 'Otto::Otto()'
Could You help me ?
Hello,
I'm trying to make Otto work on my Esp8266.
It works quite well so far except for some very strange behaviors on oscillateServos function. For example if I run Otto.updown(6, 500, BIG);
the right foot is totally up.
After some investigation it looks like for this function O is int O[4] = {0, 0, h, -h};
so if you call updown with BIG you end up with these values {0,0, 30, -30}
.
So far so good (well on arduino at last).
But on my ESP as _O is declared unsigned it takes 4,294,967,295 as a value... too much for my servo :)
So my question is : is it normal that _O is declared unsigned or is it a bug in Oscillator.h ?
At line 30 and 50 in oscillator.h, variable "O" is defined as a 'unsigned int' instead of 'int'.
"O" have negative value such as when Otto walk (Otto9.cpp line 282).
There is no apparent impact on Arduino/Atmega but math results are out of wack on ESP32.
Solution: Change data type from "unsigned int" to "int" for variable "O" and "A" at lines 29,30,49,50 in oscillator.h
I recently made the Otto Robot. I was able to upload "Smooth criminal" and "Single ladies" in the Nano controller of the two robots.
However, as of Oct 6, 2018 all other .ino files (e.g. Otto_avoid, Run_Otto_Run, Otto_avoid_TRIMS, Otto_push, etc) within the Otto_DIY folder do not compile well and give an error of the type "Otto was not declared in this scope".
I have no idea what creates this error or whether it's a library, or the code itself for these files.
Below is a copy paste of the issue. Thank you!
Arduino: 1.8.6 (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"
In file included from C:\Users\Eddie & Tina\Desktop\OTTO_avoid\OTTO_avoid.ino:15:0:
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:32:3: error: stray '\302' in program
<title>DIY/Otto.h at master · OttoDIY/DIY · GitHub</title>^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:32:3: error: stray '\267' in program
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:32:3: error: stray '\302' in program
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:32:3: error: stray '\267' in program
In file included from C:\Users\Eddie & Tina\Desktop\OTTO_avoid\OTTO_avoid.ino:15:0:
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:170:10: warning: missing terminating ' character
<!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-site-search-form" data-scope-type="Repository" data-scope-id="64104078" data-scoped-search-url="/OttoDIY/DIY/search" data-unscoped-search-url="/search" action="/OttoDIY/DIY/search" accept-charset="UTF-8" method="get"><input name="utf8" type="hidden" value="✓" />
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:170:5: error: missing terminating ' character
<!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-site-search-form" data-scope-type="Repository" data-scope-id="64104078" data-scoped-search-url="/OttoDIY/DIY/search" data-unscoped-search-url="/search" action="/OttoDIY/DIY/search" accept-charset="UTF-8" method="get"><input name="utf8" type="hidden" value="✓" />
^
In file included from C:\Users\Eddie & Tina\Desktop\OTTO_avoid\OTTO_avoid.ino:15:0:
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:212:23: error: stray '\342' in program
<span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:212:23: error: stray '\206' in program
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:212:23: error: stray '\265' in program
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:217:23: error: stray '\342' in program
<span class="d-inline-block ml-1 v-align-middle">↵</span>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:217:23: error: stray '\206' in program
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:217:23: error: stray '\265' in program
In file included from C:\Users\Eddie & Tina\Desktop\OTTO_avoid\OTTO_avoid.ino:15:0:
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:393:16: warning: missing terminating ' character
<!-- '"` --><!-- </textarea></xmp> --></option></form><form action="/site/dismiss_signup_prompt" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓" /><input type="hidden" name="authenticity_token" value="1Wemr0LMQpZmxIMEtdzLYnabHTduUMQ5eLwbI0PIIU6f/rgCg/lETMDHvH3y6obX/1v5lqgKXyoLDxMVhHQAYQ==" />
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:393:11: error: missing terminating ' character
<!-- '"` --><!-- </textarea></xmp> --></option></form><form action="/site/dismiss_signup_prompt" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓" /><input type="hidden" name="authenticity_token" value="1Wemr0LMQpZmxIMEtdzLYnabHTduUMQ5eLwbI0PIIU6f/rgCg/lETMDHvH3y6obX/1v5lqgKXyoLDxMVhHQAYQ==" />
^
In file included from C:\Users\Eddie & Tina\Desktop\OTTO_avoid\OTTO_avoid.ino:15:0:
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:523:11: warning: floating constant exceeds range of 'double' [-Woverflow]
9e38697
^
In file included from C:\Users\Eddie & Tina\Desktop\OTTO_avoid\OTTO_avoid.ino:15:0:
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:614:69: error: stray '#' in program
<td id="LC1" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">ifndef</span> Otto_h</td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:618:69: error: stray '#' in program
<td id="LC2" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">Otto_h</span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:627:69: error: stray '#' in program
<td id="LC4" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>Servo.h<span class="pl-pds">></span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:631:69: error: stray '#' in program
<td id="LC5" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>Oscillator.h<span class="pl-pds">></span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:635:69: error: stray '#' in program
<td id="LC6" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>EEPROM.h<span class="pl-pds">></span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:644:69: error: stray '#' in program
<td id="LC8" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>US.h<span class="pl-pds">></span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:648:69: error: stray '#' in program
<td id="LC9" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>LedMatrix.h<span class="pl-pds">></span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:652:70: error: stray '#' in program
<td id="LC10" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>BatReader.h<span class="pl-pds">></span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:661:70: error: stray '#' in program
<td id="LC12" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">"</span>Otto_mouths.h<span class="pl-pds">"</span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:665:70: error: stray '#' in program
<td id="LC13" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">"</span>Otto_sounds.h<span class="pl-pds">"</span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:669:70: error: stray '#' in program
<td id="LC14" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">"</span>Otto_gestures.h<span class="pl-pds">"</span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:687:70: error: stray '#' in program
<td id="LC18" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">FORWARD</span> <span class="pl-c1">1</span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:691:70: error: stray '#' in program
<td id="LC19" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">BACKWARD</span> -<span class="pl-c1">1</span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:695:70: error: stray '#' in program
<td id="LC20" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">LEFT</span> <span class="pl-c1">1</span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:699:70: error: stray '#' in program
<td id="LC21" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">RIGHT</span> -<span class="pl-c1">1</span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:703:70: error: stray '#' in program
<td id="LC22" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">SMALL</span> <span class="pl-c1">5</span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:707:70: error: stray '#' in program
<td id="LC23" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">MEDIUM</span> <span class="pl-c1">15</span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:711:70: error: stray '#' in program
<td id="LC24" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">BIG</span> <span class="pl-c1">30</span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:720:70: error: stray '#' in program
<td id="LC26" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">PIN_Buzzer</span> <span class="pl-c1">13</span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:724:70: error: stray '#' in program
<td id="LC27" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">PIN_Trigger</span> <span class="pl-c1">8</span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:728:70: error: stray '#' in program
<td id="LC28" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">PIN_Echo</span> <span class="pl-c1">9</span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:732:70: error: stray '#' in program
<td id="LC29" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">PIN_NoiseSensor</span> A6</td>
^
In file included from C:\Users\Eddie & Tina\Desktop\OTTO_avoid\OTTO_avoid.ino:15:0:
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:1125:71: error: stray '#' in program
<td id="LC122" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">endif</span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:1150:12: warning: missing terminating ' character
<!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-jump-to-line-form Box-body d-flex" action="" accept-charset="UTF-8" method="get"><input name="utf8" type="hidden" value="✓" />
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:1150:7: error: missing terminating ' character
<!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-jump-to-line-form Box-body d-flex" action="" accept-charset="UTF-8" method="get"><input name="utf8" type="hidden" value="✓" />
^
In file included from C:\Users\Eddie & Tina\Desktop\OTTO_avoid\OTTO_avoid.ino:15:0:
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:1203:5: error: stray '\342' in program
You can’t perform that action at this time.
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:1203:5: error: stray '\200' in program
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:1203:5: error: stray '\231' in program
In file included from C:\Users\Eddie & Tina\Desktop\OTTO_avoid\OTTO_avoid.ino:15:0:
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:9:1: error: expected unqualified-id before '<' token
^
In file included from C:\Users\Eddie & Tina\Desktop\OTTO_avoid\OTTO_avoid.ino:15:0:
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:627:148: error: expected unqualified-id before '<' token
<td id="LC4" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>Servo.h<span class="pl-pds">></span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:627:187: error: expected unqualified-id before '<' token
<td id="LC4" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>Servo.h<span class="pl-pds">></span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:631:148: error: expected unqualified-id before '<' token
<td id="LC5" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>Oscillator.h<span class="pl-pds">></span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:631:192: error: expected unqualified-id before '<' token
<td id="LC5" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>Oscillator.h<span class="pl-pds">></span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:635:148: error: expected unqualified-id before '<' token
<td id="LC6" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>EEPROM.h<span class="pl-pds">></span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:635:188: error: expected unqualified-id before '<' token
<td id="LC6" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>EEPROM.h<span class="pl-pds">></span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:644:148: error: expected unqualified-id before '<' token
<td id="LC8" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>US.h<span class="pl-pds">></span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:644:184: error: expected unqualified-id before '<' token
<td id="LC8" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>US.h<span class="pl-pds">></span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:648:148: error: expected unqualified-id before '<' token
<td id="LC9" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>LedMatrix.h<span class="pl-pds">></span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:648:191: error: expected unqualified-id before '<' token
<td id="LC9" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>LedMatrix.h<span class="pl-pds">></span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:652:149: error: expected unqualified-id before '<' token
<td id="LC10" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>BatReader.h<span class="pl-pds">></span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:652:192: error: expected unqualified-id before '<' token
<td id="LC10" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>BatReader.h<span class="pl-pds">></span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:661:151: error: expected unqualified-id before '<' token
<td id="LC12" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">"</span>Otto_mouths.h<span class="pl-pds">"</span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:661:198: error: expected unqualified-id before '<' token
<td id="LC12" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">"</span>Otto_mouths.h<span class="pl-pds">"</span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:665:151: error: expected unqualified-id before '<' token
<td id="LC13" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">"</span>Otto_sounds.h<span class="pl-pds">"</span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:665:198: error: expected unqualified-id before '<' token
<td id="LC13" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">"</span>Otto_sounds.h<span class="pl-pds">"</span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:669:151: error: expected unqualified-id before '<' token
<td id="LC14" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">"</span>Otto_gestures.h<span class="pl-pds">"</span></span></td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:669:200: error: expected unqualified-id before '<' token
<td id="LC14" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">"</span>Otto_gestures.h<span class="pl-pds">"</span></span></td>
^
In file included from C:\Users\Eddie & Tina\Desktop\OTTO_avoid\OTTO_avoid.ino:15:0:
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:1116:73: error: expected unqualified-id before '<' token
<td id="LC120" class="blob-code blob-code-inner js-file-line">};</td>
^
C:\Program Files (x86)\Arduino\libraries\Otto/Otto.h:1170:31: error: expected unqualified-id before numeric constant
<li class="mr-3">© 2018 <span title="0.16242s from unicorn-7dd9fc48c7-79xf8">GitHub</span>, Inc.</li>
^
C:\Users\Eddie & Tina\Desktop\OTTO_avoid\OTTO_avoid.ino: In function 'void setup()':
OTTO_avoid:47:3: error: 'Otto' was not declared in this scope
Otto.init(PIN_YL,PIN_YR,PIN_RL,PIN_RR,true, -1, -1, 8, 9);
^
C:\Users\Eddie & Tina\Desktop\OTTO_avoid\OTTO_avoid.ino: In function 'void loop()':
OTTO_avoid:58:16: error: 'Otto' was not declared in this scope
Otto.sing(S_surprise);
^
OTTO_avoid:67:13: error: 'Otto' was not declared in this scope
Otto.walk(1,1000,1);
^
C:\Users\Eddie & Tina\Desktop\OTTO_avoid\OTTO_avoid.ino: In function 'void obstacleDetector()':
OTTO_avoid:74:19: error: 'Otto' was not declared in this scope
int distance = Otto.getDistance();
^
exit status 1
'Otto' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Hello there,
after printing the 3d files for OTTO it's unclear to me how the foot and the leg are supposed to fit together. Keeping to the diagrams in OttoDIY_InstructionsManual_V09.PDF on page 4 I end up with a leg that fits very loosely in the new leg (both are OttoDIY+_[foot|leg]_v08.stl).
Up until v5 the feet very asymmetrical with holes which very used to tightly mount the servo.
While I greatly appreciate the fact that the two feet are identical now, it seems I fail to understand how this is supposed to become stable.
Would you have any pictures that show details for an assembled foot + leg combination in v7 oder v8?
As I'm not suggesting an improvement but merely ask a question, let me know whether this (or thingiverse) is the right place.
Thanks guys :)
LedMatrix lib is needed to build the project even though it is no longer included.
As a workaround I pulled it from the zowiLibs repo.
after looking at the differences between these two code sets ... it seems they could be merged into one. Is there interest in doing so? or should we continue developing for both?
Why not use esp32 as microcontroller? It has more ram, 4MB flash memory and built in wifi Bluetooth... That will be great.
I'm getting this error when trying to use the Examples folder.
We want to hold an OTTO building course. You have a wonderful description of the building process in PDF format. I'd like to translate this into German language. The PDF does not seem appropriate to do this.
Can you provide the source file from which you generate the PDF?
I'd like to use that as a basis for the translation.
Thanks in advance!
Regards, J.
Please add support / code for esp32 (and pico) so we can have more rom (4mb) and built in wifi Bluetooth.
I just got my Ottobot, it works well (was missing one screw though for the on/off button, it's also not listed on the part page of the manual by the way. Also, I had to select for the Processor: Atmega328P (old bootloader), that was not mentioned in the manual.)
But I worked around that. I now have the following issue, some programs work, like Smooth criminal and all the "songs". But Otto avoid does not compile, I get the following error:
(By the way I use the Arduino 1.8.8 software)
Arduino: 1.8.8 (Windows 10), Board: "Arduino Nano, ATmega328P"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\nlv24077\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10808 -build-path C:\Users\nlv24077\AppData\Local\Temp\arduino_build_577007 -warnings=none -build-cache C:\Users\nlv24077\AppData\Local\Temp\arduino_cache_726196 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\nlv24077\Documents\Arduino\Otto_avoid\Otto_avoid.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\nlv24077\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10808 -build-path C:\Users\nlv24077\AppData\Local\Temp\arduino_build_577007 -warnings=none -build-cache C:\Users\nlv24077\AppData\Local\Temp\arduino_cache_726196 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\nlv24077\Documents\Arduino\Otto_avoid\Otto_avoid.ino
Using board 'nano' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\nlv24077\\AppData\\Local\\Temp\\arduino_build_577007\\sketch\\Otto_avoid.ino.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src" "C:\\Users\\nlv24077\\AppData\\Local\\Temp\\arduino_build_577007\\sketch\\Otto_avoid.ino.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Oscillator" "C:\\Users\\nlv24077\\AppData\\Local\\Temp\\arduino_build_577007\\sketch\\Otto_avoid.ino.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Oscillator" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\US" "C:\\Users\\nlv24077\\AppData\\Local\\Temp\\arduino_build_577007\\sketch\\Otto_avoid.ino.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Oscillator" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\US" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Otto" "C:\\Users\\nlv24077\\AppData\\Local\\Temp\\arduino_build_577007\\sketch\\Otto_avoid.ino.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Oscillator" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\US" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Otto" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM\\src" "C:\\Users\\nlv24077\\AppData\\Local\\Temp\\arduino_build_577007\\sketch\\Otto_avoid.ino.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Oscillator" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\US" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Otto" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\BatReader" "C:\\Users\\nlv24077\\AppData\\Local\\Temp\\arduino_build_577007\\sketch\\Otto_avoid.ino.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Oscillator" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\US" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Otto" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\BatReader" "C:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src\\avr\\Servo.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Oscillator" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\US" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Otto" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\BatReader" "C:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src\\megaavr\\Servo.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Oscillator" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\US" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Otto" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\BatReader" "C:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src\\nrf52\\Servo.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Oscillator" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\US" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Otto" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\BatReader" "C:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src\\sam\\Servo.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Oscillator" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\US" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Otto" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\BatReader" "C:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src\\samd\\Servo.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Oscillator" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\US" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Otto" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\BatReader" "C:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src\\stm32f4\\Servo.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Oscillator" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\US" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Otto" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\BatReader" "C:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Oscillator\\Oscillator.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Oscillator" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\US" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Otto" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\BatReader" "C:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\US\\US.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Oscillator" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\US" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Otto" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\BatReader" "C:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Otto\\Otto.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Oscillator" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\US" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Otto" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\BatReader" "C:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\BatReader\\BatReader.cpp" -o nul
Generating function prototypes...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Oscillator" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\US" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Otto" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\BatReader" "C:\\Users\\nlv24077\\AppData\\Local\\Temp\\arduino_build_577007\\sketch\\Otto_avoid.ino.cpp" -o "C:\\Users\\nlv24077\\AppData\\Local\\Temp\\arduino_build_577007\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\nlv24077\\AppData\\Local\\Temp\\arduino_build_577007\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "-IC:\\Program Files (x86)\\Arduino\\libraries\\Servo\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Oscillator" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\US" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\Otto" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM\\src" "-IC:\\Users\\nlv24077\\Documents\\Arduino\\libraries\\BatReader" "C:\\Users\\nlv24077\\AppData\\Local\\Temp\\arduino_build_577007\\sketch\\Otto_avoid.ino.cpp" -o "C:\\Users\\nlv24077\\AppData\\Local\\Temp\\arduino_build_577007\\sketch\\Otto_avoid.ino.cpp.o"
In file included from C:\Users\nlv24077\Documents\Arduino\Otto_avoid\Otto_avoid.ino:11:0:
C:\Users\nlv24077\Documents\Arduino\libraries\Otto/Otto.h:97:5: error: 'LedMatrix' does not name a type
LedMatrix ledmatrix;
^
Using library Servo at version 1.1.3 in folder: C:\Program Files (x86)\Arduino\libraries\Servo
Using library Oscillator in folder: C:\Users\nlv24077\Documents\Arduino\libraries\Oscillator (legacy)
Using library US in folder: C:\Users\nlv24077\Documents\Arduino\libraries\US (legacy)
Using library Otto in folder: C:\Users\nlv24077\Documents\Arduino\libraries\Otto (legacy)
Using library EEPROM at version 2.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM
Using library BatReader in folder: C:\Users\nlv24077\Documents\Arduino\libraries\BatReader (legacy)
exit status 1
Error compiling for board Arduino Nano.
Can anyone help me? I have very little experience with Arduino...
By the way, the Otto is really cool! My wife will take it to her class of 8 year olds soon...
All the documentation I can find says I need a "5V buzzer" but it's not clear if this is supposed to be an active or passive buzzer. Links to ebay and amazon will have both, and they look similar.
The pictures look more like an active buzzer (which only is capable of producing one tone (I thinnk?), but I would think you would need a passive one.
I am unsure, any clarification?
Hola,
Esto construyendo el robot otto
Acabo de descargar la librería ledmatrix y la he puesto en el directorio de librerías para arduino.
A la hora de compilar en la IDE de arduino 1.8.5 los programas para manejar el robot, por ejemplo el siguiente
#include <Oscillator.h>
#include <Otto.h>
#include <Otto_gestures.h>
#include <Otto_mouths.h>
#include <Otto_sounds.h>
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Me sale el siguiente error
In file included from C:\Users\Pedro\Documents\Arduino\sketch_mar23a\sketch_mar23a.ino:3:0:
C:\Users\Pedro\Documents\Arduino\libraries\Otto/Otto.h:97:5: error: 'LedMatrix' does not name a type
LedMatrix ledmatrix;
^
exit status 1
Error compilando para la tarjeta Arduino/Genuino Uno.
Este error me sale en otros programas como Otto_avoid_mhs.ino usan la libreria Otto.h.
¿como puedo solucionarlo?
Atentamente
Pedro
Hi,
first of all: thank you for this wonderful project! :)
I'd like to help improve - so here's a first issue report:
when I try to compile OTTO_calibration.ino I get a bunch of error messages (see below).
As far as I can tell, they seem to refer to SerialUI, which seems properly installed to me:
host:libraries justin$ ls -al SerialUI/
total 24
drwxr-xr-x 8 justin staff 272 7 Jun 19:39 .
drwxr-xr-x 53 justin staff 1802 11 Jun 09:07 ..
-rw-r--r-- 1 justin staff 3785 30 Nov 1979 README.md
drwxr-xr-x 4 justin staff 136 7 Jun 19:39 examples
drwxr-xr-x 4 justin staff 136 7 Jun 19:39 extras
-rw-r--r-- 1 justin staff 1256 30 Nov 1979 keywords.txt
-rw-r--r-- 1 justin staff 878 30 Nov 1979 library.properties
drwxr-xr-x 18 justin staff 612 7 Jun 19:39 src
host:libraries justin$ pwd
/Users/justin/Documents/Arduino/libraries
Any idea, what I might be doing wrong?
My environment:
Here's the output I get:
Arduino: 1.8.3 (Mac OS X), Board: "Arduino Nano, ATmega328"
/Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino: In function 'void setup()':
OTTO_calibration:102: error: no matching function for call to 'SUI::Menu::setName(const char [10])'
mainMenu->setName(top_menu_title);
^
/Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:102:35: note: candidate is:
In file included from /Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SerialUI.h:264:0,
from /Users/justin/Documents/Arduino/libraries/SerialUI/src/SerialUI.h:31,
from /Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:24:
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:320:7: note: void SUI::Menu::setName(const __FlashStringHelper*)
void setName(SOVA_FLASHSTRING_PTR namestr);
^
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:320:7: note: no known conversion for argument 1 from 'const char [10]' to 'const __FlashStringHelper*'
OTTO_calibration:103: error: no matching function for call to 'SUI::Menu::subMenu(const char [3], const char [16])'
SUI::Menu * laMenu = mainMenu->subMenu(la_key, la_help);
^
/Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:103:57: note: candidate is:
In file included from /Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SerialUI.h:264:0,
from /Users/justin/Documents/Arduino/libraries/SerialUI/src/SerialUI.h:31,
from /Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:24:
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:308:9: note: SUI::Menu* SUI::Menu::subMenu(const __FlashStringHelper*, const __FlashStringHelper*)
Menu * subMenu(SOVA_FLASHSTRING_PTR key_str, SOVA_FLASHSTRING_PTR help_str=NULL);
^
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:308:9: note: no known conversion for argument 1 from 'const char [3]' to 'const __FlashStringHelper*'
OTTO_calibration:104: error: no matching function for call to 'SUI::Menu::addCommand(const char [2], void (&)(), const char [19])'
laMenu->addCommand(la_plus_key, CB_leftAnklePlus, la_plus_help);
^
/Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:104:65: note: candidate is:
In file included from /Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SerialUI.h:264:0,
from /Users/justin/Documents/Arduino/libraries/SerialUI/src/SerialUI.h:31,
from /Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:24:
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: bool SUI::Menu::addCommand(const __FlashStringHelper*, SUI::MenuCommand_Callback, const __FlashStringHelper*)
bool addCommand(SOVA_FLASHSTRING_PTR key_str, MenuCommand_Callback callback,SOVA_FLASHSTRING_PTR help_str=NULL);
^
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: no known conversion for argument 1 from 'const char [2]' to 'const __FlashStringHelper*'
OTTO_calibration:105: error: no matching function for call to 'SUI::Menu::addCommand(const char [2], void (&)(), const char [19])'
laMenu->addCommand(la_minus_key, CB_leftAnkleMinus, la_minus_help);
^
/Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:105:68: note: candidate is:
In file included from /Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SerialUI.h:264:0,
from /Users/justin/Documents/Arduino/libraries/SerialUI/src/SerialUI.h:31,
from /Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:24:
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: bool SUI::Menu::addCommand(const __FlashStringHelper*, SUI::MenuCommand_Callback, const __FlashStringHelper*)
bool addCommand(SOVA_FLASHSTRING_PTR key_str, MenuCommand_Callback callback,SOVA_FLASHSTRING_PTR help_str=NULL);
^
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: no known conversion for argument 1 from 'const char [2]' to 'const __FlashStringHelper*'
OTTO_calibration:106: error: no matching function for call to 'SUI::Menu::subMenu(const char [3], const char [17])'
SUI::Menu * raMenu = mainMenu->subMenu(ra_key, ra_help);
^
/Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:106:57: note: candidate is:
In file included from /Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SerialUI.h:264:0,
from /Users/justin/Documents/Arduino/libraries/SerialUI/src/SerialUI.h:31,
from /Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:24:
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:308:9: note: SUI::Menu* SUI::Menu::subMenu(const __FlashStringHelper*, const __FlashStringHelper*)
Menu * subMenu(SOVA_FLASHSTRING_PTR key_str, SOVA_FLASHSTRING_PTR help_str=NULL);
^
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:308:9: note: no known conversion for argument 1 from 'const char [3]' to 'const __FlashStringHelper*'
OTTO_calibration:107: error: no matching function for call to 'SUI::Menu::addCommand(const char [2], void (&)(), const char [20])'
raMenu->addCommand(ra_plus_key, CB_rightAnklePlus, ra_plus_help);
^
/Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:107:66: note: candidate is:
In file included from /Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SerialUI.h:264:0,
from /Users/justin/Documents/Arduino/libraries/SerialUI/src/SerialUI.h:31,
from /Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:24:
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: bool SUI::Menu::addCommand(const __FlashStringHelper*, SUI::MenuCommand_Callback, const __FlashStringHelper*)
bool addCommand(SOVA_FLASHSTRING_PTR key_str, MenuCommand_Callback callback,SOVA_FLASHSTRING_PTR help_str=NULL);
^
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: no known conversion for argument 1 from 'const char [2]' to 'const __FlashStringHelper*'
OTTO_calibration:108: error: no matching function for call to 'SUI::Menu::addCommand(const char [2], void (&)(), const char [20])'
raMenu->addCommand(ra_minus_key, CB_rightAnkleMinus, ra_minus_help);
^
/Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:108:69: note: candidate is:
In file included from /Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SerialUI.h:264:0,
from /Users/justin/Documents/Arduino/libraries/SerialUI/src/SerialUI.h:31,
from /Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:24:
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: bool SUI::Menu::addCommand(const __FlashStringHelper*, SUI::MenuCommand_Callback, const __FlashStringHelper*)
bool addCommand(SOVA_FLASHSTRING_PTR key_str, MenuCommand_Callback callback,SOVA_FLASHSTRING_PTR help_str=NULL);
^
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: no known conversion for argument 1 from 'const char [2]' to 'const __FlashStringHelper*'
OTTO_calibration:109: error: no matching function for call to 'SUI::Menu::subMenu(const char [3], const char [14])'
SUI::Menu * lhMenu = mainMenu->subMenu(lh_key, lh_help);
^
/Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:109:57: note: candidate is:
In file included from /Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SerialUI.h:264:0,
from /Users/justin/Documents/Arduino/libraries/SerialUI/src/SerialUI.h:31,
from /Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:24:
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:308:9: note: SUI::Menu* SUI::Menu::subMenu(const __FlashStringHelper*, const __FlashStringHelper*)
Menu * subMenu(SOVA_FLASHSTRING_PTR key_str, SOVA_FLASHSTRING_PTR help_str=NULL);
^
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:308:9: note: no known conversion for argument 1 from 'const char [3]' to 'const __FlashStringHelper*'
OTTO_calibration:110: error: no matching function for call to 'SUI::Menu::addCommand(const char [2], void (&)(), const char [17])'
lhMenu->addCommand(lh_plus_key, CB_leftHipPlus, lh_plus_help);
^
/Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:110:63: note: candidate is:
In file included from /Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SerialUI.h:264:0,
from /Users/justin/Documents/Arduino/libraries/SerialUI/src/SerialUI.h:31,
from /Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:24:
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: bool SUI::Menu::addCommand(const __FlashStringHelper*, SUI::MenuCommand_Callback, const __FlashStringHelper*)
bool addCommand(SOVA_FLASHSTRING_PTR key_str, MenuCommand_Callback callback,SOVA_FLASHSTRING_PTR help_str=NULL);
^
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: no known conversion for argument 1 from 'const char [2]' to 'const __FlashStringHelper*'
OTTO_calibration:111: error: no matching function for call to 'SUI::Menu::addCommand(const char [2], void (&)(), const char [17])'
lhMenu->addCommand(lh_minus_key, CB_leftHipMinus, lh_minus_help);
^
/Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:111:66: note: candidate is:
In file included from /Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SerialUI.h:264:0,
from /Users/justin/Documents/Arduino/libraries/SerialUI/src/SerialUI.h:31,
from /Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:24:
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: bool SUI::Menu::addCommand(const __FlashStringHelper*, SUI::MenuCommand_Callback, const __FlashStringHelper*)
bool addCommand(SOVA_FLASHSTRING_PTR key_str, MenuCommand_Callback callback,SOVA_FLASHSTRING_PTR help_str=NULL);
^
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: no known conversion for argument 1 from 'const char [2]' to 'const __FlashStringHelper*'
OTTO_calibration:112: error: no matching function for call to 'SUI::Menu::subMenu(const char [3], const char [15])'
SUI::Menu * rhMenu = mainMenu->subMenu(rh_key, rh_help);
^
/Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:112:57: note: candidate is:
In file included from /Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SerialUI.h:264:0,
from /Users/justin/Documents/Arduino/libraries/SerialUI/src/SerialUI.h:31,
from /Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:24:
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:308:9: note: SUI::Menu* SUI::Menu::subMenu(const __FlashStringHelper*, const __FlashStringHelper*)
Menu * subMenu(SOVA_FLASHSTRING_PTR key_str, SOVA_FLASHSTRING_PTR help_str=NULL);
^
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:308:9: note: no known conversion for argument 1 from 'const char [3]' to 'const __FlashStringHelper*'
OTTO_calibration:113: error: no matching function for call to 'SUI::Menu::addCommand(const char [2], void (&)(), const char [18])'
rhMenu->addCommand(rh_plus_key, CB_rightHipPlus, rh_plus_help);
^
/Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:113:64: note: candidate is:
In file included from /Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SerialUI.h:264:0,
from /Users/justin/Documents/Arduino/libraries/SerialUI/src/SerialUI.h:31,
from /Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:24:
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: bool SUI::Menu::addCommand(const __FlashStringHelper*, SUI::MenuCommand_Callback, const __FlashStringHelper*)
bool addCommand(SOVA_FLASHSTRING_PTR key_str, MenuCommand_Callback callback,SOVA_FLASHSTRING_PTR help_str=NULL);
^
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: no known conversion for argument 1 from 'const char [2]' to 'const __FlashStringHelper*'
OTTO_calibration:114: error: no matching function for call to 'SUI::Menu::addCommand(const char [2], void (&)(), const char [18])'
rhMenu->addCommand(rh_minus_key, CB_rightHipMinus, rh_minus_help);
^
/Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:114:67: note: candidate is:
In file included from /Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SerialUI.h:264:0,
from /Users/justin/Documents/Arduino/libraries/SerialUI/src/SerialUI.h:31,
from /Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:24:
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: bool SUI::Menu::addCommand(const __FlashStringHelper*, SUI::MenuCommand_Callback, const __FlashStringHelper*)
bool addCommand(SOVA_FLASHSTRING_PTR key_str, MenuCommand_Callback callback,SOVA_FLASHSTRING_PTR help_str=NULL);
^
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: no known conversion for argument 1 from 'const char [2]' to 'const __FlashStringHelper*'
OTTO_calibration:115: error: no matching function for call to 'SUI::Menu::addCommand(const char [5], void (&)(), const char [40])'
mainMenu->addCommand(info_key, CB_info, info_help);
^
/Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:115:52: note: candidate is:
In file included from /Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SerialUI.h:264:0,
from /Users/justin/Documents/Arduino/libraries/SerialUI/src/SerialUI.h:31,
from /Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:24:
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: bool SUI::Menu::addCommand(const __FlashStringHelper*, SUI::MenuCommand_Callback, const __FlashStringHelper*)
bool addCommand(SOVA_FLASHSTRING_PTR key_str, MenuCommand_Callback callback,SOVA_FLASHSTRING_PTR help_str=NULL);
^
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: no known conversion for argument 1 from 'const char [5]' to 'const __FlashStringHelper*'
OTTO_calibration:116: error: no matching function for call to 'SUI::Menu::addCommand(const char [5], void (&)(), const char [34])'
mainMenu->addCommand(save_key, CB_save, save_help);
^
/Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:116:52: note: candidate is:
In file included from /Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SerialUI.h:264:0,
from /Users/justin/Documents/Arduino/libraries/SerialUI/src/SerialUI.h:31,
from /Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:24:
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: bool SUI::Menu::addCommand(const __FlashStringHelper*, SUI::MenuCommand_Callback, const __FlashStringHelper*)
bool addCommand(SOVA_FLASHSTRING_PTR key_str, MenuCommand_Callback callback,SOVA_FLASHSTRING_PTR help_str=NULL);
^
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: no known conversion for argument 1 from 'const char [5]' to 'const __FlashStringHelper*'
OTTO_calibration:117: error: no matching function for call to 'SUI::Menu::addCommand(const char [5], void (&)(), const char [36])'
mainMenu->addCommand(load_key, CB_load, load_help);
^
/Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:117:52: note: candidate is:
In file included from /Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SerialUI.h:264:0,
from /Users/justin/Documents/Arduino/libraries/SerialUI/src/SerialUI.h:31,
from /Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:24:
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: bool SUI::Menu::addCommand(const __FlashStringHelper*, SUI::MenuCommand_Callback, const __FlashStringHelper*)
bool addCommand(SOVA_FLASHSTRING_PTR key_str, MenuCommand_Callback callback,SOVA_FLASHSTRING_PTR help_str=NULL);
^
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: no known conversion for argument 1 from 'const char [5]' to 'const __FlashStringHelper*'
OTTO_calibration:118: error: no matching function for call to 'SUI::Menu::addCommand(const char [6], void (&)(), const char [25])'
mainMenu->addCommand(reset_key, CB_reset, reset_help);
^
/Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:118:55: note: candidate is:
In file included from /Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SerialUI.h:264:0,
from /Users/justin/Documents/Arduino/libraries/SerialUI/src/SerialUI.h:31,
from /Users/justin/Documents/OttoDIY/OTTO_calibration/OTTO_calibration.ino:24:
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: bool SUI::Menu::addCommand(const __FlashStringHelper*, SUI::MenuCommand_Callback, const __FlashStringHelper*)
bool addCommand(SOVA_FLASHSTRING_PTR key_str, MenuCommand_Callback callback,SOVA_FLASHSTRING_PTR help_str=NULL);
^
/Users/justin/Documents/Arduino/libraries/SerialUI/src/includes/SUIMenu.h:100:7: note: no known conversion for argument 1 from 'const char [6]' to 'const __FlashStringHelper*'
exit status 1
no matching function for call to 'SUI::Menu::setName(const char [10])'
My newly build OTTO couldn't walk, because it's right foot was not moving. It was just held in a fixed, angled position. Its right foot and all other servos worked (moved) correctly. By homing, all servos were correctly set into default position.
After some debugging, I could localize the problem: Oscillator::refresh calculated false huge numbers for the right foot servo, because the used offset (_O) was huge. It should be -4. The same with other negative values. Positives worked fine.
Digging deeper I found that Oscillator.h only handles positive values:
void SetO(unsigned int O) {_O=O;};
By changing it to signed int, it works for me:
void SetO(signed int O) {_O=O;};
Did I miss something and my misbehaving OTTO has some other problems, or is this really an issue?
I really want to build otto ninja with esp32 that's fast and have 16MB flash(s3 ) and wifi for app control. But i couldn't find any tutorial for esp32. Is it possible? (I'm absolute noob). And can it fit inside otto ninja 3d printed parts?
Compiling Otto.h
file fails as LedMatrix.h
is missing.
I haven't found this library anywhere on the repo and somewhere else. This might be an old library which was shipped with older Arduino IDE installations, but I was not able to find it there too.
Arduino IDE version: 1.8.5
Failing on: Otto.h:9 (#include <LedMatrix.h>
)
OS: Ubuntu 16.04.4 LTS
As quick workaround would be disabling all calls to LedMatrix
library.
After installing "Otto.zip" library, edit Otto.h
and Otto.cpp
files on ~/Arduino/libraries/Otto/:
diff --git a/Otto.cpp b/Otto.cpp
index 2fa49f1..67bea9c 100644
--- a/Otto.cpp
+++ b/Otto.cpp
@@ -674,24 +674,24 @@ unsigned long int Otto::getAnimShape(int anim, int index){
void Otto::putAnimationMouth(unsigned long int aniMouth, int index){
- ledmatrix.writeFull(getAnimShape(aniMouth,index));
+ /* ledmatrix.writeFull(getAnimShape(aniMouth,index)); */
}
void Otto::putMouth(unsigned long int mouth, bool predefined){
if (predefined){
- ledmatrix.writeFull(getMouthShape(mouth));
+ /* ledmatrix.writeFull(getMouthShape(mouth)); */
}
else{
- ledmatrix.writeFull(mouth);
+ /* ledmatrix.writeFull(mouth); */
}
}
void Otto::clearMouth(){
- ledmatrix.clearMatrix();
+ /* ledmatrix.clearMatrix(); */
}
diff --git a/Otto.h b/Otto.h
index 7ed6116..2ce4018 100644
--- a/Otto.h
+++ b/Otto.h
@@ -6,7 +6,7 @@
#include <EEPROM.h>
#include <US.h>
-#include <LedMatrix.h>
+/* #include <LedMatrix.h> */
#include <BatReader.h>
#include "Otto_mouths.h"
@@ -95,7 +95,7 @@ class Otto
private:
- LedMatrix ledmatrix;
+ /* LedMatrix ledmatrix; */
BatReader battery;
Oscillator servo[4];
US us;
I've just found LedMatrix code here: https://github.com/OttoDIY/Matrix_hands/tree/master/libraries/LedMatrix
Hello,
I cannot get my changes to save to the EEPROM.
I can make the adjustments and then "save", then "quit".
However, when I run another program the settings seem to have disappeared and Otto's ankles and hips have reverted to the positions they were in prior to calibration.
Thanks for the help!
Hi,
I see several ways to download the whole project in one file:
a) github -> download the file "OTTO_DIY_all.zip"
b) github -> using the green button "clone or download" -> "Download ZIP"
Is this intentional?
The disadvantages I see:
Regards, J.
Hi,
I think it would be nice to have the STL files directly in the github repo and not within the Zip file.
This way people would be able to see straight away, whether the STL files have changed.
The difference between two versions can not be made visible - but it would be easier to track the changes.
What do you think?
Regards, J.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.