Skip to content

LCPForceFeedback

LCP force feedback for the device.

Templates:

  • Rigid3d
  • Vec1d

Target: Sofa.Component.Haptics

namespace: sofa::component::haptics

parents:

  • MechanicalStateForceFeedback

Data

Name Description Default value
name object name unnamed
printLog if true, emits extra messages at runtime. 0
tags list of the subsets the objet belongs to
bbox this object bounding box
componentState The state of the component among (Dirty, Valid, Undefined, Loading, Invalid). Undefined
listening if true, handle the events, otherwise ignore the events 0
activate boolean to activate or deactivate the forcefeedback 0
indice Tool indice in the OmniDriver 0
forceCoef multiply haptic force by this coef. 0.03
solverTimeout max time to spend solving constraints. 0.0008
solverMaxIt max iteration to spend solving constraints 100
derivRotations if true, deriv the rotations when updating the violations 0
localHapticConstraintAllFrames Flag to enable/disable constraint haptic influence from all frames 0
Name Description Destination type name
context Graph Node containing this object (or BaseContext::getDefault() if no graph is used) BaseContext
slaves Sub-objects used internally by this object BaseObject
master nullptr for regular objects, or master object for which this object is one sub-objects BaseObject