Defines | Functions | Variables
PainterMain.cpp File Reference
#include <vector>
#include <ros/ros.h>
#include <tf/tf.h>
#include <tf/transform_listener.h>
#include <ee_cart_imped_action/ee_cart_imped_arm.hh>
#include <portrait_painter/SetCanvas.h>
#include <portrait_painter/PainterUtils.h>
#include <portrait_painter/JobSubmission.h>
#include <portrait_painter/Point2D.h>
Include dependency graph for PainterMain.cpp:

Go to the source code of this file.

Defines

#define CANVAS_OFFSET   0.1
#define MAXSPEED   0.2

Functions

bool handleCanvasSetting (portrait_painter::SetCanvas::Request &req, portrait_painter::SetCanvas::Response &res)
bool handleJobSumission (portrait_painter::JobSubmission::Request &req, portrait_painter::JobSubmission::Response &res)
int main (int argc, char **argv)
void runJob ()
bool validateJob ()

Variables

ros::Publisher armController
bool canvasSet = false
tf::Point cornerDown
tf::Point cornerRight
bool jobActive = false
std::vector
< portrait_painter::Point2D > 
jobPoints
portrait_painter::Point2D jobStart
tf::Point leftLower
tf::Point leftUpper
tf::Point rightUpper
double SPEED

Define Documentation

#define CANVAS_OFFSET   0.1

Definition at line 17 of file PainterMain.cpp.

#define MAXSPEED   0.2

Definition at line 14 of file PainterMain.cpp.


Function Documentation

bool handleCanvasSetting ( portrait_painter::SetCanvas::Request &  req,
portrait_painter::SetCanvas::Response &  res 
)

Definition at line 53 of file PainterMain.cpp.

bool handleJobSumission ( portrait_painter::JobSubmission::Request &  req,
portrait_painter::JobSubmission::Response &  res 
)

Definition at line 87 of file PainterMain.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 226 of file PainterMain.cpp.

void runJob ( )

Definition at line 123 of file PainterMain.cpp.

Definition at line 207 of file PainterMain.cpp.


Variable Documentation

Definition at line 50 of file PainterMain.cpp.

bool canvasSet = false

Definition at line 34 of file PainterMain.cpp.

Definition at line 47 of file PainterMain.cpp.

Definition at line 45 of file PainterMain.cpp.

bool jobActive = false

Definition at line 38 of file PainterMain.cpp.

std::vector<portrait_painter::Point2D> jobPoints

Definition at line 41 of file PainterMain.cpp.

portrait_painter::Point2D jobStart

Definition at line 42 of file PainterMain.cpp.

Definition at line 31 of file PainterMain.cpp.

Definition at line 29 of file PainterMain.cpp.

Definition at line 30 of file PainterMain.cpp.

double SPEED

Definition at line 21 of file PainterMain.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


portrait_painter
Author(s): Niklas Meinzer, Ina Baumgarten
autogenerated on Wed Dec 26 2012 16:00:43