Example Node: Simple IK

Example node that employs a simple IK algorithm to match a three-joint limb to a goal

Installation

To use this node enable omni.graph.examples.cpp in the Extension Manager.

Inputs

Name

Type

Descripton

Default

Goal Transform (inputs:goal)

matrixd[4]

Transform of the IK goal

[[1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0]]

State

Name

Type

Descripton

Default

Ankle Transform (state:ankle)

matrixd[4]

Computed transform of the ankle joint

None

Hip Transform (state:hip)

matrixd[4]

Computed transform of the hip joint

None

Knee Transform (state:knee)

matrixd[4]

Computed transform of the knee joint

None

Metadata

Name

Value

Unique ID

omni.graph.examples.cpp.SimpleIk

Version

1

Extension

omni.graph.examples.cpp

Has State?

True

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Example Node: Simple IK

Categories

examples

Generated Class Name

OgnIKDatabase

Python Module

omni.graph.examples.cpp