Public Member Functions | |
CobColorCameraNode (const ros::NodeHandle &node_handle) | |
bool | init () |
Opens the camera sensor. More... | |
bool | loadParameters () |
void | pollCallback (polled_camera::GetPolledImage::Request &req, polled_camera::GetPolledImage::Response &res, sensor_msgs::Image &image_msg, sensor_msgs::CameraInfo &info) |
Callback function for image requests on topic 'request_image'. More... | |
bool | setCameraInfo (sensor_msgs::SetCameraInfo::Request &req, sensor_msgs::SetCameraInfo::Response &rsp) |
~CobColorCameraNode () | |
Private Attributes | |
int | camera_index_ |
Camera index of the color camera for IPA configuration file. More... | |
sensor_msgs::CameraInfo | camera_info_msg_ |
ROS camera information message (e.g. holding intrinsic parameters) More... | |
ros::ServiceServer | camera_info_service_ |
AbstractColorCameraPtr | color_camera_ |
Color camera instance. More... | |
int | color_camera_intrinsic_id_ |
Instrinsic matrix id of left color camera. More... | |
ipa_CameraSensors::t_cameraType | color_camera_intrinsic_type_ |
Instrinsic matrix type of left color camera. More... | |
cv::Mat | color_image_8U3_ |
std::string | config_directory_ |
Directory of related IPA configuration file. More... | |
polled_camera::PublicationServer | image_poll_server_ |
ros::NodeHandle | node_handle_ |
ROS node to interface color cameras.
Definition at line 44 of file color_camera.cpp.
|
inline |
Void
Definition at line 64 of file color_camera.cpp.
|
inline |
Definition at line 72 of file color_camera.cpp.
|
inline |
Opens the camera sensor.
Read camera properties of range tof sensor
Setup camera toolbox
Advertise service for other nodes to set intrinsic calibration parameters
Topics to publish
Definition at line 79 of file color_camera.cpp.
|
inline |
Parameters are set within the launch file
Parameters are set within the launch file
Definition at line 218 of file color_camera.cpp.
|
inline |
Callback function for image requests on topic 'request_image'.
Acquire new image
Set time stamp
Definition at line 174 of file color_camera.cpp.
|
inline |
Enables the user to modify camera parameters.
req | Requested camera parameters |
rsp | Response, telling if requested parameters have been set |
True
: Enable the setting of intrinsic parameters
Definition at line 161 of file color_camera.cpp.
|
private |
Camera index of the color camera for IPA configuration file.
Definition at line 53 of file color_camera.cpp.
|
private |
ROS camera information message (e.g. holding intrinsic parameters)
Definition at line 57 of file color_camera.cpp.
|
private |
Definition at line 59 of file color_camera.cpp.
|
private |
Color camera instance.
Definition at line 50 of file color_camera.cpp.
|
private |
Instrinsic matrix id of left color camera.
Definition at line 54 of file color_camera.cpp.
|
private |
Instrinsic matrix type of left color camera.
Definition at line 55 of file color_camera.cpp.
|
private |
Definition at line 61 of file color_camera.cpp.
|
private |
Directory of related IPA configuration file.
Definition at line 52 of file color_camera.cpp.
|
private |
Definition at line 48 of file color_camera.cpp.
|
private |
Definition at line 47 of file color_camera.cpp.