Public Member Functions | Private Attributes | List of all members
UrdfControlMarker Class Reference

Public Member Functions

void callDynamicTf (const std_msgs::Header &header, const std::string &child_frame, const geometry_msgs::Transform &pose, bool until_success=false)
 
void makeControlMarker (bool fixed)
 
void markerUpdate (std_msgs::Header header, geometry_msgs::Pose pose)
 
void processFeedback (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
 
void publish_pose_cb (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
 
void set_pose_cb (const geometry_msgs::PoseStampedConstPtr &msg)
 
void show_marker_cb (const std_msgs::BoolConstPtr &msg)
 
 UrdfControlMarker ()
 

Private Attributes

std::string center_marker_
 
geometry_msgs::Pose center_marker_pose_
 
double center_marker_scale_
 
std_msgs::ColorRGBA color_
 
ros::ServiceClient dynamic_tf_publisher_client_
 
std::string fixed_frame_id_
 
std::string frame_id_
 
std::string marker_frame_id_
 
interactive_markers::MenuHandler marker_menu_
 
double marker_scale_
 
bool mesh_use_embedded_materials_
 
bool move_2d_
 
ros::NodeHandle nh_
 
ros::NodeHandle pnh_
 
ros::Publisher pub_pose_
 
ros::Publisher pub_selected_pose_
 
std::shared_ptr< interactive_markers::InteractiveMarkerServerserver_
 
ros::Subscriber sub_set_pose_
 
ros::Subscriber sub_show_marker_
 
tf::TransformListener tf_listener_
 
bool use_dynamic_tf_
 

Detailed Description

Definition at line 17 of file urdf_control_marker.cpp.

Constructor & Destructor Documentation

◆ UrdfControlMarker()

UrdfControlMarker::UrdfControlMarker ( )

Definition at line 47 of file urdf_control_marker.cpp.

Member Function Documentation

◆ callDynamicTf()

void UrdfControlMarker::callDynamicTf ( const std_msgs::Header header,
const std::string child_frame,
const geometry_msgs::Transform &  pose,
bool  until_success = false 
)

Definition at line 134 of file urdf_control_marker.cpp.

◆ makeControlMarker()

void UrdfControlMarker::makeControlMarker ( bool  fixed)

Definition at line 183 of file urdf_control_marker.cpp.

◆ markerUpdate()

void UrdfControlMarker::markerUpdate ( std_msgs::Header  header,
geometry_msgs::Pose  pose 
)

Definition at line 165 of file urdf_control_marker.cpp.

◆ processFeedback()

void UrdfControlMarker::processFeedback ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback)

Definition at line 129 of file urdf_control_marker.cpp.

◆ publish_pose_cb()

void UrdfControlMarker::publish_pose_cb ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback)

Definition at line 100 of file urdf_control_marker.cpp.

◆ set_pose_cb()

void UrdfControlMarker::set_pose_cb ( const geometry_msgs::PoseStampedConstPtr &  msg)

Definition at line 107 of file urdf_control_marker.cpp.

◆ show_marker_cb()

void UrdfControlMarker::show_marker_cb ( const std_msgs::BoolConstPtr &  msg)

Definition at line 119 of file urdf_control_marker.cpp.

Member Data Documentation

◆ center_marker_

std::string UrdfControlMarker::center_marker_
private

Definition at line 39 of file urdf_control_marker.cpp.

◆ center_marker_pose_

geometry_msgs::Pose UrdfControlMarker::center_marker_pose_
private

Definition at line 44 of file urdf_control_marker.cpp.

◆ center_marker_scale_

double UrdfControlMarker::center_marker_scale_
private

Definition at line 42 of file urdf_control_marker.cpp.

◆ color_

std_msgs::ColorRGBA UrdfControlMarker::color_
private

Definition at line 40 of file urdf_control_marker.cpp.

◆ dynamic_tf_publisher_client_

ros::ServiceClient UrdfControlMarker::dynamic_tf_publisher_client_
private

Definition at line 33 of file urdf_control_marker.cpp.

◆ fixed_frame_id_

std::string UrdfControlMarker::fixed_frame_id_
private

Definition at line 38 of file urdf_control_marker.cpp.

◆ frame_id_

std::string UrdfControlMarker::frame_id_
private

Definition at line 38 of file urdf_control_marker.cpp.

◆ marker_frame_id_

std::string UrdfControlMarker::marker_frame_id_
private

Definition at line 38 of file urdf_control_marker.cpp.

◆ marker_menu_

interactive_markers::MenuHandler UrdfControlMarker::marker_menu_
private

Definition at line 43 of file urdf_control_marker.cpp.

◆ marker_scale_

double UrdfControlMarker::marker_scale_
private

Definition at line 42 of file urdf_control_marker.cpp.

◆ mesh_use_embedded_materials_

bool UrdfControlMarker::mesh_use_embedded_materials_
private

Definition at line 41 of file urdf_control_marker.cpp.

◆ move_2d_

bool UrdfControlMarker::move_2d_
private

Definition at line 31 of file urdf_control_marker.cpp.

◆ nh_

ros::NodeHandle UrdfControlMarker::nh_
private

Definition at line 36 of file urdf_control_marker.cpp.

◆ pnh_

ros::NodeHandle UrdfControlMarker::pnh_
private

Definition at line 36 of file urdf_control_marker.cpp.

◆ pub_pose_

ros::Publisher UrdfControlMarker::pub_pose_
private

Definition at line 37 of file urdf_control_marker.cpp.

◆ pub_selected_pose_

ros::Publisher UrdfControlMarker::pub_selected_pose_
private

Definition at line 37 of file urdf_control_marker.cpp.

◆ server_

std::shared_ptr<interactive_markers::InteractiveMarkerServer> UrdfControlMarker::server_
private

Definition at line 35 of file urdf_control_marker.cpp.

◆ sub_set_pose_

ros::Subscriber UrdfControlMarker::sub_set_pose_
private

Definition at line 34 of file urdf_control_marker.cpp.

◆ sub_show_marker_

ros::Subscriber UrdfControlMarker::sub_show_marker_
private

Definition at line 34 of file urdf_control_marker.cpp.

◆ tf_listener_

tf::TransformListener UrdfControlMarker::tf_listener_
private

Definition at line 32 of file urdf_control_marker.cpp.

◆ use_dynamic_tf_

bool UrdfControlMarker::use_dynamic_tf_
private

Definition at line 31 of file urdf_control_marker.cpp.


The documentation for this class was generated from the following file:


jsk_interactive_marker
Author(s): furuta
autogenerated on Fri Aug 2 2024 08:50:24