<< return to Pixycam.com

Get_raw_frame has error

hello
I want to get a frame data.
So I run get_raw_frame but It has error

I run this, It has segmentation fault

I think catching RGB value access non-allocated memory.

How can I get raw_data from pixy?

I use pixy2 and linux

Hello,
Did you run the “build_all.sh” in the ~/scripts directory? Did it run successfully?

I’m not sure why it’s crashing. It works fine on our end, but it’s a new demo. Can you add some debugging printf’s to narrow down where it is crashing?

Edward

Hello

I did “build_all.sh” and It was running successfully.

I think in function “demosaic” has segmentation fault(core dump).

It gets an error as soon as it enter that function I think.

My hardware firmware is 3.0.10.

Hello,
Sorry – you need to be running version 3.0.11 and PixyMon 3.0.24 (recommended).

Download and install PixyMon 3.0.24 and it should prompt you to upgrade your firmware to 3.0.11 (you don’t need to manually download firmware 3.0.11)

https://pixycam.com/downloads-pixy2/

Edward

Hello

Thanks

My problem is solved

1 Like