Open avilleret opened 11 years ago
hi!
thank you! i think the openni driver for kinect does not support identification by serial number. so this could cause problems with the kinect sensor.
i will test those things in the end of august with osx and kinect and merge the changes if they don't break anything for this configuration.
matthias
On 7/24/13 11:28 PM, Antoine Villeret wrote:
hi matthias,
i've made some changes on pix_openni feel free to merge them to your repo
it's only tested on Ubuntu with an Asus Xtion I could test it with two kinect in the first week of august
regards
a
You can merge this Pull Request by running
git pull https://github.com/avilleret/pix_openni master
Or view, comment on, or merge it at:
https://github.com/kronihias/pix_openni/pull/4
Commit Summary
- add an enumerate message that trigs the same method as bang
- updated help patch according to last code modifications
- linux version uses pkg-config data for pd and Gem
- add methods to select device by id and serial on the fly
- update
- something is broken
- update
- save modifications
- fix crash on gemwin recreation
- [device( message works both with float (id) and symbol (serial) argument
- first argument could be serial (symbol)
- save changes
add verbose method to change verbosity level
File Changes
- M Makefile https://github.com/kronihias/pix_openni/pull/4/files#diff-0 (11)
- M pix_openni-help.pd https://github.com/kronihias/pix_openni/pull/4/files#diff-1 (88)
- M pix_openni.cc https://github.com/kronihias/pix_openni/pull/4/files#diff-2 (495)
M pix_openni.h https://github.com/kronihias/pix_openni/pull/4/files#diff-3 (17)
Patch Links:
- https://github.com/kronihias/pix_openni/pull/4.patch
- https://github.com/kronihias/pix_openni/pull/4.diff
hi,
you're seem to be right, I bought a second hand Kinect yesterday and it send 0x00000000 as a serial number... I don't try another kinect device but I'm pretty sure to get the same result...
But under Ubuntu, the Kinect doesn't work with OpenNI, now I got Open failed: Failed to set USB interface! And maybe this is why I got 0x00000000 serial...
So i'm trying to make my kinect working on Ubuntu with OpenNI 2.x (my xtion do work with the latest OpenNI version) and if it works, I may update the pix_openni to OpenNI version 2
++ a
do it yourself http://antoine.villeret.free.fr
2013/7/25 Matthias Kronlachner notifications@github.com
hi!
thank you! i think the openni driver for kinect does not support identification by serial number. so this could cause problems with the kinect sensor.
i will test those things in the end of august with osx and kinect and merge the changes if they don't break anything for this configuration.
matthias
On 7/24/13 11:28 PM, Antoine Villeret wrote:
hi matthias,
i've made some changes on pix_openni feel free to merge them to your repo
it's only tested on Ubuntu with an Asus Xtion I could test it with two kinect in the first week of august
regards
a
You can merge this Pull Request by running
git pull https://github.com/avilleret/pix_openni master
Or view, comment on, or merge it at:
https://github.com/kronihias/pix_openni/pull/4
Commit Summary
- add an enumerate message that trigs the same method as bang
- updated help patch according to last code modifications
- linux version uses pkg-config data for pd and Gem
- add methods to select device by id and serial on the fly
- update
- something is broken
- update
- save modifications
- fix crash on gemwin recreation
- [device( message works both with float (id) and symbol (serial) argument
- first argument could be serial (symbol)
- save changes
- add verbose method to change verbosity level
File Changes
- M Makefile https://github.com/kronihias/pix_openni/pull/4/files#diff-0 (11)
- M pix_openni-help.pd https://github.com/kronihias/pix_openni/pull/4/files#diff-1 (88)
- M pix_openni.cc https://github.com/kronihias/pix_openni/pull/4/files#diff-2 (495)
- M pix_openni.h https://github.com/kronihias/pix_openni/pull/4/files#diff-3 (17)
Patch Links:
— Reply to this email directly or view it on GitHubhttps://github.com/kronihias/pix_openni/pull/4#issuecomment-21536012 .
for openni 2 i suggest to rename the external (create a new one) to pix_openni2. i think there is no Kinect hardware backend yet available for OpenNI 2.
it only works with the Microsoft Kinect SDK under Windows, but not for OSX or Linux. therefore i want to keep the compatibility with the original Kinect sensor which i was trying to achieve with pix_openni.
i think there is not really a big improvement in OpenNI 2 for the moment anyway.
best, matthias
On 7/28/13 1:24 PM, Antoine Villeret wrote:
hi,
you're seem to be right, I bought a second hand Kinect yesterday and it send 0x00000000 as a serial number... I don't try another kinect device but I'm pretty sure to get the same result...
But under Ubuntu, the Kinect doesn't work with OpenNI, now I got Open failed: Failed to set USB interface! And maybe this is why I got 0x00000000 serial...
So i'm trying to make my kinect working on Ubuntu with OpenNI 2.x (my xtion do work with the latest OpenNI version) and if it works, I may update the pix_openni to OpenNI version 2
++ a
do it yourself http://antoine.villeret.free.fr
2013/7/25 Matthias Kronlachner notifications@github.com
hi!
thank you! i think the openni driver for kinect does not support identification by serial number. so this could cause problems with the kinect sensor.
i will test those things in the end of august with osx and kinect and merge the changes if they don't break anything for this configuration.
matthias
On 7/24/13 11:28 PM, Antoine Villeret wrote:
hi matthias,
i've made some changes on pix_openni feel free to merge them to your repo
it's only tested on Ubuntu with an Asus Xtion I could test it with two kinect in the first week of august
regards
a
You can merge this Pull Request by running
git pull https://github.com/avilleret/pix_openni master
Or view, comment on, or merge it at:
https://github.com/kronihias/pix_openni/pull/4
Commit Summary
- add an enumerate message that trigs the same method as bang
- updated help patch according to last code modifications
- linux version uses pkg-config data for pd and Gem
- add methods to select device by id and serial on the fly
- update
- something is broken
- update
- save modifications
- fix crash on gemwin recreation
- [device( message works both with float (id) and symbol (serial) argument
- first argument could be serial (symbol)
- save changes
- add verbose method to change verbosity level
File Changes
- M Makefile https://github.com/kronihias/pix_openni/pull/4/files#diff-0 (11)
- M pix_openni-help.pd https://github.com/kronihias/pix_openni/pull/4/files#diff-1 (88)
- M pix_openni.cc https://github.com/kronihias/pix_openni/pull/4/files#diff-2 (495)
- M pix_openni.h https://github.com/kronihias/pix_openni/pull/4/files#diff-3 (17)
Patch Links:
— Reply to this email directly or view it on GitHubhttps://github.com/kronihias/pix_openni/pull/4#issuecomment-21536012 .
— Reply to this email directly or view it on GitHub https://github.com/kronihias/pix_openni/pull/4#issuecomment-21682103.
hi matthias,
i've made some changes on pix_openni feel free to merge them to your repo
it's only tested on Ubuntu with an Asus Xtion I could test it with two kinect in the first week of august
regards
a