#include "ar_track_alvar/CvTestbed.h"
#include "ar_track_alvar/MarkerDetector.h"
#include "ar_track_alvar/MultiMarkerBundle.h"
#include "ar_track_alvar/MultiMarkerInitializer.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>
Go to the source code of this file.
Macros | |
#define | GHOST_MARKER 3 |
#define | MAIN_MARKER 1 |
#define | VISIBLE_MARKER 2 |
Functions | |
void | getCapCallback (const sensor_msgs::ImageConstPtr &image_msg) |
void | GetMultiMarkerPoses (IplImage *image) |
int | main (int argc, char *argv[]) |
void | makeMarkerMsgs (int type, int id, Pose &p, sensor_msgs::ImageConstPtr image_msg, tf::StampedTransform &CamToOutput, visualization_msgs::Marker *rvizMarker, ar_track_alvar_msgs::AlvarMarker *ar_pose_marker) |
Variables | |
ros::Publisher | arMarkerPub_ |
ar_track_alvar_msgs::AlvarMarkers | arPoseMarkers_ |
std::vector< int > * | bundle_indices |
Pose * | bundlePoses |
bool * | bundles_seen |
Camera * | cam |
std::string | cam_image_topic |
std::string | cam_info_topic |
image_transport::Subscriber | cam_sub_ |
cv_bridge::CvImagePtr | cv_ptr_ |
bool | init = true |
MarkerDetector< MarkerData > | marker_detector |
double | marker_size |
int * | master_id |
double | max_new_marker_error |
double | max_track_error |
MultiMarkerBundle ** | multi_marker_bundles =NULL |
int | n_bundles = 0 |
std::string | output_frame |
ros::Publisher | rvizMarkerPub_ |
tf::TransformBroadcaster * | tf_broadcaster |
tf::TransformListener * | tf_listener |
#define GHOST_MARKER 3 |
Definition at line 55 of file FindMarkerBundlesNoKinect.cpp.
#define MAIN_MARKER 1 |
Definition at line 53 of file FindMarkerBundlesNoKinect.cpp.
#define VISIBLE_MARKER 2 |
Definition at line 54 of file FindMarkerBundlesNoKinect.cpp.
void getCapCallback | ( | const sensor_msgs::ImageConstPtr & | image_msg | ) |
as we can't see through markers, this one is false positive detection
Definition at line 193 of file FindMarkerBundlesNoKinect.cpp.
void GetMultiMarkerPoses | ( | IplImage * | image | ) |
Definition at line 87 of file FindMarkerBundlesNoKinect.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 279 of file FindMarkerBundlesNoKinect.cpp.
void makeMarkerMsgs | ( | int | type, |
int | id, | ||
Pose & | p, | ||
sensor_msgs::ImageConstPtr | image_msg, | ||
tf::StampedTransform & | CamToOutput, | ||
visualization_msgs::Marker * | rvizMarker, | ||
ar_track_alvar_msgs::AlvarMarker * | ar_pose_marker | ||
) |
Definition at line 104 of file FindMarkerBundlesNoKinect.cpp.
ros::Publisher arMarkerPub_ |
Definition at line 60 of file FindMarkerBundlesNoKinect.cpp.
ar_track_alvar_msgs::AlvarMarkers arPoseMarkers_ |
Definition at line 62 of file FindMarkerBundlesNoKinect.cpp.
std::vector<int>* bundle_indices |
Definition at line 70 of file FindMarkerBundlesNoKinect.cpp.
Pose* bundlePoses |
Definition at line 67 of file FindMarkerBundlesNoKinect.cpp.
bool* bundles_seen |
Definition at line 69 of file FindMarkerBundlesNoKinect.cpp.
Camera* cam |
Definition at line 57 of file FindMarkerBundlesNoKinect.cpp.
std::string cam_image_topic |
Definition at line 76 of file FindMarkerBundlesNoKinect.cpp.
std::string cam_info_topic |
Definition at line 77 of file FindMarkerBundlesNoKinect.cpp.
image_transport::Subscriber cam_sub_ |
Definition at line 59 of file FindMarkerBundlesNoKinect.cpp.
cv_bridge::CvImagePtr cv_ptr_ |
Definition at line 58 of file FindMarkerBundlesNoKinect.cpp.
bool init = true |
Definition at line 71 of file FindMarkerBundlesNoKinect.cpp.
MarkerDetector<MarkerData> marker_detector |
Definition at line 65 of file FindMarkerBundlesNoKinect.cpp.
double marker_size |
Definition at line 73 of file FindMarkerBundlesNoKinect.cpp.
int* master_id |
Definition at line 68 of file FindMarkerBundlesNoKinect.cpp.
double max_new_marker_error |
Definition at line 74 of file FindMarkerBundlesNoKinect.cpp.
double max_track_error |
Definition at line 75 of file FindMarkerBundlesNoKinect.cpp.
MultiMarkerBundle** multi_marker_bundles =NULL |
Definition at line 66 of file FindMarkerBundlesNoKinect.cpp.
int n_bundles = 0 |
Definition at line 79 of file FindMarkerBundlesNoKinect.cpp.
std::string output_frame |
Definition at line 78 of file FindMarkerBundlesNoKinect.cpp.
ros::Publisher rvizMarkerPub_ |
Definition at line 61 of file FindMarkerBundlesNoKinect.cpp.
tf::TransformBroadcaster* tf_broadcaster |
Definition at line 64 of file FindMarkerBundlesNoKinect.cpp.
tf::TransformListener* tf_listener |
Definition at line 63 of file FindMarkerBundlesNoKinect.cpp.