#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>
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, unsigned int interaction_mode, const tf::Vector3 &position, bool show_6dof) |
Marker | makeBox (InteractiveMarker &msg) |
InteractiveMarkerControl & | makeBoxControl (InteractiveMarker &msg) |
void | makeButtonMarker (const tf::Vector3 &position) |
void | makeChessPieceMarker (const tf::Vector3 &position) |
void | makeMenuMarker (const tf::Vector3 &position) |
void | makeMovingMarker (const tf::Vector3 &position) |
void | makePanTiltMarker (const tf::Vector3 &position) |
void | makeQuadrocopterMarker (const tf::Vector3 &position) |
void | makeRandomDofMarker (const tf::Vector3 &position) |
void | makeViewFacingMarker (const tf::Vector3 &position) |
void | processFeedback (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback) |
double | rand (double min, double max) |
void | saveMarker (InteractiveMarker int_marker) |
Variables | |
interactive_markers::MenuHandler | menu_handler |
boost::shared_ptr < interactive_markers::InteractiveMarkerServer > | server |
void alignMarker | ( | const visualization_msgs::InteractiveMarkerFeedbackConstPtr & | feedback | ) |
Definition at line 157 of file basic_controls.cpp.
void frameCallback | ( | const ros::TimerEvent & | ) |
Definition at line 79 of file basic_controls.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 525 of file basic_controls.cpp.
void make6DofMarker | ( | bool | fixed, |
unsigned int | interaction_mode, | ||
const tf::Vector3 & | position, | ||
bool | show_6dof | ||
) |
Definition at line 194 of file basic_controls.cpp.
Marker makeBox | ( | InteractiveMarker & | msg | ) |
Definition at line 51 of file basic_controls.cpp.
InteractiveMarkerControl& makeBoxControl | ( | InteractiveMarker & | msg | ) |
Definition at line 67 of file basic_controls.cpp.
void makeButtonMarker | ( | const tf::Vector3 & | position | ) |
Definition at line 469 of file basic_controls.cpp.
void makeChessPieceMarker | ( | const tf::Vector3 & | position | ) |
Definition at line 372 of file basic_controls.cpp.
void makeMenuMarker | ( | const tf::Vector3 & | position | ) |
Definition at line 442 of file basic_controls.cpp.
void makeMovingMarker | ( | const tf::Vector3 & | position | ) |
Definition at line 495 of file basic_controls.cpp.
void makePanTiltMarker | ( | const tf::Vector3 & | position | ) |
Definition at line 406 of file basic_controls.cpp.
void makeQuadrocopterMarker | ( | const tf::Vector3 & | position | ) |
Definition at line 343 of file basic_controls.cpp.
void makeRandomDofMarker | ( | const tf::Vector3 & | position | ) |
Definition at line 271 of file basic_controls.cpp.
void makeViewFacingMarker | ( | const tf::Vector3 & | position | ) |
Definition at line 304 of file basic_controls.cpp.
void processFeedback | ( | const visualization_msgs::InteractiveMarkerFeedbackConstPtr & | feedback | ) |
Definition at line 102 of file basic_controls.cpp.
double rand | ( | double | min, |
double | max | ||
) |
Definition at line 179 of file basic_controls.cpp.
void saveMarker | ( | InteractiveMarker | int_marker | ) |
Definition at line 185 of file basic_controls.cpp.
Definition at line 46 of file basic_controls.cpp.
boost::shared_ptr<interactive_markers::InteractiveMarkerServer> server |
Definition at line 45 of file basic_controls.cpp.