Skip to content

raisim::NormalCamera::NormalCameraProperties ​

struct · #include <raisim/sensors/NormalSensor.hpp>

Configuration of a NormalCamera. Change it with setProperties().

Static member functions ​

stringToFrame static ​

cpp
static Frame stringToFrame(const std::string &name)

Parameters

ParameterDescription
name (in)"world" or "camera" (case-insensitive).

Returns The frame. Fatal error for any other string.

Public attributes ​

name ​

cpp
std::string name

Sensor name (without the sensor set prefix).

full_name ​

cpp
std::string full_name

Sensor name including the sensor set prefix.

width ​

cpp
int width

Image width in pixels.

height ​

cpp
int height

Image height in pixels.

xOffset ​

cpp
int xOffset

Horizontal pixel offset added to the column index when computing ray directions.

yOffset ​

cpp
int yOffset

Vertical pixel offset added to the row index when computing ray directions.

clipNear ​

cpp
double clipNear

Near clipping distance along the optical axis in meters.

clipFar ​

cpp
double clipFar

Far clipping distance along the optical axis in meters.

hFOV ​

cpp
double hFOV

Horizontal field of view in radians. Must be in (0, pi) for pinhole and (0, pi] for fisheye.

lens ​

cpp
CameraLensModel lens

Lens specification (see DepthCamera::DepthCameraProperties::lens).

shutter ​

cpp
CameraShutter shutter

Rolling or global shutter (see CameraShutter). Rendered captures only; a RAISIM (CPU ray cast) source rejects a rolling shutter.

latency ​

cpp
double latency

Time from acquisition to delivery of a capture, in seconds (see Sensor latency docs).

latencyJitter ​

cpp
double latencyJitter

Additional delivery delay drawn uniformly from [0, latencyJitter) for every capture, in seconds.

frame ​

cpp
Frame frame

Frame of the normals (default WORLD).

RaiSim — physics for robotics and AI.