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/segmentation only).
xOffset
int xOffsetImage window offset in pixels, as raisim camera properties xOffset/yOffset (cameras only; 0 unless the server negotiated kProtocolFeatureSensorImageOffset).
yOffset
int yOffsetsegmentationType
raisim::SegmentationCamera::SegmentationType segmentationTypeImages a segmentation camera fills (segmentation only).
force
glm::vec3 forcetorque
glm::vec3 torqueSensor-frame net wrench [N, Nm].
padWidth
double padWidthpadHeight
double padHeightpadDepth
double padDepthTactile sensing volume [m].
padColumns
int padColumnspadRows
int padRowsTactile grid dimensions.
normalForce
float normalForceCompressive pad load [N].
centerOfPressure
glm::vec2 centerOfPressurePad-frame Y/Z center [m], valid under positive load.
taxelForces
std::vector<glm::vec3> taxelForcesRow-major sensor-frame force vectors [N].
taxelSlip
std::vector<glm::vec2> taxelSlipRow-major Y/Z relative surface velocities [m/s].
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.