raisin::tcp_viewer::SensorInfo
struct · #include <rayrai/TcpRemoteSceneState.hpp>
Metadata for a remote sensor.
Public attributes
parentTag
uint32_t parentTagVisual tag of the articulated system that owns the sensor.
type
raisim::Sensor::Type typeSensor kind.
name
std::string nameSensor name.
width
int widthImage width in pixels (RGB/depth only; 0 if the server sent an invalid size).
height
int heightImage height in pixels (RGB/depth only; 0 if the server sent an invalid size).
yawSamples
int yawSamplesHorizontal sample count (spinning lidar only).
pitchSamples
int pitchSamplesVertical sample count (spinning lidar only).
clipNear
double clipNearNear clip distance (RGB/depth only).
clipFar
double clipFarFar clip distance (RGB/depth only).
hFov
double hFovHorizontal field of view as sent by the server (RGB/depth only).
lens
raisim::CameraLensModel lensProjection and intrinsics (RGB/depth only).
source
raisim::Sensor::MeasurementSource sourceWho produces measurements; the viewer renders only MANUAL RGB/depth sensors.
viewerUpdateRequested
bool viewerUpdateRequestedTrue when the server asked the viewer to render this sensor in the latest update.
position
glm::vec3 positionWorld-frame sensor position.
orientation
glm::vec4 orientationSensor orientation in GLM xyzw component layout.