#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) |
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 510 of file basic_controls.cpp.
void make6DofMarker | ( | bool | fixed, |
unsigned int | interaction_mode, | ||
const tf::Vector3 & | position, | ||
bool | show_6dof | ||
) |
Definition at line 188 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 455 of file basic_controls.cpp.
void makeChessPieceMarker | ( | const tf::Vector3 & | position | ) |
Definition at line 361 of file basic_controls.cpp.
void makeMenuMarker | ( | const tf::Vector3 & | position | ) |
Definition at line 428 of file basic_controls.cpp.
void makeMovingMarker | ( | const tf::Vector3 & | position | ) |
Definition at line 481 of file basic_controls.cpp.
void makePanTiltMarker | ( | const tf::Vector3 & | position | ) |
Definition at line 394 of file basic_controls.cpp.
void makeQuadrocopterMarker | ( | const tf::Vector3 & | position | ) |
Definition at line 333 of file basic_controls.cpp.
void makeRandomDofMarker | ( | const tf::Vector3 & | position | ) |
Definition at line 262 of file basic_controls.cpp.
void makeViewFacingMarker | ( | const tf::Vector3 & | position | ) |
Definition at line 294 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.
interactive_markers::MenuHandler menu_handler |
Definition at line 46 of file basic_controls.cpp.
Definition at line 45 of file basic_controls.cpp.