This class processes the point cloud input to find the LED. More...
#include <led_finder.h>
Classes | |
struct | CloudDifferenceTracker |
Internally used within LED finder to track each of several LEDs. More... | |
Public Member Functions | |
bool | find (robot_calibration_msgs::CalibrationData *msg) |
Once the robot has been moved into the proper position and settled, this function will be called. It should add any new observations to the msg passed in. More... | |
bool | init (const std::string &name, ros::NodeHandle &n) |
Initialize the feature finder. More... | |
LedFinder () | |
Public Member Functions inherited from robot_calibration::FeatureFinder | |
FeatureFinder () | |
std::string | getName () |
Get the name of this feature finder. More... | |
virtual | ~FeatureFinder () |
Private Types | |
typedef actionlib::SimpleActionClient< robot_calibration_msgs::GripperLedCommandAction > | LedClient |
Private Member Functions | |
void | cameraCallback (const sensor_msgs::PointCloud2::ConstPtr &cloud) |
bool | waitForCloud () |
Private Attributes | |
std::string | camera_sensor_name_ |
Should we output debug image/cloud? More... | |
std::string | chain_sensor_name_ |
boost::scoped_ptr< LedClient > | client_ |
Outgoing sensor_msgs::PointCloud2. More... | |
sensor_msgs::PointCloud2 | cloud_ |
std::vector< uint8_t > | codes_ |
DepthCameraInfoManager | depth_camera_manager_ |
tf::TransformListener | listener_ |
double | max_error_ |
double | max_inconsistency_ |
Maximum distance led can be from expected pose. More... | |
int | max_iterations_ |
Minimum value of diffs in order to trigger that this is an LED. More... | |
bool | output_debug_ |
Maximum number of cycles before we abort finding the LED. More... | |
ros::Publisher | publisher_ |
Incoming sensor_msgs::PointCloud2. More... | |
ros::Subscriber | subscriber_ |
double | threshold_ |
std::vector< boost::shared_ptr< ros::Publisher > > | tracker_publishers_ |
std::vector< CloudDifferenceTracker > | trackers_ |
bool | waiting_ |
This class processes the point cloud input to find the LED.
Definition at line 39 of file led_finder.h.
|
private |
Definition at line 86 of file led_finder.h.
robot_calibration::LedFinder::LedFinder | ( | ) |
Definition at line 48 of file led_finder.cpp.
|
private |
Definition at line 126 of file led_finder.cpp.
|
virtual |
Once the robot has been moved into the proper position and settled, this function will be called. It should add any new observations to the msg passed in.
msg | The message to which observations should be added. |
Implements robot_calibration::FeatureFinder.
Definition at line 157 of file led_finder.cpp.
|
virtual |
Initialize the feature finder.
name | The name of this finder. |
nh | The nodehandle to use when loading feature finder configuration data. |
Reimplemented from robot_calibration::FeatureFinder.
Definition at line 53 of file led_finder.cpp.
|
private |
Definition at line 136 of file led_finder.cpp.
|
private |
Should we output debug image/cloud?
Definition at line 122 of file led_finder.h.
|
private |
Definition at line 123 of file led_finder.h.
|
private |
Outgoing sensor_msgs::PointCloud2.
Definition at line 99 of file led_finder.h.
|
private |
Definition at line 102 of file led_finder.h.
|
private |
Definition at line 106 of file led_finder.h.
|
private |
Definition at line 109 of file led_finder.h.
|
private |
Definition at line 108 of file led_finder.h.
|
private |
Definition at line 114 of file led_finder.h.
|
private |
Maximum distance led can be from expected pose.
Definition at line 115 of file led_finder.h.
|
private |
Minimum value of diffs in order to trigger that this is an LED.
Definition at line 118 of file led_finder.h.
|
private |
Maximum number of cycles before we abort finding the LED.
Definition at line 120 of file led_finder.h.
|
private |
Incoming sensor_msgs::PointCloud2.
Definition at line 98 of file led_finder.h.
|
private |
Definition at line 97 of file led_finder.h.
|
private |
Definition at line 117 of file led_finder.h.
|
private |
Definition at line 104 of file led_finder.h.
|
private |
Definition at line 105 of file led_finder.h.
|
private |
Definition at line 101 of file led_finder.h.