Skip to content

raisin::tcp_viewer::SensorInfo ​

struct · #include <rayrai/TcpRemoteSceneState.hpp>

Metadata for a remote sensor.

Public attributes ​

parentTag ​

cpp
uint32_t parentTag

Visual tag of the articulated system that owns the sensor.

type ​

cpp
raisim::Sensor::Type type

Sensor kind.

name ​

cpp
std::string name

Sensor name.

width ​

cpp
int width

Image width in pixels (RGB/depth only; 0 if the server sent an invalid size).

height ​

cpp
int height

Image height in pixels (RGB/depth only; 0 if the server sent an invalid size).

yawSamples ​

cpp
int yawSamples

Horizontal sample count (spinning lidar only).

pitchSamples ​

cpp
int pitchSamples

Vertical sample count (spinning lidar only).

clipNear ​

cpp
double clipNear

Near clip distance (RGB/depth only).

clipFar ​

cpp
double clipFar

Far clip distance (RGB/depth only).

hFov ​

cpp
double hFov

Horizontal field of view as sent by the server (RGB/depth only).

lens ​

cpp
raisim::CameraLensModel lens

Projection and intrinsics (RGB/depth only).

source ​

cpp
raisim::Sensor::MeasurementSource source

Who produces measurements; the viewer renders only MANUAL RGB/depth sensors.

viewerUpdateRequested ​

cpp
bool viewerUpdateRequested

True when the server asked the viewer to render this sensor in the latest update.

position ​

cpp
glm::vec3 position

World-frame sensor position.

orientation ​

cpp
glm::vec4 orientation

Sensor orientation in GLM xyzw component layout.

RaiSim — physics for robotics and AI.