This code publishes and target as an rviz interactive marker for the foveation control to be tested. More...
#include <sensor_msgs/PointCloud2.h>
#include <pcl/ros/conversions.h>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <ros/ros.h>
#include <interactive_markers/interactive_marker_server.h>
#include <string>
#include <vector>
#include <map>
#include <ostream>
#include "ros/serialization.h"
#include "ros/builtin_message_traits.h"
#include "ros/message_operations.h"
#include "ros/time.h"
#include "ros/macros.h"
#include "ros/assert.h"
#include "std_msgs/Header.h"
#include "geometry_msgs/Pose.h"
#include "geometry_msgs/Quaternion.h"
#include "geometry_msgs/Vector3.h"
#include "geometry_msgs/Point.h"
#include "std_msgs/ColorRGBA.h"
#include <boost/scoped_ptr.hpp>
#include <boost/thread/thread.hpp>
#include <boost/thread/recursive_mutex.hpp>
#include <ros/callback_queue.h>
#include <boost/function.hpp>
#include <boost/unordered_map.hpp>
#include <visualization_msgs/MenuEntry.h>
#include <interactive_markers/interactive_marker_server.h>
#include "tf/tf.h"
#include "tf/tfMessage.h"
#include <math.h>
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 |
This code publishes and target as an rviz interactive marker for the foveation control to be tested.
Definition in file publish_target.cpp.
void alignMarker | ( | const visualization_msgs::InteractiveMarkerFeedbackConstPtr & | feedback | ) |
Definition at line 165 of file publish_target.cpp.
void frameCallback | ( | const ros::TimerEvent & | ) |
Definition at line 75 of file publish_target.cpp.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 524 of file publish_target.cpp.
void make6DofMarker | ( | bool | fixed | ) |
Definition at line 230 of file publish_target.cpp.
Marker makeBox | ( | InteractiveMarker & | msg | ) |
Definition at line 194 of file publish_target.cpp.
InteractiveMarkerControl& makeBoxControl | ( | InteractiveMarker & | msg | ) |
Definition at line 210 of file publish_target.cpp.
void makeChessPieceMarker | ( | ) |
Definition at line 393 of file publish_target.cpp.
void makeMenuMarker | ( | ) |
Definition at line 463 of file publish_target.cpp.
void makeMovingMarker | ( | ) |
Definition at line 494 of file publish_target.cpp.
void makePanTiltMarker | ( | ) |
Definition at line 427 of file publish_target.cpp.
void makeQuadrocopterMarker | ( | ) |
Definition at line 364 of file publish_target.cpp.
void makeRandomDofMarker | ( | ) |
Definition at line 292 of file publish_target.cpp.
void makeViewFacingMarker | ( | ) |
Definition at line 325 of file publish_target.cpp.
void processFeedback | ( | const visualization_msgs::InteractiveMarkerFeedbackConstPtr & | feedback | ) |
Definition at line 98 of file publish_target.cpp.
double rand | ( | double | min, | |
double | max | |||
) |
Definition at line 187 of file publish_target.cpp.
void saveMarker | ( | InteractiveMarker | int_marker | ) |
Definition at line 221 of file publish_target.cpp.
float marker_pos = 0 |
Definition at line 69 of file publish_target.cpp.
interactive_markers::MenuHandler menu_handler |
Definition at line 70 of file publish_target.cpp.
ros::Publisher pub |
Definition at line 71 of file publish_target.cpp.
boost::shared_ptr<interactive_markers::InteractiveMarkerServer> server |
Definition at line 68 of file publish_target.cpp.