5 responses to “Follow the leader: robot style”

  1. Kyle

    im getting a lot of errors in the code that i can not figure out. i have all the necessary libraries, etc..here is what I’m getting when i verify….

    Basically the main problem is – class PVision’ has no member named ‘read’

    In file included from IR_PanTilt_Robot.ino:16:

    C:\Users\kyle\Desktop\Electronics\Program Data\arduino-1.0.3\libraries\PVision/PVision.h:10:24: error: WConstants.h: No such file or directory

    In file included from IR_PanTilt_Robot.ino:16:
    C:\Users\kyle\Desktop\Electronics\Program Data\arduino-1.0.3\libraries\PVision/PVision.h:26: error: ‘byte’ does not name a type

    C:\Users\kyle\Desktop\Electronics\Program Data\arduino-1.0.3\libraries\PVision/PVision.h:36: error: ‘byte’ does not name a type

    C:\Users\kyle\Desktop\Electronics\Program Data\arduino-1.0.3\libraries\PVision/PVision.h:48: error: ‘byte’ does not name a type

    C:\Users\kyle\Desktop\Electronics\Program Data\arduino-1.0.3\libraries\PVision/PVision.h:52: error: ‘byte’ has not been declared

    C:\Users\kyle\Desktop\Electronics\Program Data\arduino-1.0.3\libraries\PVision/PVision.h:52: error: ‘byte’ has not been declared

    C:\Users\kyle\Desktop\Electronics\Program Data\arduino-1.0.3\libraries\PVision/PVision.h:53: error: ‘byte’ does not name a type

    IR_PanTilt_Robot.ino: In function ‘void loop()’:

    IR_PanTilt_Robot:71: error: ‘class PVision’ has no member named ‘read’
    The

  2. Kyle

    Basically the mane problem is that IDE is stating “class PVision has no member named read.

  3. Kyle

    I first started by re-downloading the PVision library. I deleted it from the core folder, placed it in the libraries folder in my sketch book, opened the sketch “PVision_example.pde” (I think that’s what it is called) i verify and it tells me the following

    (The file “PVision_example.pde” needs to be in a sketch folder named “PVision_example”. Create this folder, move the file, and continue?) “continue” or Cancel” are my options, and i click continue.

    After this it creates the folder and up pops the example sketch. When i verify i get the same thing;

    ‘class PVision’ has no member named ‘read’

    I have never had a problem with any library that i have installed in the past. I have no idea why this is happening. What could I be doing Wrong? Should my sketch folder be located in a specific place? The sketch folder automatically made its place in my documents folder. But i have no problem accessing any of my sketches.!!!!!!!!!!!!!!

Leave a Reply

*