#include <std_msgs/Bool.h>
#include "ar_track_alvar/CvTestbed.h"
#include "ar_track_alvar/MarkerDetector.h"
#include "ar_track_alvar/Shared.h"
#include <cv_bridge/cv_bridge.h>
#include <ar_track_alvar_msgs/AlvarMarker.h>
#include <ar_track_alvar_msgs/AlvarMarkers.h>
#include <tf/transform_listener.h>
#include <tf/transform_broadcaster.h>
#include <sensor_msgs/image_encodings.h>
#include <dynamic_reconfigure/server.h>
#include <ar_track_alvar/ParamsConfig.h>
Go to the source code of this file.
Functions | |
void | configCallback (ar_track_alvar::ParamsConfig &config, uint32_t level) |
void | enableCallback (const std_msgs::BoolConstPtr &msg) |
void | getCapCallback (const sensor_msgs::ImageConstPtr &image_msg) |
int | main (int argc, char *argv[]) |
Variables | |
ros::Publisher | arMarkerPub_ |
ar_track_alvar_msgs::AlvarMarkers | arPoseMarkers_ |
Camera * | cam |
std::string | cam_image_topic |
std::string | cam_info_topic |
image_transport::Subscriber | cam_sub_ |
cv_bridge::CvImagePtr | cv_ptr_ |
bool | enabled = true |
bool | enableSwitched = false |
bool | init = true |
MarkerDetector< MarkerData > | marker_detector |
int | marker_margin = 2 |
int | marker_resolution = 5 |
double | marker_size |
double | max_frequency |
double | max_new_marker_error |
double | max_track_error |
std::string | output_frame |
visualization_msgs::Marker | rvizMarker_ |
ros::Publisher | rvizMarkerPub_ |
tf::TransformBroadcaster * | tf_broadcaster |
tf::TransformListener * | tf_listener |
void configCallback | ( | ar_track_alvar::ParamsConfig & | config, |
uint32_t | level | ||
) |
Definition at line 218 of file IndividualMarkersNoKinect.cpp.
void enableCallback | ( | const std_msgs::BoolConstPtr & | msg | ) |
Definition at line 232 of file IndividualMarkersNoKinect.cpp.
void getCapCallback | ( | const sensor_msgs::ImageConstPtr & | image_msg | ) |
as we can't see through markers, this one is false positive detection
int main | ( | int | argc, |
char * | argv[] | ||
) |
Subscriber for enable-topic so that a user can turn off the detection if it is not used without having to use the reconfigure where he has to know all parameters
Definition at line 238 of file IndividualMarkersNoKinect.cpp.
Definition at line 58 of file IndividualMarkersNoKinect.cpp.
ar_track_alvar_msgs::AlvarMarkers arPoseMarkers_ |
Definition at line 60 of file IndividualMarkersNoKinect.cpp.
Definition at line 55 of file IndividualMarkersNoKinect.cpp.
std::string cam_image_topic |
Definition at line 72 of file IndividualMarkersNoKinect.cpp.
std::string cam_info_topic |
Definition at line 73 of file IndividualMarkersNoKinect.cpp.
Definition at line 57 of file IndividualMarkersNoKinect.cpp.
Definition at line 56 of file IndividualMarkersNoKinect.cpp.
bool enabled = true |
Definition at line 67 of file IndividualMarkersNoKinect.cpp.
bool enableSwitched = false |
Definition at line 66 of file IndividualMarkersNoKinect.cpp.
bool init = true |
Definition at line 54 of file IndividualMarkersNoKinect.cpp.
Definition at line 64 of file IndividualMarkersNoKinect.cpp.
int marker_margin = 2 |
Definition at line 76 of file IndividualMarkersNoKinect.cpp.
int marker_resolution = 5 |
Definition at line 75 of file IndividualMarkersNoKinect.cpp.
double marker_size |
Definition at line 69 of file IndividualMarkersNoKinect.cpp.
double max_frequency |
Definition at line 68 of file IndividualMarkersNoKinect.cpp.
double max_new_marker_error |
Definition at line 70 of file IndividualMarkersNoKinect.cpp.
double max_track_error |
Definition at line 71 of file IndividualMarkersNoKinect.cpp.
std::string output_frame |
Definition at line 74 of file IndividualMarkersNoKinect.cpp.
visualization_msgs::Marker rvizMarker_ |
Definition at line 61 of file IndividualMarkersNoKinect.cpp.
Definition at line 59 of file IndividualMarkersNoKinect.cpp.
Definition at line 63 of file IndividualMarkersNoKinect.cpp.
Definition at line 62 of file IndividualMarkersNoKinect.cpp.