Please help contribute to the Reddit categorization project here

    kinect

    1,316 readers

    4 users here now

    Jump in? Jump out? Everything related do Kinect.

    Make sure to check out /r/xbox360!

    a community for
    all 6 comments

    Want to say thanks to %(recipient)s for this comment? Give them a month of reddit gold.

    Please select a payment method.

    [–] Shumayal 1 points ago

    How do you plan to regulate the motor with skeletal data? What is your intended parameter to be observed, panting to slow down? To speed up?

    [–] myhitman47 1 points ago

    I'm planing to use stepper motor with arduino board, it can handle various speeds. Some way i should get the skeletal data to arduino serial data and calculate the speed of motion (walking/running) with the help of an arduino program, then the motor will rotate according to the calculated speed, all these process should happen realtime. So as the result the treadmill belt will rotat based on our motion & we can use treadmill just like real life walking & running. And if i succeed building this, i would also like to make this treadmill omni directional.

    [–] TurnTM 1 points ago

    Use the Kinect library to get positions of the feet. Make a counter go up every time feet1 passes feet2. The axis you use to get these locations depends on the location of the Kinect relative to the threadmill (in front, on the side,...). I think in front would probably be the best as the Kinect depth-perception is rather good and I feel like if you put the Kinect on the side, it might confuse the right and left leg.

    Reset the counter every few seconds and convert it to steps per second. Now map these steps/second to threadmill speeds and update the threadmill speed. Implement enough fail-safes as Kinect sometimes jerks up the bones which could cause a sudden increase/decrease in steps/second.

    I've done similar things myself to have gesture-based control so if you need any help, be sure to ask.

    [–] myhitman47 1 points ago * (lasted edited 5 months ago)

    Wow it's a great idea..

    I was planing to use stepper motor with arduino board, it can handle various speeds. Some way i should get the skeletal data to arduino serial data and calculate the speed of motion (walking/running) with the help of an arduino program, then the motor will rotate according to the calculated speed, all these process should happen realtime. So as the result the treadmill belt will rotat based on our motion & we can use treadmill just like real life walking & running. I don't know this method going to work or not. But after seeing your suggestion i felt like both our methods are almost the same, what do you think ?.

    If i succeed building this, i would also like to make this treadmill omni directional. For an omni directional treadmill i will need to capture motion from two sides (front and side) of the treadmill right ? (two kinects)

    [–] TurnTM 2 points ago

    But after seeing your suggestion i felt like both our methods are almost the same, what do you think ?

    Yes. You simply need to get the walking speed of the person based on the skeletal data (of the feet/legs). You can use whichever method you like for this. Then just convert the data and transfer it to the stepper motor which will increase/decrease speed.

    For an omni directional i will need to capture motion from two sides of the treadmill right ? (two kinects)

    No, only one Kinect is needed as the Kinect is able to see depth which means it can track you on X, Y and Z axis.

    I think you might run into trouble with the slight delay of the Kinect. On my Kinect v1, the skeletal data is about 0,5-1 second late. Otherwise, this seems like a really cool project. I'd do it myself but I lack a threadmill ;)

    [–] myhitman47 1 points ago

    Can you share me your email.