Skip to content

Kinect wont tilt downward, only flat between 0 - 30 degrees #7

@nbaddorf

Description

@nbaddorf

I found a bug in the code making the kinect motor not tilt downward. To fix this change this line in the setTiltAngle function of the program:
From: const int ret = libusb_control_transfer(dev, 0x40, 0x31, (uint16_t)angle, 0x0, empty, 0x0, 0);
To: const int ret = libusb_control_transfer(dev, 0x40, 0x31, (int16_t)angle, 0x0, empty, 0x0, 0);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions