#include <camera_following_camera.h>
Public Member Functions | |
CameraFollowingCamera () | |
~CameraFollowingCamera () | |
Private Member Functions | |
void | cameraInfoCallback (const sensor_msgs::CameraInfoConstPtr &camera_info) |
virtual void | onCameraSet () |
virtual void | onInit () |
virtual void | onUpdate () |
void | updateCamera () |
Private Attributes | |
sensor_msgs::CameraInfoConstPtr | camera_info_ |
bool | camera_info_changed_ |
rve_render_client::CameraInfoProjectionFactoryPtr | camera_projection_ |
Eigen::Quaternionf | orientation_ |
Eigen::Vector3f | position_ |
std::string | target_frame_ |
A CameraTransformer which tries to mimic an actual camera on the robot. Listens to CameraInfo messages and TF update the camera's location and parameters.
Definition at line 58 of file camera_following_camera.h.
Definition at line 49 of file camera_following_camera.cpp.
Definition at line 57 of file camera_following_camera.cpp.
void rve_common_transformers::CameraFollowingCamera::cameraInfoCallback | ( | const sensor_msgs::CameraInfoConstPtr & | camera_info | ) | [private] |
Definition at line 66 of file camera_following_camera.cpp.
void rve_common_transformers::CameraFollowingCamera::onCameraSet | ( | ) | [private, virtual] |
Implements rve_transformer::CameraTransformer.
Definition at line 78 of file camera_following_camera.cpp.
void rve_common_transformers::CameraFollowingCamera::onInit | ( | ) | [private, virtual] |
Implements rve_transformer::Transformer.
Definition at line 61 of file camera_following_camera.cpp.
void rve_common_transformers::CameraFollowingCamera::onUpdate | ( | ) | [private, virtual] |
Implements rve_transformer::Transformer.
Definition at line 73 of file camera_following_camera.cpp.
void rve_common_transformers::CameraFollowingCamera::updateCamera | ( | ) | [private] |
Definition at line 85 of file camera_following_camera.cpp.
sensor_msgs::CameraInfoConstPtr rve_common_transformers::CameraFollowingCamera::camera_info_ [private] |
Definition at line 82 of file camera_following_camera.h.
Definition at line 81 of file camera_following_camera.h.
rve_render_client::CameraInfoProjectionFactoryPtr rve_common_transformers::CameraFollowingCamera::camera_projection_ [private] |
Definition at line 78 of file camera_following_camera.h.
Eigen::Quaternionf rve_common_transformers::CameraFollowingCamera::orientation_ [private] |
Definition at line 75 of file camera_following_camera.h.
Eigen::Vector3f rve_common_transformers::CameraFollowingCamera::position_ [private] |
Definition at line 76 of file camera_following_camera.h.
std::string rve_common_transformers::CameraFollowingCamera::target_frame_ [private] |
Definition at line 73 of file camera_following_camera.h.