Defines | Functions | Variables
TrainMarkerBundle.cpp File Reference
#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>
#include <Eigen/StdVector>
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_msgs::AlvarMarker *ar_pose_marker)

Variables

bool add_measurement = false
ros::Publisher arMarkerPub_
ar_track_alvar_msgs::AlvarMarkers arPoseMarkers_
bool auto_collect
int auto_count
Cameracam
std::string cam_image_topic
std::string cam_info_topic
image_transport::Subscriber cam_sub_
cv_bridge::CvImagePtr cv_ptr_
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 56 of file TrainMarkerBundle.cpp.

#define MAIN_MARKER   1

Definition at line 54 of file TrainMarkerBundle.cpp.

#define VISIBLE_MARKER   2

Definition at line 55 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 91 of file TrainMarkerBundle.cpp.

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

Definition at line 319 of file TrainMarkerBundle.cpp.

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

Definition at line 373 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_msgs::AlvarMarker *  ar_pose_marker 
)

Variable Documentation

bool add_measurement = false
Examples:
SampleMultiMarkerBundle.cpp.

Definition at line 73 of file TrainMarkerBundle.cpp.

Definition at line 61 of file TrainMarkerBundle.cpp.

ar_track_alvar_msgs::AlvarMarkers arPoseMarkers_

Definition at line 63 of file TrainMarkerBundle.cpp.

Definition at line 70 of file TrainMarkerBundle.cpp.

Definition at line 69 of file TrainMarkerBundle.cpp.

Definition at line 58 of file TrainMarkerBundle.cpp.

std::string cam_image_topic

Definition at line 80 of file TrainMarkerBundle.cpp.

std::string cam_info_topic

Definition at line 81 of file TrainMarkerBundle.cpp.

Definition at line 60 of file TrainMarkerBundle.cpp.

Definition at line 59 of file TrainMarkerBundle.cpp.

bool init = true

Definition at line 72 of file TrainMarkerBundle.cpp.

Definition at line 66 of file TrainMarkerBundle.cpp.

double marker_size

Definition at line 77 of file TrainMarkerBundle.cpp.

Definition at line 78 of file TrainMarkerBundle.cpp.

Definition at line 79 of file TrainMarkerBundle.cpp.

Examples:
SampleMultiMarkerBundle.cpp.

Definition at line 68 of file TrainMarkerBundle.cpp.

Examples:
SampleMultiMarkerBundle.cpp.

Definition at line 67 of file TrainMarkerBundle.cpp.

Examples:
SampleMultiMarker.cpp, and SampleMultiMarkerBundle.cpp.

Definition at line 83 of file TrainMarkerBundle.cpp.

bool optimize = false
Examples:
SampleMultiMarkerBundle.cpp.

Definition at line 74 of file TrainMarkerBundle.cpp.

bool optimize_done = false
Examples:
SampleMultiMarkerBundle.cpp.

Definition at line 75 of file TrainMarkerBundle.cpp.

std::string output_frame

Definition at line 82 of file TrainMarkerBundle.cpp.

Definition at line 62 of file TrainMarkerBundle.cpp.

Definition at line 65 of file TrainMarkerBundle.cpp.

Definition at line 64 of file TrainMarkerBundle.cpp.



ar_track_alvar
Author(s): Scott Niekum
autogenerated on Thu Jun 6 2019 21:12:54