Permalink
Commits on Jul 22, 2011
  1. Compile fixes for MinGW.

    zarvox committed Jul 22, 2011
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
Commits on Jul 21, 2011
  1. examples/CMakeLists.txt: Trivial whitespace changes.

    zarvox committed Jul 21, 2011
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
  2. as3-server.c: drop some lines that look like a mismerge and appear to…

    zarvox committed Jul 21, 2011
    … just waste CPU
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
Commits on Jul 19, 2011
  1. Merge from https://github.com/corrado72/openkinect "unstable"

    imekinox committed Jul 19, 2011
    Solved some conflicts
    
    Signed-off-by: Juan Carlos del Valle <jc.ekinox@gmail.com> (imekinox)
  2. Server source separated into libraries, this makes the code easier to…

    imekinox committed Jul 19, 2011
    … read.
    
    Signed-off-by: Juan Carlos del Valle <jc.ekinox@gmail.com> (imekinox)
Commits on Jul 17, 2011
  1. Add support for opening some subset of the three Kinect devices (moto…

    zarvox committed Jul 16, 2011
    …r, camera, audio).
    
    This allows libfreenect to be used alongside other Kinect drivers more easily,
    as well as allows different processes to use libfreenect for different
    subdevices.  Examples of things you can do now that you couldn't do before:
    
    1) use libfreenect's audio and motor support alongside OpenNI's camera support
    2) use libfreenect's video support in one process while processing audio with
    another process
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com> (zarvox)
Commits on Jul 9, 2011
  1. src/audio.c: (re)use the NUM_XFERS and PKTS_PER_XFER values used for …

    zarvox committed Apr 17, 2011
    …the camera.
    
    This may require further tuning for non-Linux platforms, particularly since
    we may soon hit the upper bound of the number of isochronous transfers the
    libusb context can handle if we run both audio and video simultaneously.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
  2. src/CMakeLists.txt: use spaces instead of tabs for indentation

    zarvox committed Apr 17, 2011
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
  3. Merge pull request #217 from zarvox/audio

    zarvox committed Jul 9, 2011
    Preliminary audio support
    
    This patchset adds support for obtaining the audio core firmware, booting the 
    audio core, and streaming audio from the four microphones. A demonstration is
    provided in examples/wavrecord.c, which writes each microphone's output to a
    WAV file.  A viewer is provided in examples/micview.c, which draws the waveforms
    of the four microphones to the screen in realtime.
    
    Since audio can't be supported on Windows without a different firmware and driver, 
    I've made audio support a build-time option (BUILD_AUDIO).
    
    Due to the questionable legality of directly redistributing the audio core 
    firmware, I've added a python script which downloads the latest Xbox360
    firmware update from Microsoft and extracts the firmware from that .zip file.
    The firmware is installed as $PREFIX/share/audios.bin, which is great for
    people running straight from the source, but we also have people who want to
    use binary packages. For them (and their heroic packagers), I've added a build
    option BUILD_REDIST_PACKAGE that provides the fwfetcher.py script, rather than
    audios.bin (which would probably be illegal to redistribute directly). Packages
    should include a postinstallation hook to download the firmware and place it in
    /usr/share/libfreenect/, or something of the sort.
    
    This patch adds more API than it guarantees is correctly implemented; further, 
    timestamps need to be added somewhere, so this API is by no means stable.
    Relevant declarations are contained in a new header: libfreenect-audio.h.
Commits on May 29, 2011
  1. C# wrapper: Modify OpenTK fetch script to set the download output fil…

    zarvox committed May 29, 2011
    …ename.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
  2. Fixed VS2010 projects/solutions. Also changed references to OpenTK dl…

    lostinspacebar committed May 29, 2011
    …ls to a local support folder. The fetch_opentk script gets the dlls and puts them in the right place.
    
    Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com> (LostInCake)
Commits on May 27, 2011
  1. Added in License information to KinectDemo source files

    lostinspacebar committed May 27, 2011
    Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com> (LostInCake)
  2. Small fix, had some stray commented out code

    lostinspacebar committed May 27, 2011
    Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com> (LostInCake)
  3. Mode selection is more robust. Not entirely dependent on index like b…

    lostinspacebar committed May 27, 2011
    …efore. Mode selection is also now filtered to the few useful modes available. Small improvements in base library.
    
    Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com> (LostInCake)
Commits on May 26, 2011
  1. Cleaned up wrapper code to reduce duplicate code. Kinect Demo now run…

    lostinspacebar committed May 26, 2011
    …s at around 25FPS per feed. There are still instances where, if both RGB and Depth feeds aren't started quickly in succession, the FPSes are down to 15-18. Need to investigate.
    
    Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com> (LostInCake)
Commits on May 22, 2011
  1. Modified SwapBufferCollection to swap handles directly instead of the…

    lostinspacebar committed May 22, 2011
    … silly indices thing I had.
    
    Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com> (LostInCake)
  2. Removed some unecessary project related files from VS2008 folders.

    lostinspacebar committed May 22, 2011
    Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com> (LostInCake)
Commits on May 21, 2011
  1. More changes to PreviewControl. RGB/IR work in 8 bit formats. Depth w…

    lostinspacebar committed May 21, 2011
    …orks in 10/11 bit formats.
    
    Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com> (LostInCake)
Commits on May 19, 2011
  1. Changed KinectDemo to be one window. Hopefully helps FPS.

    lostinspacebar committed May 19, 2011
    Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com> (LostInCake)
  2. Updated project for the move of preview window classes.

    lostinspacebar committed May 19, 2011
    Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com> (LostInCake)
  3. Had preview window files in the wrong place by accident. Moved to tes…

    lostinspacebar committed May 19, 2011
    …t folder.
    
    Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com> (LostInCake)
Commits on May 9, 2011
  1. Going to stick with two windows for now. Added some UI stuff to switc…

    lostinspacebar committed May 9, 2011
    …h between point cloud and color map. Still need to figure out OpenGL stuff for point cloud.
    
    Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com> (LostInCake)
  2. Always build as a universal Binary

    James Harris committed with zarvox May 6, 2011
    This removes conflicts with OpenNI and other kinect libraries.
    
    Signed-off-by: James Harris <james.russell.harris@gmail.com>
  3. Fixed problem with depth preview. 10bit and 11bit previews for depth …

    lostinspacebar committed May 9, 2011
    …now working. Might combine previews back into one window though. 2 GLControls running reduces FPS
    
    Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com> (LostInCake)
  4. Small changes to swapbuffercollection. RGB and IR feeds now work. Dep…

    lostinspacebar committed May 9, 2011
    …th preview still under work.
    
    Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com> (LostInCake)
Commits on May 7, 2011
  1. Moved over process events stuff into the library. End-user no longer …

    lostinspacebar committed May 7, 2011
    …has to have a thread running themselves that runs process_events. Library takes care of that - user should be able to just call Stop()/Start() on cameras without worrying about shit exploding. Cameras no longer have to be manually stopped before changing mode. Still need to make preview windows actually show data.
    
    Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com> (LostInCake)
  2. Moved around some UI in MainWindow for Kinect. Added Motor control an…

    lostinspacebar committed May 7, 2011
    …d status information. UI now doesn't freeze if you disconnect. However, it does crash wonderfully if you disconnect while depth or video is running. Need to figure out why. Both depth and video now do send callbacks. Just need to show the data in the preview windows
    
    Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com> (LostInCake)
Commits on May 5, 2011
  1. Fixed some struct stuff in DepthCamera so info is loaded right (types…

    lostinspacebar committed May 5, 2011
    … and offsets were wrong). Fleshed out KinectDemo UI. Depth camera doesn't want to start for some reason.
    
    Signed-off-by: Aditya Gaddam <adityagaddam@gmail.com> (LostInCake)
Commits on May 4, 2011
  1. initial support for disconnecting the Kinect device on-the-fly withou…

    slomp committed May 4, 2011
    …t hanging the system
    
    Signed-off-by: Marcos Paulo Berteli Slomp <mslomp@gmail.com>
Commits on Apr 29, 2011
  1. wrappers/python: update already-generated freenect.c

    zarvox committed Apr 29, 2011
    After the API change, we never updated the pre-Cython'd freenect.c
    that we ship for the people with no Cython or too old a Cython to
    correctly generate the bindings.  This commit fixes that.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
  2. src/usb_libusb10.c: Whoops, missed the other kernel detach call.

    zarvox committed Apr 29, 2011
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
Commits on Apr 18, 2011
  1. Fixes to allow compiling under C++ casting rules.

    zarvox committed Apr 18, 2011
    This should fix the build under Win32.
    
    I also took this opportunity to fix the MAKE_RESERVED macros and
    RESERVED_TO_* macros in cameras.c, which (while coincidentally functional)
    did not correctly do what they were meant to do.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
  2. src/usb_libusb.c: Wrap the libusb detach-the-kernel-driver routines i…

    zarvox committed Apr 18, 2011
    …nside ifdefs; these functions aren't provided on Windows.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
  3. the glview demo performs a series of useless gl calls or make use of …

    Francois Coulombe committed with zarvox Apr 17, 2011
    …a bunch of useless gl functionalities
    
    we do not use the depth buffer so we may as well not write to it
    we keep re-writing over the color buffer so there's no point clearing it (its an expensive operation)
    we do not use blending so we may as well disable it
    we do not use alpha test so we may as well disable it
    Signed-off-by: Francois Coulombe <fcoulombe@silentfalls.org>