/home/laradmin/lar/bases/laser_rotate3D/src/laser3d_interactive_control.cpp File Reference

Controls the laser 3d device by using rviz interactive markers. More...

#include <ros/ros.h>
#include <stdlib.h>
#include <string>
#include <iostream>
#include <cmath>
#include <stdexcept>
#include "duration.h"
#include <boost/math/special_functions/round.hpp>
#include "rostime_decl.h"
#include <sys/time.h>
#include "ros/time.h"
#include <cstdio>
#include <sstream>
#include <cstdarg>
#include <log4cxx/logger.h>
#include "ros/console.h"
#include <boost/static_assert.hpp>
#include <ros/platform.h>
#include <stdint.h>
#include <assert.h>
#include <stddef.h>
#include "ros/assert.h"
#include <vector>
#include <map>
#include <set>
#include <list>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
#include <boost/function.hpp>
#include <ros/macros.h>
#include "yaml-cpp/mark.h"
#include "yaml-cpp/traits.h"
#include "roscpp_serialization_macros.h"
#include <boost/shared_array.hpp>
#include "ros/forwards.h"
#include "ros/common.h"
#include <string.h>
#include <boost/array.hpp>
#include <ros/types.h>
#include "serialized_message.h"
#include "message_forward.h"
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/remove_const.hpp>
#include <boost/type_traits/remove_reference.hpp>
#include "message_traits.h"
#include "ros/exception.h"
#include <boost/call_traits.hpp>
#include <boost/mpl/and.hpp>
#include <boost/mpl/or.hpp>
#include <boost/mpl/not.hpp>
#include <cstring>
#include <boost/bind.hpp>
#include "common.h"
#include <typeinfo>
#include <ros/message_traits.h>
#include <boost/type_traits/is_void.hpp>
#include <boost/type_traits/is_base_of.hpp>
#include <boost/type_traits/is_const.hpp>
#include <boost/type_traits/add_const.hpp>
#include <boost/make_shared.hpp>
#include <ros/static_assert.h>
#include "ros/builtin_message_traits.h"
#include "ros/serialization.h"
#include "ros/message_event.h"
#include "forwards.h"
#include "timer_options.h"
#include "ros/rate.h"
#include "wall_timer_options.h"
#include "ros/message.h"
#include "ros/service_traits.h"
#include <boost/lexical_cast.hpp>
#include "subscription_callback_helper.h"
#include "ros/spinner.h"
#include <time.h>
#include "ros/publisher.h"
#include <boost/utility.hpp>
#include "ros/service_server.h"
#include "ros/subscriber.h"
#include "ros/node_handle.h"
#include "ros/init.h"
#include "XmlRpcValue.h"
#include "node_handle.h"
#include "ros/names.h"
#include <ostream>
#include "ros/message_operations.h"
#include "geometry_msgs/Quaternion.h"
#include "std_msgs/Header.h"
#include "geometry_msgs/Pose.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/ros.h>
#include <boost/thread/mutex.hpp>
#include <boost/thread/shared_mutex.hpp>
#include <boost/thread/condition_variable.hpp>
#include <boost/thread/tss.hpp>
#include <deque>
#include <boost/unordered_map.hpp>
#include <visualization_msgs/MenuEntry.h>
#include <interactive_markers/interactive_marker_server.h>
#include <iomanip>
#include "geometry_msgs/Vector3.h"
#include "btMatrix3x3.h"
#include "tf/exceptions.h"
#include "LinearMath/btTransform.h"
#include <boost/signals.hpp>
#include "geometry_msgs/TransformStamped.h"
#include <tf/tf.h>
#include <math.h>
This graph shows which files directly or indirectly include this file:

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
bool pos_control = true
ros::Publisher pub
boost::shared_ptr
< interactive_markers::InteractiveMarkerServer > 
server

Detailed Description

Controls the laser 3d device by using rviz interactive markers.

Author:
Miguel Oliveira
Version:
v0
Date:
2012-03-02

Definition in file laser3d_interactive_control.cpp.


Function Documentation

void alignMarker ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback  ) 

Definition at line 224 of file laser3d_interactive_control.cpp.

void frameCallback ( const ros::TimerEvent &   ) 

Definition at line 57 of file laser3d_interactive_control.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 582 of file laser3d_interactive_control.cpp.

void make6DofMarker ( bool  fixed  ) 

Definition at line 289 of file laser3d_interactive_control.cpp.

Marker makeBox ( InteractiveMarker &  msg  ) 

Definition at line 253 of file laser3d_interactive_control.cpp.

InteractiveMarkerControl& makeBoxControl ( InteractiveMarker &  msg  ) 

Definition at line 269 of file laser3d_interactive_control.cpp.

void makeChessPieceMarker (  ) 

Definition at line 452 of file laser3d_interactive_control.cpp.

void makeMenuMarker (  ) 

Definition at line 516 of file laser3d_interactive_control.cpp.

void makeMovingMarker (  ) 

Definition at line 552 of file laser3d_interactive_control.cpp.

void makePanTiltMarker (  ) 

Definition at line 486 of file laser3d_interactive_control.cpp.

void makeQuadrocopterMarker (  ) 

Definition at line 423 of file laser3d_interactive_control.cpp.

void makeRandomDofMarker (  ) 

Definition at line 351 of file laser3d_interactive_control.cpp.

void makeViewFacingMarker (  ) 

Definition at line 384 of file laser3d_interactive_control.cpp.

void processFeedback ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback  ) 

Definition at line 80 of file laser3d_interactive_control.cpp.

double rand ( double  min,
double  max 
)

Definition at line 246 of file laser3d_interactive_control.cpp.

void saveMarker ( InteractiveMarker  int_marker  ) 

Definition at line 280 of file laser3d_interactive_control.cpp.


Variable Documentation

float marker_pos = 0

Definition at line 51 of file laser3d_interactive_control.cpp.

interactive_markers::MenuHandler menu_handler

Definition at line 52 of file laser3d_interactive_control.cpp.

bool pos_control = true

Definition at line 46 of file laser3d_interactive_control.cpp.

ros::Publisher pub

Definition at line 53 of file laser3d_interactive_control.cpp.

boost::shared_ptr<interactive_markers::InteractiveMarkerServer> server

Definition at line 50 of file laser3d_interactive_control.cpp.

 All Classes Files Functions Variables Defines


laser_rotate3D
Author(s): Ricardo Pascoal
autogenerated on Wed Jul 23 04:33:37 2014