Go to Post (This is why Non-Engineering Mentors make the dinner plans for the team...) - KathieK [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 18-02-2012, 08:39
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Kinect problems please help!

The issue is that tracked means that the Kinect processing code knows where your foot is. It doesn't mean that it moved. If you check that the foot is tracked and check that the position is different by a large enough amount, that would be a better trigger.

More than likely, you probably want to look at a single measure of the foot, just the Y if you want to raise it, just X if you step to the side, or just z if you step forward. And you will likely want to make it a relative compare, between the foot and hip for instance, and give it a threshold that you have to cross.

If you have an English sentence such as ...
When my right foot moves twelve inches to the right of my hip, I want the pneumatic ram to push the basketball into the spinning flywheel.

then you can translate that into code. Discuss the sentence with the appropriate team members first so that you know what the trigger is, and then write the code. Post it if you want confirmation.

Greg McKaskle
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:45.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi