Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Mar 26, 2012
  1. Expose depth smoothing mode register through API.

    authored
    Signed-off-by: Rene Wagner <rwagner@informatik.uni-bremen.de>
Commits on Mar 16, 2012
  1. @zarvox

    windows: libusb-win32 renamed their header; change the include accord…

    zarvox authored
    …ingly
    
    In libusb-win32 1.2.5.0, the developers changed their header from usb.h to
    lusb0_usb.h to avoid a name conflict with the WDK usb.h header, which
    apparently causes issues with MinGW-w64.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
Commits on Mar 10, 2012
  1. @nbourdau @zarvox

    Add missing math lib to fakenect

    nbourdau authored zarvox committed
    Fix the missing dependency of fakenect on the math lib and remove the
    unecessary one of record. On the way centralizes definition of MATH_LIB
    since several wrappers and examples uses it.
    
    Signed-off-by: Nicolas Bourdaud <nicolas.bourdaud@gmail.com>
  2. @nbourdau @zarvox

    Search for threading lib on any platform in c_sync

    nbourdau authored zarvox committed
    Threading library is necessary for all platform when compiling c_sync
    wrapper. Moving the search fix the missing library on Linux.
    
    Signed-off-by: Nicolas Bourdaud <nicolas.bourdaud@gmail.com>
  3. @ao2 @zarvox

    freenect: initialize the 'transferred' variable used in bulk transfers

    ao2 authored zarvox committed
    This is in order to make the printouts in the error path of the callers
    of fnusb_bulk() show a saner value when libusb does not touch the
    variable (i.e. when a transfer fails).
    
    Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
  4. @ao2 @zarvox

    freenect: avoid leaking the context when fnusb_init() fails

    ao2 authored zarvox committed
    Maybe this is more a theoretical issue than an actual one, I am not sure
    in which case fnusb_init() —and hence libusb_init()— is supposed to
    fail, but let's handle that once I noticed it.
    
    Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
  5. @ao2 @zarvox

    examples: call freenect_shutdown() on exit

    ao2 authored zarvox committed
    This is mostly useful when using tools like valgrind, which may report
    possibly lost memory even if the operating systems is going to get it
    back anyway on the actual process exit.
    
    Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Commits on Mar 8, 2012
  1. @zarvox

    Make fakenect work on Windows.

    zarvox authored
    We needed platform-specific functions for mkdir(), timers, and we need to open
    files in binary mode for compatibility.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
Commits on Feb 5, 2012
  1. @zarvox

    Use unions to perform safe type-punning.

    zarvox authored
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
  2. @zarvox

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

    zarvox authored
    …h> to <libusb.h>
    
    Also obtain struct timeval from the winsock headers.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
  3. @nbourdau @zarvox

    Fix cmake libusb search and fix libusb include

    nbourdau authored zarvox committed
    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>
  4. @nbourdau @zarvox

    Remove libusb.h include from libfreenect.h

    nbourdau authored zarvox committed
    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>
  5. @nbourdau @zarvox

    Hides unexported symbols

    nbourdau authored zarvox committed
    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>
Commits on Jan 30, 2012
  1. @zarvox

    Build on big-endian systems again.

    zarvox authored
    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>
  2. @zarvox

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

    zarvox authored
    …ng contents
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
Commits on Jan 23, 2012
  1. @zarvox

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

    zarvox authored
    …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>
Commits on Jan 18, 2012
  1. @zarvox

    Bump version to 0.1.2

    zarvox authored
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
  2. @zarvox

    python wrapper: Explicitly cast freenect_device_flags to int

    zarvox authored
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
Commits on Nov 23, 2011
  1. @zarvox

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

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

    Fix some documentation issues.

    zarvox authored
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
  3. @zarvox

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

    zarvox authored
    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>
Commits on Nov 22, 2011
  1. @zarvox

    libusbemu: include winsock.h

    zarvox authored
    MSVC needs struct timeval from winsock.h to support freenect_process_events_timeout.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
Commits on Nov 21, 2011
  1. @zarvox

    Behave sanely when the Kinect is unplugged.

    zarvox authored
    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>
Commits on Nov 20, 2011
  1. @zarvox

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

    zarvox authored
    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>
Commits on Nov 18, 2011
  1. @gsx @zarvox

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

    gsx authored zarvox committed
    … parameters to be set.
    
    Signed-off-by: Gabor Szarka <szarkagabor@coralworks.hu>
Commits on Nov 15, 2011
  1. @nneonneo

    Switch entirely to using FrameModes internally

    nneonneo authored
    Signed-off-by: Robert Xiao <brx@cs.cmu.edu>
Commits on Nov 14, 2011
  1. @edaubert @zarvox

    Fix the java wrapper

    edaubert authored zarvox committed
    Signed-off-by: Erwan Daubert <erwan.daubert@gmail.com>
  2. @edaubert @zarvox

    Fix the java wrapper

    edaubert authored zarvox committed
    Signed-off-by: Erwan Daubert <erwan.daubert@gmail.com>
  3. @edaubert @zarvox

    Fix the java wrapper

    edaubert authored zarvox committed
    Signed-off-by: Erwan Daubert <erwan.daubert@gmail.com>
  4. @zarvox

    Fix the audios.bin install path.

    zarvox authored
    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>
  5. @shelhamer @zarvox

    fakenect: add fakenect helper script

    shelhamer authored zarvox committed
    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>
  6. @zarvox

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

    zarvox authored
    …es explicitly.
    
    Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>
Commits on Nov 13, 2011
  1. @zarvox

    Add function to query what subdevices the library supports.

    zarvox authored
    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>
Commits on Nov 10, 2011
  1. @marcan

    wrappers/python: fix sync wrappers

    marcan authored
    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>
  2. @marcan

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

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