18 #ifndef __IFM3D_ROS_CAMERA_NODELET_H__ 19 #define __IFM3D_ROS_CAMERA_NODELET_H__ 30 #include <ifm3d/camera.h> 32 #include <ifm3d/image.h> 33 #include <ifm3d/Config.h> 34 #include <ifm3d/Dump.h> 35 #include <ifm3d/Extrinsics.h> 36 #include <ifm3d/SoftOff.h> 37 #include <ifm3d/SoftOn.h> 38 #include <ifm3d/SyncClocks.h> 39 #include <ifm3d/Trigger.h> 55 virtual void onInit()
override;
60 bool Dump(ifm3d::Dump::Request& req, ifm3d::Dump::Response& res);
61 bool Config(ifm3d::Config::Request& req, ifm3d::Config::Response& res);
62 bool Trigger(ifm3d::Trigger::Request& req, ifm3d::Trigger::Response& res);
63 bool SoftOff(ifm3d::SoftOff::Request& req, ifm3d::SoftOff::Response& res);
64 bool SoftOn(ifm3d::SoftOn::Request& req, ifm3d::SoftOn::Response& res);
65 bool SyncClocks(ifm3d::SyncClocks::Request& req,
66 ifm3d::SyncClocks::Response& res);
96 ifm3d::FrameGrabber::Ptr
fg_;
97 ifm3d::ImageBuffer::Ptr
im_;
101 std::unique_ptr<image_transport::ImageTransport>
it_;
135 #endif // __IFM3D_ROS_CAMERA_NODELET_H__ float frame_latency_thresh_
bool Config(ifm3d::Config::Request &req, ifm3d::Config::Response &res)
double soft_off_timeout_tolerance_secs_
ros::Publisher cloud_pub_
ros::ServiceServer soft_off_srv_
image_transport::Publisher conf_pub_
std::uint16_t schema_mask_
ifm3d::ImageBuffer::Ptr im_
ros::ServiceServer dump_srv_
image_transport::Publisher good_bad_pub_
image_transport::Publisher raw_amplitude_pub_
int soft_on_timeout_millis_
ros::ServiceServer sync_clocks_srv_
image_transport::Publisher amplitude_pub_
ifm3d::FrameGrabber::Ptr fg_
bool InitStructures(std::uint16_t mask)
ros::Publisher extrinsics_pub_
double soft_on_timeout_tolerance_secs_
image_transport::Publisher xyz_image_pub_
image_transport::Publisher distance_pub_
ros::ServiceServer trigger_srv_
bool Trigger(ifm3d::Trigger::Request &req, ifm3d::Trigger::Response &res)
ros::Timer publoop_timer_
ros::ServiceServer soft_on_srv_
bool Dump(ifm3d::Dump::Request &req, ifm3d::Dump::Response &res)
int soft_off_timeout_millis_
bool SoftOff(ifm3d::SoftOff::Request &req, ifm3d::SoftOff::Response &res)
std::uint16_t xmlrpc_port_
virtual void onInit() override
double timeout_tolerance_secs_
bool SoftOn(ifm3d::SoftOn::Request &req, ifm3d::SoftOn::Response &res)
bool SyncClocks(ifm3d::SyncClocks::Request &req, ifm3d::SyncClocks::Response &res)
std::string optical_frame_id_
ros::ServiceServer config_srv_
bool assume_sw_triggered_
std::unique_ptr< image_transport::ImageTransport > it_