Defines | Functions | Variables
TrainMarkerBundle.cpp File Reference
#include "CvTestbed.h"
#include "MarkerDetector.h"
#include "MultiMarkerBundle.h"
#include "MultiMarkerInitializer.h"
#include "Shared.h"
#include <cv_bridge/CvBridge.h>
#include <ar_track_alvar/AlvarMarker.h>
#include <ar_track_alvar/AlvarMarkers.h>
#include <tf/transform_listener.h>
Include dependency graph for TrainMarkerBundle.cpp:

Go to the source code of this file.

Defines

#define GHOST_MARKER   3
#define MAIN_MARKER   1
#define VISIBLE_MARKER   2

Functions

void getCapCallback (const sensor_msgs::ImageConstPtr &image_msg)
double GetMultiMarkerPose (IplImage *image, Pose &pose)
int keyCallback (int key)
int keyProcess (int key)
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::AlvarMarker *ar_pose_marker)

Variables

bool add_measurement = false
ros::Publisher arMarkerPub_
ar_track_alvar::AlvarMarkers arPoseMarkers_
bool auto_collect
int auto_count
sensor_msgs::CvBridge bridge_
Cameracam
std::string cam_image_topic
std::string cam_info_topic
image_transport::Subscriber cam_sub_
IplImage * capture_
bool init = true
MarkerDetector< MarkerDatamarker_detector
double marker_size
double max_new_marker_error
double max_track_error
MultiMarkerBundlemulti_marker_bundle = NULL
MultiMarkerInitializermulti_marker_init = NULL
int nof_markers
bool optimize = false
bool optimize_done = false
std::string output_frame
ros::Publisher rvizMarkerPub_
tf::TransformBroadcastertf_broadcaster
tf::TransformListenertf_listener

Define Documentation

#define GHOST_MARKER   3

Definition at line 53 of file TrainMarkerBundle.cpp.

#define MAIN_MARKER   1

Definition at line 51 of file TrainMarkerBundle.cpp.

#define VISIBLE_MARKER   2

Definition at line 52 of file TrainMarkerBundle.cpp.


Function Documentation

void getCapCallback ( const sensor_msgs::ImageConstPtr &  image_msg)
double GetMultiMarkerPose ( IplImage *  image,
Pose pose 
)
Examples:
SampleMultiMarkerBundle.cpp.

Definition at line 89 of file TrainMarkerBundle.cpp.

int keyCallback ( int  key)
int keyProcess ( int  key)

Definition at line 316 of file TrainMarkerBundle.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 370 of file TrainMarkerBundle.cpp.

void makeMarkerMsgs ( int  type,
int  id,
Pose p,
sensor_msgs::ImageConstPtr  image_msg,
tf::StampedTransform CamToOutput,
visualization_msgs::Marker *  rvizMarker,
ar_track_alvar::AlvarMarker ar_pose_marker 
)

Variable Documentation

bool add_measurement = false
Examples:
SampleMultiMarkerBundle.cpp.

Definition at line 71 of file TrainMarkerBundle.cpp.

Definition at line 59 of file TrainMarkerBundle.cpp.

Definition at line 61 of file TrainMarkerBundle.cpp.

Definition at line 68 of file TrainMarkerBundle.cpp.

Definition at line 67 of file TrainMarkerBundle.cpp.

sensor_msgs::CvBridge bridge_

Definition at line 57 of file TrainMarkerBundle.cpp.

Definition at line 55 of file TrainMarkerBundle.cpp.

std::string cam_image_topic

Definition at line 78 of file TrainMarkerBundle.cpp.

std::string cam_info_topic

Definition at line 79 of file TrainMarkerBundle.cpp.

Definition at line 58 of file TrainMarkerBundle.cpp.

IplImage* capture_

Definition at line 56 of file TrainMarkerBundle.cpp.

bool init = true

Definition at line 70 of file TrainMarkerBundle.cpp.

Definition at line 64 of file TrainMarkerBundle.cpp.

double marker_size

Definition at line 75 of file TrainMarkerBundle.cpp.

Definition at line 76 of file TrainMarkerBundle.cpp.

Definition at line 77 of file TrainMarkerBundle.cpp.

Examples:
SampleMultiMarkerBundle.cpp.

Definition at line 66 of file TrainMarkerBundle.cpp.

Examples:
SampleMultiMarkerBundle.cpp.

Definition at line 65 of file TrainMarkerBundle.cpp.

Examples:
SampleMultiMarker.cpp, and SampleMultiMarkerBundle.cpp.

Definition at line 81 of file TrainMarkerBundle.cpp.

bool optimize = false
Examples:
SampleMultiMarkerBundle.cpp.

Definition at line 72 of file TrainMarkerBundle.cpp.

bool optimize_done = false
Examples:
SampleMultiMarkerBundle.cpp.

Definition at line 73 of file TrainMarkerBundle.cpp.

std::string output_frame

Definition at line 80 of file TrainMarkerBundle.cpp.

Definition at line 60 of file TrainMarkerBundle.cpp.

Definition at line 63 of file TrainMarkerBundle.cpp.

Definition at line 62 of file TrainMarkerBundle.cpp.



ar_track_alvar
Author(s): Scott Niekum
autogenerated on Sun Oct 5 2014 22:16:26