Functions | Variables
ptu_interactive_control.cpp File Reference

This code publishes rviz interactive markers for ptu direct control. More...

#include <ros/ros.h>
#include <interactive_markers/interactive_marker_server.h>
#include <interactive_markers/menu_handler.h>
#include <tf/transform_broadcaster.h>
#include <tf/tf.h>
#include <math.h>
#include <sensor_msgs/JointState.h>
Include dependency graph for ptu_interactive_control.cpp:

Go to the source code of this file.

Functions

void alignMarker (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
 
void frameCallback (const ros::TimerEvent &)
 
int main (int argc, char **argv)
 
void make6DofMarker (bool fixed)
 
Marker makeBox (InteractiveMarker &msg)
 
InteractiveMarkerControl & makeBoxControl (InteractiveMarker &msg)
 
void makeChessPieceMarker ()
 
void makeMenuMarker ()
 
void makeMovingMarker ()
 
void makePanTiltMarker ()
 
void makeQuadrocopterMarker ()
 
void makeRandomDofMarker ()
 
void makeViewFacingMarker ()
 
void processFeedback (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
 
double rand (double min, double max)
 
void saveMarker (InteractiveMarker int_marker)
 

Variables

float marker_pos = 0
 
interactive_markers::MenuHandler menu_handler
 
ros::Publisher pub
 
boost::shared_ptr
< interactive_markers::InteractiveMarkerServer > 
server
 

Detailed Description

This code publishes rviz interactive markers for ptu direct control.

Author
Miguel Oliveira
Version
v0
Date
2012-03-02

Definition in file ptu_interactive_control.cpp.

Function Documentation

void alignMarker ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback)

Definition at line 160 of file ptu_interactive_control.cpp.

void frameCallback ( const ros::TimerEvent &  )

Definition at line 56 of file ptu_interactive_control.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 521 of file ptu_interactive_control.cpp.

void make6DofMarker ( bool  fixed)

Definition at line 225 of file ptu_interactive_control.cpp.

Marker makeBox ( InteractiveMarker &  msg)

Definition at line 189 of file ptu_interactive_control.cpp.

InteractiveMarkerControl& makeBoxControl ( InteractiveMarker &  msg)

Definition at line 205 of file ptu_interactive_control.cpp.

void makeChessPieceMarker ( )

Definition at line 388 of file ptu_interactive_control.cpp.

void makeMenuMarker ( )

Definition at line 460 of file ptu_interactive_control.cpp.

void makeMovingMarker ( )

Definition at line 491 of file ptu_interactive_control.cpp.

void makePanTiltMarker ( )

Definition at line 422 of file ptu_interactive_control.cpp.

void makeQuadrocopterMarker ( )

Definition at line 359 of file ptu_interactive_control.cpp.

void makeRandomDofMarker ( )

Definition at line 287 of file ptu_interactive_control.cpp.

void makeViewFacingMarker ( )

Definition at line 320 of file ptu_interactive_control.cpp.

void processFeedback ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback)

Definition at line 79 of file ptu_interactive_control.cpp.

double rand ( double  min,
double  max 
)

Definition at line 182 of file ptu_interactive_control.cpp.

void saveMarker ( InteractiveMarker  int_marker)

Definition at line 216 of file ptu_interactive_control.cpp.

Variable Documentation

float marker_pos = 0

Definition at line 50 of file ptu_interactive_control.cpp.

interactive_markers::MenuHandler menu_handler

Definition at line 51 of file ptu_interactive_control.cpp.

ros::Publisher pub

Definition at line 52 of file ptu_interactive_control.cpp.

boost::shared_ptr<interactive_markers::InteractiveMarkerServer> server

Definition at line 49 of file ptu_interactive_control.cpp.



atlascar_ptu
Author(s): Miguel Oliveira
autogenerated on Mon Mar 2 2015 01:31:26