<< return to Pixycam.com

info

Hi,

i have a little question, how i can set the signature to set the color to track by code (arduino IDE) instead of PixyMon?

can i set it in sketch of arduino, and after that, pull out the parameters of block for example type, x and y and save it in array?

thanks

or well, if i set a signature by PixyMon, cam remains programmed with that color signature when i connect it to arduino, and the sketch is used to set or take the parameters by cam just programmed? (i’m sorry for my bad english)

It sounds like you want to read signatures from Pixy and save in Arduino and then reload them later?

This isn’t currently supported… please describe what you’re trying to do— maybe we can find a better solution for you.

thanks!

yes i need to save blocks parameters:
Detected 1:
block 0: sig: 1 x: 56 y: 102 width: 61 height: 61
Detected 1:
block 0: sig: 1 x: 173 y: 114 width: 60 height: 61 in to an array or in to a struct, because i try to set the state of 5 actuators if pixy see some objects!

if i need to modify the code, for example to implement some function, i need to modify the pixy.h and pixy.cpp?

Gianni,
Please describe why you want to do this — maybe we can find a better solution for you.

thanks!

i try to track 10 object, and for every object tracked,will be set the state of relative actuator, if one of object doesn’t detected the relative actuator done nothing.

i had work with assis x, so i give to the program tot range in base of the object i need to trck, so if the cam see the object in the range x:(0-20) pixel the actuator work otherwise no and ecc for other

i had resolve the problem, but the only thing i don’t be able to set the number of block for each objects detected, for example, with the same signature, so with the same colour, i need the block about that object. So, how can i set the program to output blocks about every objects?

i have buy 3 pixy… maybe a small response would be welcome…

Hi Gianni,
Yes… sorry, we’re having a really difficult time understanding your problem… can you try to describe more clearly?