top of page

Clinic

Public·125 members

Strange behavior

Hi! I made it almost all the way through getting this thing made without any real problems. I got to compiling the Nybble.ino file and I get a bunch of compile warnings. It uploads anyway, but it only semi works. I don't know if the warnings and the behavior are related, but it's the only indication of something going wrong.


The only thing I can think of where I deviated from the assembly instructions while doing the software was at 3.2.2: Install by adding .Zip library. After unzipping the whole repository, the individual libraries it says to add weren't in zip files, so I zipped them myself and added them that way.


Thank you! I'm excited to get it working.



Some of the warnings:


In file included from C:\Users\gen\Desktop\my stuff\robocat\OpenCat\Nybble\Nybble.ino:31:0:


sketch\WriteInstinct/OpenCat.h:603:1: warning: narrowing conversion of '-7.8e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]




C:\Users\gen\Desktop\my stuff\robocat\OpenCat\Nybble\Nybble.ino: In function 'void setup()':


C:\Users\gen\Desktop\my stuff\robocat\OpenCat\Nybble\Nybble.ino:375:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]


motion.loadBySkillName("rest");



C:\Users\gen\Documents\Arduino\libraries\MPU6050\MPU6050.h:436:7: note: a different type is defined in another translation unit


class MPU6050 {

96 Views
Rongzhong Li
Rongzhong Li
Apr 25, 2019

@Jason Lee Thank you! Now I feel better to take some dinner!

bottom of page