supereight
Public Member Functions | Public Attributes | List of all members
se::SensorBaseConfig Struct Reference

#include <sensor.hpp>

Inheritance diagram for se::SensorBaseConfig:
se::OusterLidarConfig se::PinholeCameraConfig

Public Member Functions

void readYaml (const std::string &filename)
 Reads the struct members from the "sensor" node of a YAML file. More...
 

Public Attributes

int width = 0
 The width of images produced by the sensor in pixels. More...
 
int height = 0
 The height of images produced by the sensor in pixels. More...
 
float near_plane = 0.0f
 The sensor's near plane in metres. More...
 
float far_plane = std::numeric_limits<float>::infinity()
 The sensor's far plane in metres. More...
 
Eigen::Matrix4f T_BS = Eigen::Matrix4f::Identity()
 The transformation from the sensor frame S to the body frame B. More...
 

Member Function Documentation

◆ readYaml()

void se::SensorBaseConfig::readYaml ( const std::string &  filename)

Reads the struct members from the "sensor" node of a YAML file.

Members not present in the YAML file aren't modified.

Member Data Documentation

◆ width

int se::SensorBaseConfig::width = 0

The width of images produced by the sensor in pixels.

◆ height

int se::SensorBaseConfig::height = 0

The height of images produced by the sensor in pixels.

◆ near_plane

float se::SensorBaseConfig::near_plane = 0.0f

The sensor's near plane in metres.

◆ far_plane

float se::SensorBaseConfig::far_plane = std::numeric_limits<float>::infinity()

The sensor's far plane in metres.

◆ T_BS

Eigen::Matrix4f se::SensorBaseConfig::T_BS = Eigen::Matrix4f::Identity()

The transformation from the sensor frame S to the body frame B.


The documentation for this struct was generated from the following file: