Skip to content

SensorView

Lightweight wrapper around MuJoCo sensor data.

float GetLength() const { return length ? (float)length : 0.0f; } / @brief Gets the current tendon velocity (m/s). / float GetVelocity() const { return velocity ? (float)velocity : 0.0f; } }; /*

Attribute Value
Kind Struct

Properties

Public Properties

Property Type Description
obj_type static constexpr mjtObj
id int
name const char*
type int
objtype int
objid int
reftype int
refid int
dim int
adr int
cutoff mjtNum*
noise mjtNum*
data mjtNum*

obj_type

  • Type: static constexpr mjtObj

id

  • Type: int

name

  • Type: const char*

type

  • Type: int

objtype

  • Type: int

objid

  • Type: int

reftype

  • Type: int

refid

  • Type: int

dim

  • Type: int

adr

  • Type: int

cutoff

  • Type: mjtNum*

noise

  • Type: mjtNum*

data

  • Type: mjtNum*