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>
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 rviz interactive markers for ptu direct control.
Definition in file ptu_interactive_control.cpp.
| 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.
| 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.