mars
Public Member Functions | Public Attributes | List of all members
mars::HighResRangeFinder::Camera Struct Reference

#include <HighResRangeFinder.hpp>

Public Member Functions

 Camera (long id, mars::sim::CameraSensor *cam, double rot_y)
 
 ~Camera ()
 

Public Attributes

long sensor_id
 
mars::sim::CameraSensor * camera_sensor
 
int width
 
int height
 
mars::interfaces::cameraStruct cam_info
 
mars::sim::CameraConfigStruct cam_sensor_info
 
base::samples::DistanceImage * image
 
Eigen::Quaternion< double, Eigen::DontAlign > orientation
 
double pixel_per_rad_horizontal
 
double pixel_per_rad_vertical
 
double lower_pixel
 
double upper_pixel
 
double left_pixel
 
double right_pixel
 
double v_steps
 
double h_steps
 
std::string name
 

Constructor & Destructor Documentation

◆ Camera()

mars::HighResRangeFinder::Camera::Camera ( long  id,
mars::sim::CameraSensor *  cam,
double  rot_y 
)
inline

Stores the informations of all cameras which are used to simulate this sensor.

Parameters
idId of the sensor in MARS.
camNew CameraSensor which has been added.
rot_yUsed to rotate all scene points which have been extracted from the image to match the orientation of the camera. Pass the same rotation which has been used in the scene file for the orientation_offset-yaw-value of the camera. In the 'velodyne90' example below that would be 90.

◆ ~Camera()

mars::HighResRangeFinder::Camera::~Camera ( )
inline

Member Data Documentation

◆ cam_info

mars::interfaces::cameraStruct mars::HighResRangeFinder::Camera::cam_info

◆ cam_sensor_info

mars::sim::CameraConfigStruct mars::HighResRangeFinder::Camera::cam_sensor_info

◆ camera_sensor

mars::sim::CameraSensor* mars::HighResRangeFinder::Camera::camera_sensor

◆ h_steps

double mars::HighResRangeFinder::Camera::h_steps

◆ height

int mars::HighResRangeFinder::Camera::height

◆ image

base::samples::DistanceImage* mars::HighResRangeFinder::Camera::image

◆ left_pixel

double mars::HighResRangeFinder::Camera::left_pixel

◆ lower_pixel

double mars::HighResRangeFinder::Camera::lower_pixel

◆ name

std::string mars::HighResRangeFinder::Camera::name

◆ orientation

Eigen::Quaternion<double, Eigen::DontAlign> mars::HighResRangeFinder::Camera::orientation

◆ pixel_per_rad_horizontal

double mars::HighResRangeFinder::Camera::pixel_per_rad_horizontal

◆ pixel_per_rad_vertical

double mars::HighResRangeFinder::Camera::pixel_per_rad_vertical

◆ right_pixel

double mars::HighResRangeFinder::Camera::right_pixel

◆ sensor_id

long mars::HighResRangeFinder::Camera::sensor_id

◆ upper_pixel

double mars::HighResRangeFinder::Camera::upper_pixel

◆ v_steps

double mars::HighResRangeFinder::Camera::v_steps

◆ width

int mars::HighResRangeFinder::Camera::width

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