Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about the package #1

Open
federicohyo opened this issue Apr 19, 2017 · 0 comments
Open

Question about the package #1

federicohyo opened this issue Apr 19, 2017 · 0 comments

Comments

@federicohyo
Copy link

I have a question about the package and more in general on the system adopted in pycaer.
I am trying to test your package, for example I want to read the info from the DVS128 device using the following instructions:

from pycaer.dvs128.controller import Controller
from pycaer.dvs128.consts import *

c = Controller()
c.open_device()
info = c._libcaer.caerDVS128InfoGet()

info should be a pointer to a c "struct caer_dvs128_info".. how is this parsed? I get an integer type...

In [15]: type(info)
Out[15]: int
In [16]: info
Out[16]: 1470626704

In substance, I do not understand how pointers (to libcaer structs) are handled here.
I think I need a bit of explanation...

Thank you for sharing the code!
Federico

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant