Function Karana::KUtils::visualizeInterBodyTorque#
Defined in File VizUtils.h
Function Documentation#
-
kc::ks_ptr<ScaledVectorVisualizer> Karana::KUtils::visualizeInterBodyTorque(const kc::ks_ptr<kd::HingeOnode> &onode, const kc::ks_ptr<ks::ProxyScene> &scene, bool use_ta)#
Visualize the interbody torque on a node.
- Parameters:
onode – The Onode to visualize the torque for.
scene – The ProxyScene to use for visualizing.
use_ta – If true, use TA getInterBodyForceTAFwdDyn to calculate the torque. Otherwise, use getInterBodyForceTreeFwdDyn.
- Returns:
A ScaledVectorVisualizer for visualizing the interbody torque on the node.