Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: k4w-wip

Mar 30, 2012

  1. Fix compiler warning in freenect_set_smoothing_mode.

    Signed-off-by: Rene Wagner <rwagner@informatik.uni-bremen.de>
    authored March 30, 2012
  2. Pseudo near mode for non-K4W devices.

    This adjusts the IR gain only which isn't as good as the K4W
    near mode but avoids overexposure near the 50cm hard limit
    on non-K4W devices.
    
    Signed-off-by: Rene Wagner <rwagner@informatik.uni-bremen.de>
    authored March 30, 2012

Mar 26, 2012

  1. Add support for enabling near mode with new K4W.

    Thanks to dxli and nneonneo for their initial work on this:
    
    OpenKinect#274
    
    Signed-off-by: Rene Wagner <rwagner@informatik.uni-bremen.de>
    authored March 26, 2012
  2. Fix freenect_set_smoothing_mode documentation.

    Signed-off-by: Rene Wagner <rwagner@informatik.uni-bremen.de>
    authored March 26, 2012
  3. Expose depth smoothing mode register through API.

    Signed-off-by: Rene Wagner <rwagner@informatik.uni-bremen.de>
    authored March 26, 2012

Mar 25, 2012

  1. Drew Fisher

    Preliminary support for Kinect for Windows hardware, at the expense o…

    …f LED/motor support for normal devices and messiness. Needs review and more testing, as well as some way to stub out the LED/motor calls.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
    authored February 12, 2012

Feb 05, 2012

  1. Drew Fisher

    Use unions to perform safe type-punning.

    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
    authored February 05, 2012
  2. Drew Fisher

    Fix build on Windows after changing includes from <libusb-1.0/libusb.…

    …h> to <libusb.h>
    
    Also obtain struct timeval from the winsock headers.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
    authored February 05, 2012
  3. Nicolas Bourdaud

    Fix cmake libusb search and fix libusb include

    Adjust cmake test for libusb library so that the compatible libusb for
    freebsd can be found.  Since freebsd's libusb header are located in a
    different place from libusb-1.0, the includes in the source code must be
    adjusted using #include <libusb.h>.  Actually those new include statements
    are those that libusb-1.0 really expects to be used (see libusb-1.0.pc
    cflags to verify this). With this commit, libfreenect is buildable on
    freebsd.
    
    Signed-off-by: Nicolas Bourdaud <nicolas.bourdaud@gmail.com>
    authored January 19, 2012 zarvox committed February 05, 2012
  4. Nicolas Bourdaud

    Remove libusb.h include from libfreenect.h

    typedef freenect_usb_context as void, as it is already for win32. That way,
    we drop the need to have a properly installed developpement files of libusb
    when we don't use it directly. This fix also partly the problem of
    discrepancy between the include paths of libusb on freebsd and libusb-1.0
    
    Signed-off-by: Nicolas Bourdaud <nicolas.bourdaud@gmail.com>
    authored January 19, 2012 zarvox committed February 05, 2012
  5. Nicolas Bourdaud

    Hides unexported symbols

    Mark all non static internal functions with visibility hidden on
    ELF platform. Declare some internal symbols that were meant to have
    static linkage as such. On win32 the hidden visibility is no op since
    it is the default behavior.
    
    Signed-off-by: Nicolas Bourdaud <nicolas.bourdaud@gmail.com>
    authored January 26, 2012 zarvox committed February 05, 2012

Jan 30, 2012

  1. Drew Fisher

    Build on big-endian systems again.

    On big endian, fn_le32() is actually a function, not an empty preprocessor
    macro, so we can't take the address of its return value when doing the C
    equivalent of reinterpret_cast.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
    authored January 29, 2012
  2. Drew Fisher

    loader.c: memcpy structs into properly aligned buffers before accessi…

    …ng contents
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
    authored January 29, 2012

Jan 23, 2012

  1. Drew Fisher

    cameras.c: memcpy structs into properly aligned buffers before toggli…

    …ng endianness.
    
    The new registration structs are not aligned to 4-byte boundaries in the
    buffers that we get back from the Kinect.  This might have been causing
    breakage on ARM, where nonaligned access is prohibited.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
    authored January 23, 2012

Jan 18, 2012

  1. Drew Fisher

    Bump version to 0.1.2

    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
    authored January 18, 2012
  2. Drew Fisher

    python wrapper: Explicitly cast freenect_device_flags to int

    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
    authored January 18, 2012

Nov 23, 2011

  1. Drew Fisher

    libusbemu/libusb.h: include <sys/time.h>

    MinGW also needs struct timeval.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
    authored November 22, 2011
  2. Drew Fisher

    Fix some documentation issues.

    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
    authored November 22, 2011
  3. Drew Fisher

    Export maximum and no-value values for the depth modes.

    We get questions about the maximum range of the Kinect; hopefully this will
    make it slightly clearer.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
    authored November 22, 2011

Nov 22, 2011

  1. Drew Fisher

    libusbemu: include winsock.h

    MSVC needs struct timeval from winsock.h to support freenect_process_events_timeout.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
    authored November 22, 2011

Nov 21, 2011

  1. Drew Fisher

    Behave sanely when the Kinect is unplugged.

    libusb_handle_events is thread-safe, but not reentrant.  Which means that we
    can't call fnusb_stop_iso which calls libusb_handle_events from inside the
    isochronous callback function.
    
    Instead, we add a member to fnusb_dev that tracks if the device is permanently
    dead, and set it to true when we get a LIBUSB_TRANSFER_NO_DEVICE (or on resubmission,
    LIBUSB_ERROR_NO_DEVICE).
    
    Then, in freenect_process_events, after calling libusb_handle_events
    internally, we check to see if any of the devices in the context have this flag
    set.  If they do, then we should return some nonzero error value, which is
    currently -1.
    
    In the future, we intend to provide callbacks so that clients can receive
    explicit notifications when a device has disappeared, so the code can robustly
    handle that situation.  Future work.
    
    Fixes #229 (I think)
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
    authored November 20, 2011

Nov 20, 2011

  1. Drew Fisher

    usb_libusb10.c: Keep track of dead transfers more correctly.

    We failed to catch if the resubmission of a transfer failed in the transfer's
    isochronous callback.  This is bad because this is a very likely failure mode
    if we accidentally unplug the Kinect - the last set of transfers complete
    successfully, but the device is no longer there when we resubmit them.
    
    It's okay for us to not know which particular transfers are dead, since
    libusb_cancel_transfer() will handle transfers that don't exist by returning
    LIBUSB_ERROR_NOT_FOUND if the transfer isn't pending.
    
    This is related to #229, but I'm not sure if this is sufficient to fix it.
    libusb on OSX doesn't always return what I expect it to.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
    authored November 20, 2011

Nov 18, 2011

  1. Gábor Szarka

    wrappers/cpp/libfreenect.hpp: Trivial changes to allow the resolution…

    … parameters to be set.
    
    Signed-off-by: Gabor Szarka <szarkagabor@coralworks.hu>
    authored November 16, 2011 zarvox committed November 17, 2011

Nov 15, 2011

  1. Robert Xiao

    Switch entirely to using FrameModes internally

    Signed-off-by: Robert Xiao <brx@cs.cmu.edu>
    authored November 15, 2011

Nov 14, 2011

  1. Erwan Daubert

    Fix the java wrapper

    Signed-off-by: Erwan Daubert <erwan.daubert@gmail.com>
    authored November 06, 2011 zarvox committed November 14, 2011
  2. Erwan Daubert

    Fix the java wrapper

    Signed-off-by: Erwan Daubert <erwan.daubert@gmail.com>
    authored November 06, 2011 zarvox committed November 14, 2011
  3. Erwan Daubert

    Fix the java wrapper

    Signed-off-by: Erwan Daubert <erwan.daubert@gmail.com>
    authored November 06, 2011 zarvox committed November 14, 2011
  4. Drew Fisher

    Fix the audios.bin install path.

    Apparently this has been wrong for months.  Oops.  Presumably, people figured
    out where else they could put the firmware to have it get found, but it's good
    to fix these things.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
    authored November 13, 2011
  5. Evan Shelhamer

    fakenect: add fakenect helper script

    Add a shell script to call libfreenect applications with fakenect.
    
    Simplifies the use of fakenect by not requiring users to know or specify
    environment variables and the like.
    
    Usage:
    fakenect <database> <application> <args>
    
    Signed-off-by: Evan Shelhamer <shelhamer@imaginarynumber.net>
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
    authored August 18, 2011 zarvox committed November 13, 2011
  6. Drew Fisher

    opencv wrapper: Use the CMake OpenCV finder instead of naming librari…

    …es explicitly.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
    authored November 13, 2011

Nov 13, 2011

  1. Drew Fisher

    Add function to query what subdevices the library supports.

    This is essential for making wrappers that can work properly with
    both versions of libfreenect with audio support and versions of
    libfreenect without audio support.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
    authored November 13, 2011

Nov 10, 2011

  1. Hector Martin

    wrappers/python: fix sync wrappers

    Do not do Pythony stuff (e.g. object conversion) with the GIL released.
    Use the correct type for timestamp.
    
    Signed-off-by: Hector Martin <hector@marcansoft.com>
    authored November 10, 2011
  2. Hector Martin

    wrappers/python: fix numpy include path for cmake build too

    Signed-off-by: Hector Martin <hector@marcansoft.com>
    authored November 10, 2011
  3. Drew Fisher

    Add a non-blocking freenect_process_events_timeout().

    This should make it easier to integrate libfreenect into some other event loop.
    
    Fixes #43.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
    authored November 09, 2011

Nov 09, 2011

  1. Hector Martin

    wrappers/python: Support asynchronous usage without the full runloop

    Signed-off-by: Hector Martin <hector@marcansoft.com>
    authored November 09, 2011
Something went wrong with that request. Please try again.