SensorView¶
Lightweight wrapper around MuJoCo sensor data.
float GetLength() const { return ten_length ? (float)ten_length : 0.0f; } / @brief Gets the current tendon velocity (m/s). / float GetVelocity() const { return ten_velocity ? (float)ten_velocity : 0.0f; } }; /*
| Attribute | Value |
|---|---|
| Kind | Struct |
Properties¶
Public Properties¶
| Property | Type | Description |
|---|---|---|
obj_type |
static constexpr mjtObj |
|
id |
int |
|
name |
const char* |
|
sensor_type |
int |
|
sensor_datatype |
int |
|
sensor_needstage |
int |
|
sensor_objtype |
int |
|
sensor_objid |
int |
|
sensor_reftype |
int |
|
sensor_refid |
int |
|
sensor_intprm |
int* |
|
sensor_dim |
int |
|
sensor_adr |
int |
|
sensor_cutoff |
mjtNum* |
|
sensor_noise |
mjtNum* |
|
sensor_history |
int* |
|
sensor_historyadr |
int |
|
sensor_delay |
mjtNum* |
|
sensor_interval |
mjtNum* |
|
sensor_user |
mjtNum* |
|
sensor_plugin |
int |
|
sensordata |
mjtNum* |
obj_type¶
- Type: static constexpr mjtObj
id¶
- Type: int
name¶
- Type: const char*
sensor_type¶
- Type: int
sensor_datatype¶
- Type: int
sensor_needstage¶
- Type: int
sensor_objtype¶
- Type: int
sensor_objid¶
- Type: int
sensor_reftype¶
- Type: int
sensor_refid¶
- Type: int
sensor_intprm¶
- Type: int*
sensor_dim¶
- Type: int
sensor_adr¶
- Type: int
sensor_cutoff¶
- Type: mjtNum*
sensor_noise¶
- Type: mjtNum*
sensor_history¶
- Type: int*
sensor_historyadr¶
- Type: int
sensor_delay¶
- Type: mjtNum*
sensor_interval¶
- Type: mjtNum*
sensor_user¶
- Type: mjtNum*
sensor_plugin¶
- Type: int
sensordata¶
- Type: mjtNum*