I'm in #dataflow for probably the rest of the day if you want to nail this stuff down.
I think the best release plan is to make the Makefiles build with Fink, then use a script to embed the libraries. This works great for readanysf~ and the test versions of fux_kinect, pix_freenect, etc.
Let me know about building the audio support, and I'll add it to the package.
.hc
On Jan 22, 2012, at 3:46 PM, Matthias Kronlachner wrote:
ah i just realized that version 0.1.2 has been tagged 2 days ago.. i think it's a good idea to update the fink package.
i just tried to build freenect and pix_freenect against libfreenect 0.1.2 from fink without any problems. the externals work.
i didn't have any problems so far with the latest libfreenect version and it should be backward compatible since the first official release. just audio isn't working by now under osx but the fink package isn't built with audio support anyway (what is fine for the moment).
by now i have libfreenect and libusb included in the build folder. would it be better to remove those and "force" users to install those via fink?
matthias
Am 22.01.12 22:05, schrieb Hans-Christoph Steiner:
Ah ok, good to know. I just created a libfreenect 0.1.2 package in Fink/unstable. I'll try it there. Once we figure out that libfreenect 0.1.2 is stable, I'll move it over. Or if you think 0.1.2 is just all around better and doesn't break other code, I'll do it whenever you say its ready.
.hc
On Jan 22, 2012, at 1:45 PM, Matthias Kronlachner wrote:
hi hans!
the problem is that libfreenect from fink is not up to date. the freenect_device_attributes struct isn't defined in the version from fink -> you need that to create a freenect object with specific serial number.
it works if you use latest libfreenect from git repo.
i think there should be a new libfreenect release coming soon. at least there are discussions going on in the openkinect newsgroup about that.
maybe you can update the libfreenect fink package? it is also needed for pix_freenect.
matthias
Am 21.01.12 07:13, schrieb Hans-Christoph Steiner:
I tried the [freenect] object but the C code doesn't build. I got these errors:
gcc -I/Users/hans/auto-build/pd-extended/externals/Gem/src -I/Applications/Pd-extended.app/Contents/Resources/include -I/sw/include/libfreenect -I/sw/include -g -fast -msse3 -o freenect.o -c freenect.c freenect.c: In function ‘freenect_bang’: freenect.c:55: error: dereferencing pointer to incomplete type freenect.c:56: error: dereferencing pointer to incomplete type freenect.c: In function ‘freenect_new’: freenect.c:172: error: dereferencing pointer to incomplete type freenect.c:173: error: dereferencing pointer to incomplete type
Also, I made a Makefile that works for me:
.hc
On Jan 9, 2012, at 3:26 AM, Matthias Kronlachner wrote:
i added a small external that allows to control motor/led of Kinect and can output the accelerometer data via libfreenect.
you can use this in combination to pix_openni. get it here:
https://github.com/kronihias/freenect
just the audio external with resampling included missing.... somebody willing to help?
matthias
Am 09.01.12 07:21, schrieb Budi Prakosa:
awesome!!
On Mon, Jan 9, 2012 at 8:18 AM, Matthias Kronlachner m.kronlachner@student.tugraz.at wrote: > hello again! > > if you want to use skeleton data and hand tracking (similar to OSCeleton) > combined with rgb and depth streams from Kinect Sensor you can do this with > the new pix_openni external. get it here: > > https://github.com/kronihias/pix_openni > > binaries for osx in build folder. > you will need to install OpenNI, NITE and SensorKinect -> see README > > initialization of openni and nodes needs some time and pd freezes - keep > that in mind! > i hope it's stable, i haven't tested it excessively now. > > currently it supports just 1 kinect sensor. i don't have access to two > cameras in the near future so help would be appreciated. > > > matthias > > > Am 05.01.12 09:17, schrieb Matthias Kronlachner: > > hi everybody! > > i did a update to my pix_freenect external for kinect and moved it into a > git repo. > get it here: http://github.com/kronihias/pix_freenect > > ready to use binaries for osx (including libusb&libfreenect) are in the > build folder. > > major improvements: > * open specific Kinect sensor by serial number, not only by id (that may > change every time pd is restarted) – useful for multiple Kinect > installations > * output registered depthmap -> rgb and depth images are aligned (less > offset between those two pictures - depending on distance) > * output depthmap directly as millimeter values (16 bit in red& green > channels) > * resolution of rgb image can be set to 1280×1024 > > i also added a folder with examples - currently just one but i hope there > will come more soon.... > > have fun. > > matthias > > > _______________________________________________ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > > _______________________________________________ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list >
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
There is no way to peace, peace is the way. -A.J. Muste
Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish. -William Carlos Williams
"A cellphone to me is just an opportunity to be irritated wherever you are." - Linus Torvalds