5 #include <ensenso_camera_msgs/RequestDataMonoAction.h> 6 #include <ensenso_camera_msgs/LocatePatternMonoAction.h> 34 void onRequestData(ensenso_camera_msgs::RequestDataMonoGoalConstPtr
const& goal);
36 void onLocatePattern(ensenso_camera_msgs::LocatePatternMonoGoalConstPtr
const& goal);
38 void onSetParameter(ensenso_camera_msgs::SetParameterGoalConstPtr
const& goal)
override;
46 std::vector<MonoCalibrationPattern>
collectPattern(
bool clearBuffer =
false)
const;
60 bool latestPatternOnly =
false)
const override;
66 std::string
const&
targetFrame =
"")
const override;
void onRequestData(ensenso_camera_msgs::RequestDataMonoGoalConstPtr const &goal)
std::unique_ptr< LocatePatternMonoServer > locatePatternServer
MonoCamera(ros::NodeHandle nh, std::string serial, std::string fileCameraPath, bool fixed, std::string cameraFrame, std::string targetFrame, std::string linkFrame)
ros::Time capture() const override
void fillCameraInfoFromNxLib(sensor_msgs::CameraInfoPtr const &info, bool rectified=false)
sensor_msgs::CameraInfoPtr rectifiedCameraInfo
image_transport::CameraPublisher rectifiedImagePublisher
void onSetParameter(ensenso_camera_msgs::SetParameterGoalConstPtr const &goal) override
std::vector< geometry_msgs::TransformStamped > estimatePatternPoses(ros::Time imageTimestamp=ros::Time::now(), std::string const &targetFrame="") const override
std::vector< MonoCalibrationPattern > collectPattern(bool clearBuffer=false) const
void onLocatePattern(ensenso_camera_msgs::LocatePatternMonoGoalConstPtr const &goal)
geometry_msgs::TransformStamped estimatePatternPose(ros::Time imageTimestamp=ros::Time::now(), std::string const &targetFrame="", bool latestPatternOnly=false) const override
std::string fileCameraPath
std::unique_ptr< RequestDataMonoServer > requestDataServer
void startServers() const override
image_transport::CameraPublisher rawImagePublisher
sensor_msgs::CameraInfoPtr cameraInfo
void updateCameraInfo() override