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

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.
mars::HighResRangeFinder::Camera::~Camera ( )
inline

Member Data Documentation

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

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