Skip to content

TendonView

Lightweight wrapper around MuJoCo tendon data.

Attribute Value
Kind Struct

Properties

Public Properties

Property Type Description
obj_type static constexpr mjtObj
id int
name const char*
stiffness mjtNum*
stiffnesspoly mjtNum*
damping mjtNum*
dampingpoly mjtNum*
frictionloss mjtNum*
armature mjtNum*
range mjtNum*
margin mjtNum*
solref_limit mjtNum*
solimp_limit mjtNum*
solref_friction mjtNum*
solimp_friction mjtNum*
length mjtNum*
velocity mjtNum*

obj_type

  • Type: static constexpr mjtObj

id

  • Type: int

name

  • Type: const char*

stiffness

  • Type: mjtNum*

stiffnesspoly

  • Type: mjtNum*

damping

  • Type: mjtNum*

dampingpoly

  • Type: mjtNum*

frictionloss

  • Type: mjtNum*

armature

  • Type: mjtNum*

range

  • Type: mjtNum*

margin

  • Type: mjtNum*

solref_limit

  • Type: mjtNum*

solimp_limit

  • Type: mjtNum*

solref_friction

  • Type: mjtNum*

solimp_friction

  • Type: mjtNum*

length

  • Type: mjtNum*

velocity

  • Type: mjtNum*

Functions

Public Functions

General

Function Returns Description
GetLength() float Gets the current tendon length (meters).
GetVelocity() float Gets the current tendon velocity (m/s).
GetLength

Gets the current tendon length (meters).

  • Signature: GetLength()
  • Returns: float
GetVelocity

Gets the current tendon velocity (m/s).

  • Signature: GetVelocity()
  • Returns: float