Error: no such theme PatternSkinTheme
You are here: Foswiki>Glimmer Web>GleamWiki>GleamAPI>ProcedureJointRemove (2012-07-29, JennelleNystrom)EditAttach

joint-remove!


(joint-remove! oscjoint)

Purpose

Stops storing information and recognizing gestures for the joint associated with the given osc string.

Parameters

oscjoint an osc string

Produces

NULL (called for side effects)

Preconditions

Oscjoint is the osc string sent by osceleton for a particular joint. For example, the osc string for the left hand is "l_hand." A full list of oscjoints can be obtaind on osceleton's github page. The default joints are "l_hand" and "r_hand." Because of limitations on deleting items from lists in Scheme, "r_hand" cannot be removed with a call to joint-remove! and must always remain enabled.

Postconditions

After the call to joint-remove!, coordinate data for the joint will no longer be stored and gestures will no longer be recognized. In order to re-enable gesture-tracking for the oscjoint, a call to joint-add! with oscjoint as the argument must be made. Until the joint is re-added, calling enabled? with the oscjoint as the parameter will return false.

Related Functions

-- JennelleNystrom - 2012-07-29
Topic revision: r1 - 2012-07-29, JennelleNystrom
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback