Classes | Public Member Functions | Protected Attributes
UrdfModelMarker Class Reference

#include <urdf_model_marker.h>

List of all members.

Classes

struct  graspPoint
struct  linkProperty

Public Member Functions

void addChildLinkNames (boost::shared_ptr< const Link > link, bool root, bool init)
void addChildLinkNames (boost::shared_ptr< const Link > link, bool root, bool init, bool use_color, int color_index)
void addGraspPointControl (visualization_msgs::InteractiveMarker &int_marker, std::string link_frame_name_)
void addInvisibleMeshMarkerControl (visualization_msgs::InteractiveMarker &int_marker, boost::shared_ptr< const Link > link, const std_msgs::ColorRGBA &color)
void addMoveMarkerControl (visualization_msgs::InteractiveMarker &int_marker, boost::shared_ptr< const Link > link, bool root)
void CallSetDynamicTf (string parent_frame_id, string frame_id, geometry_msgs::Transform transform)
void getJointState (boost::shared_ptr< const Link > link, sensor_msgs::JointState &js)
geometry_msgs::PoseStamped getOriginPoseStamped ()
geometry_msgs::Pose getRootPose (geometry_msgs::Pose pose)
void graspPoint_feedback (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback, string link_name)
void graspPointCB (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
void hideAllMarkerCB (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
void hideMarkerCB (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
void hideModelMarkerCB (const std_msgs::EmptyConstPtr &msg)
void jointMoveCB (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
int main (string file)
visualization_msgs::InteractiveMarkerControl makeBoxMarkerControl (const geometry_msgs::PoseStamped &stamped, Vector3 dim, const std_msgs::ColorRGBA &color, bool use_color)
visualization_msgs::InteractiveMarkerControl makeCylinderMarkerControl (const geometry_msgs::PoseStamped &stamped, double length, double radius, const std_msgs::ColorRGBA &color, bool use_color)
visualization_msgs::InteractiveMarkerControl makeMeshMarkerControl (const std::string &mesh_resource, const geometry_msgs::PoseStamped &stamped, geometry_msgs::Vector3 scale, const std_msgs::ColorRGBA &color, bool use_color)
visualization_msgs::InteractiveMarkerControl makeMeshMarkerControl (const std::string &mesh_resource, const geometry_msgs::PoseStamped &stamped, geometry_msgs::Vector3 scale)
visualization_msgs::InteractiveMarkerControl makeMeshMarkerControl (const std::string &mesh_resource, const geometry_msgs::PoseStamped &stamped, geometry_msgs::Vector3 scale, const std_msgs::ColorRGBA &color)
visualization_msgs::InteractiveMarkerControl makeSphereMarkerControl (const geometry_msgs::PoseStamped &stamped, double rad, const std_msgs::ColorRGBA &color, bool use_color)
void moveCB (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
geometry_msgs::Transform Pose2Transform (geometry_msgs::Pose pose_msg)
void proc_feedback (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback, string parent_frame_id, string frame_id)
void publishBasePose (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
void publishBasePose (geometry_msgs::Pose pose, std_msgs::Header header)
void publishJointState (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
void publishMarkerMenu (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback, int menu)
void publishMarkerPose (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
void publishMarkerPose (geometry_msgs::Pose pose, std_msgs::Header header, std::string marker_name)
void publishMoveObject (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
void registrationCB (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
void republishJointState (sensor_msgs::JointState js)
void resetBaseCB ()
void resetBaseMarkerCB (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
void resetBaseMsgCB (const std_msgs::EmptyConstPtr &msg)
void resetJointStatesCB (const sensor_msgs::JointStateConstPtr &msg)
void resetMarkerCB (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
void resetRobotBase ()
void setJointAngle (boost::shared_ptr< const Link > link, double joint_angle)
void setJointState (boost::shared_ptr< const Link > link, const sensor_msgs::JointStateConstPtr &js)
void setOriginalPose (boost::shared_ptr< const Link > link)
void setPoseCB (const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
void setRootPose (geometry_msgs::PoseStamped ps)
void setRootPoseCB (const geometry_msgs::PoseStampedConstPtr &msg)
void setUrdfCB (const std_msgs::StringConstPtr &msg)
void showModelMarkerCB (const std_msgs::EmptyConstPtr &msg)
geometry_msgs::Pose Transform2Pose (const geometry_msgs::Transform tf_msg)
void updateDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat)
 UrdfModelMarker (string file, boost::shared_ptr< interactive_markers::InteractiveMarkerServer > server)
 UrdfModelMarker (string model_name, string model_file, string frame_id, geometry_msgs::PoseStamped root_pose, geometry_msgs::Pose root_offset, double scale_factor, string mode, bool robot_mode, bool registration, string fixed_link, bool use_robot_description, bool use_visible_color, map< string, double > initial_pose_map, int index, boost::shared_ptr< interactive_markers::InteractiveMarkerServer > server)
 UrdfModelMarker ()
geometry_msgs::Pose UrdfPose2Pose (const urdf::Pose pose)

Protected Attributes

std::string base_frame
boost::shared_ptr
< diagnostic_updater::Updater
diagnostic_updater_
jsk_topic_tools::TimeAccumulator dynamic_tf_check_time_acc_
ros::ServiceClient dynamic_tf_publisher_client
string fixed_link_
std::string frame_id_
ros::Subscriber hide_marker_
int index_
ros::Time init_stamp_
map< string, double > initial_pose_map_
map< string, linkPropertylinkMarkerMap
std::string marker_name
string mode_
boost::shared_ptr< ModelInterface > model
std::string model_file_
interactive_markers::MenuHandler model_menu_
std::string model_name_
std::string move_base_frame
ros::NodeHandle nh_
ros::NodeHandle pnh_
ros::Publisher pub_
ros::Publisher pub_base_pose_
ros::Publisher pub_joint_state_
ros::Publisher pub_move_
ros::Publisher pub_move_object_
ros::Publisher pub_selected_
ros::Publisher pub_selected_index_
bool registration_
jsk_topic_tools::TimeAccumulator reset_joint_states_check_time_acc_
bool robot_mode_
geometry_msgs::Pose root_offset_
geometry_msgs::Pose root_pose_
double scale_factor_
ros::ServiceServer serv_markers_del_
ros::ServiceServer serv_markers_set_
ros::ServiceServer serv_reset_
ros::ServiceServer serv_set_
boost::shared_ptr
< interactive_markers::InteractiveMarkerServer
server_
std::string server_name
ros::Subscriber show_marker_
ros::Subscriber sub_reset_joints_
ros::Subscriber sub_set_root_pose_
ros::Subscriber sub_set_urdf_
std::string target_frame
std::string tf_prefix_
tf::TransformBroadcaster tfb_
tf::TransformListener tfl_
bool use_dynamic_tf_
bool use_robot_description_
bool use_visible_color_

Detailed Description

Definition at line 41 of file urdf_model_marker.h.


Constructor & Destructor Documentation

UrdfModelMarker::UrdfModelMarker ( string  model_name,
string  model_file,
string  frame_id,
geometry_msgs::PoseStamped  root_pose,
geometry_msgs::Pose  root_offset,
double  scale_factor,
string  mode,
bool  robot_mode,
bool  registration,
string  fixed_link,
bool  use_robot_description,
bool  use_visible_color,
map< string, double >  initial_pose_map,
int  index,
boost::shared_ptr< interactive_markers::InteractiveMarkerServer server 
)

Definition at line 1081 of file urdf_model_marker.cpp.

Definition at line 1078 of file urdf_model_marker.cpp.


Member Function Documentation

void UrdfModelMarker::addChildLinkNames ( boost::shared_ptr< const Link >  link,
bool  root,
bool  init 
)

Definition at line 842 of file urdf_model_marker.cpp.

void UrdfModelMarker::addChildLinkNames ( boost::shared_ptr< const Link >  link,
bool  root,
bool  init,
bool  use_color,
int  color_index 
)

Definition at line 847 of file urdf_model_marker.cpp.

void UrdfModelMarker::addGraspPointControl ( visualization_msgs::InteractiveMarker &  int_marker,
std::string  link_frame_name_ 
)

Definition at line 87 of file urdf_model_marker.cpp.

void UrdfModelMarker::addInvisibleMeshMarkerControl ( visualization_msgs::InteractiveMarker &  int_marker,
boost::shared_ptr< const Link >  link,
const std_msgs::ColorRGBA &  color 
)

Definition at line 53 of file urdf_model_marker.cpp.

void UrdfModelMarker::addMoveMarkerControl ( visualization_msgs::InteractiveMarker &  int_marker,
boost::shared_ptr< const Link >  link,
bool  root 
)

Definition at line 16 of file urdf_model_marker.cpp.

void UrdfModelMarker::CallSetDynamicTf ( string  parent_frame_id,
string  frame_id,
geometry_msgs::Transform  transform 
)

Definition at line 148 of file urdf_model_marker.cpp.

void UrdfModelMarker::getJointState ( boost::shared_ptr< const Link >  link,
sensor_msgs::JointState &  js 
)

Definition at line 580 of file urdf_model_marker.cpp.

geometry_msgs::PoseStamped UrdfModelMarker::getOriginPoseStamped ( )

Definition at line 817 of file urdf_model_marker.cpp.

Definition at line 808 of file urdf_model_marker.cpp.

void UrdfModelMarker::graspPoint_feedback ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback,
string  link_name 
)

Definition at line 474 of file urdf_model_marker.cpp.

void UrdfModelMarker::graspPointCB ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback)

Definition at line 325 of file urdf_model_marker.cpp.

void UrdfModelMarker::hideAllMarkerCB ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback)

Definition at line 426 of file urdf_model_marker.cpp.

void UrdfModelMarker::hideMarkerCB ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback)

Definition at line 421 of file urdf_model_marker.cpp.

void UrdfModelMarker::hideModelMarkerCB ( const std_msgs::EmptyConstPtr &  msg)

Definition at line 436 of file urdf_model_marker.cpp.

void UrdfModelMarker::jointMoveCB ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback)

Definition at line 349 of file urdf_model_marker.cpp.

visualization_msgs::InteractiveMarkerControl UrdfModelMarker::makeBoxMarkerControl ( const geometry_msgs::PoseStamped &  stamped,
Vector3  dim,
const std_msgs::ColorRGBA &  color,
bool  use_color 
)

Definition at line 542 of file urdf_model_marker.cpp.

visualization_msgs::InteractiveMarkerControl UrdfModelMarker::makeCylinderMarkerControl ( const geometry_msgs::PoseStamped &  stamped,
double  length,
double  radius,
const std_msgs::ColorRGBA &  color,
bool  use_color 
)

Definition at line 524 of file urdf_model_marker.cpp.

visualization_msgs::InteractiveMarkerControl UrdfModelMarker::makeMeshMarkerControl ( const std::string mesh_resource,
const geometry_msgs::PoseStamped &  stamped,
geometry_msgs::Vector3  scale,
const std_msgs::ColorRGBA &  color,
bool  use_color 
)

Definition at line 488 of file urdf_model_marker.cpp.

visualization_msgs::InteractiveMarkerControl UrdfModelMarker::makeMeshMarkerControl ( const std::string mesh_resource,
const geometry_msgs::PoseStamped &  stamped,
geometry_msgs::Vector3  scale 
)

Definition at line 506 of file urdf_model_marker.cpp.

visualization_msgs::InteractiveMarkerControl UrdfModelMarker::makeMeshMarkerControl ( const std::string mesh_resource,
const geometry_msgs::PoseStamped &  stamped,
geometry_msgs::Vector3  scale,
const std_msgs::ColorRGBA &  color 
)

Definition at line 518 of file urdf_model_marker.cpp.

visualization_msgs::InteractiveMarkerControl UrdfModelMarker::makeSphereMarkerControl ( const geometry_msgs::PoseStamped &  stamped,
double  rad,
const std_msgs::ColorRGBA &  color,
bool  use_color 
)

Definition at line 561 of file urdf_model_marker.cpp.

void UrdfModelMarker::moveCB ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback)

Definition at line 402 of file urdf_model_marker.cpp.

geometry_msgs::Transform UrdfModelMarker::Pose2Transform ( geometry_msgs::Pose  pose_msg)

Definition at line 113 of file urdf_model_marker.cpp.

void UrdfModelMarker::proc_feedback ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback,
string  parent_frame_id,
string  frame_id 
)

Definition at line 289 of file urdf_model_marker.cpp.

void UrdfModelMarker::publishBasePose ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback)

Definition at line 164 of file urdf_model_marker.cpp.

Definition at line 168 of file urdf_model_marker.cpp.

void UrdfModelMarker::publishJointState ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback)

Definition at line 213 of file urdf_model_marker.cpp.

void UrdfModelMarker::publishMarkerMenu ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback,
int  menu 
)

Definition at line 191 of file urdf_model_marker.cpp.

void UrdfModelMarker::publishMarkerPose ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback)

Definition at line 177 of file urdf_model_marker.cpp.

Definition at line 181 of file urdf_model_marker.cpp.

void UrdfModelMarker::publishMoveObject ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback)

Definition at line 198 of file urdf_model_marker.cpp.

void UrdfModelMarker::registrationCB ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback)

Definition at line 397 of file urdf_model_marker.cpp.

void UrdfModelMarker::republishJointState ( sensor_msgs::JointState  js)

Definition at line 220 of file urdf_model_marker.cpp.

Definition at line 368 of file urdf_model_marker.cpp.

void UrdfModelMarker::resetBaseMarkerCB ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback)

Definition at line 365 of file urdf_model_marker.cpp.

void UrdfModelMarker::resetBaseMsgCB ( const std_msgs::EmptyConstPtr &  msg)

Definition at line 361 of file urdf_model_marker.cpp.

void UrdfModelMarker::resetJointStatesCB ( const sensor_msgs::JointStateConstPtr &  msg)

Definition at line 249 of file urdf_model_marker.cpp.

void UrdfModelMarker::resetMarkerCB ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback)

Definition at line 355 of file urdf_model_marker.cpp.

Definition at line 380 of file urdf_model_marker.cpp.

void UrdfModelMarker::setJointAngle ( boost::shared_ptr< const Link >  link,
double  joint_angle 
)

Definition at line 685 of file urdf_model_marker.cpp.

void UrdfModelMarker::setJointState ( boost::shared_ptr< const Link >  link,
const sensor_msgs::JointStateConstPtr &  js 
)

Definition at line 757 of file urdf_model_marker.cpp.

void UrdfModelMarker::setOriginalPose ( boost::shared_ptr< const Link >  link)

Definition at line 833 of file urdf_model_marker.cpp.

void UrdfModelMarker::setPoseCB ( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &  feedback)

Definition at line 416 of file urdf_model_marker.cpp.

void UrdfModelMarker::setRootPose ( geometry_msgs::PoseStamped  ps)

Definition at line 229 of file urdf_model_marker.cpp.

void UrdfModelMarker::setRootPoseCB ( const geometry_msgs::PoseStampedConstPtr &  msg)

Definition at line 225 of file urdf_model_marker.cpp.

void UrdfModelMarker::setUrdfCB ( const std_msgs::StringConstPtr &  msg)

Definition at line 457 of file urdf_model_marker.cpp.

void UrdfModelMarker::showModelMarkerCB ( const std_msgs::EmptyConstPtr &  msg)

Definition at line 446 of file urdf_model_marker.cpp.

geometry_msgs::Pose UrdfModelMarker::Transform2Pose ( const geometry_msgs::Transform  tf_msg)

Definition at line 122 of file urdf_model_marker.cpp.

Definition at line 1268 of file urdf_model_marker.cpp.

Definition at line 132 of file urdf_model_marker.cpp.


Member Data Documentation

Definition at line 154 of file urdf_model_marker.h.

Definition at line 121 of file urdf_model_marker.h.

Definition at line 123 of file urdf_model_marker.h.

Definition at line 150 of file urdf_model_marker.h.

Definition at line 170 of file urdf_model_marker.h.

Definition at line 161 of file urdf_model_marker.h.

Definition at line 136 of file urdf_model_marker.h.

int UrdfModelMarker::index_ [protected]

Definition at line 175 of file urdf_model_marker.h.

Definition at line 176 of file urdf_model_marker.h.

map<string, double> UrdfModelMarker::initial_pose_map_ [protected]

Definition at line 174 of file urdf_model_marker.h.

Definition at line 214 of file urdf_model_marker.h.

Definition at line 152 of file urdf_model_marker.h.

Definition at line 169 of file urdf_model_marker.h.

boost::shared_ptr<ModelInterface> UrdfModelMarker::model [protected]

Definition at line 159 of file urdf_model_marker.h.

Definition at line 162 of file urdf_model_marker.h.

Definition at line 145 of file urdf_model_marker.h.

Definition at line 160 of file urdf_model_marker.h.

Definition at line 155 of file urdf_model_marker.h.

Definition at line 116 of file urdf_model_marker.h.

Definition at line 117 of file urdf_model_marker.h.

Definition at line 125 of file urdf_model_marker.h.

Definition at line 129 of file urdf_model_marker.h.

Definition at line 128 of file urdf_model_marker.h.

Definition at line 126 of file urdf_model_marker.h.

Definition at line 127 of file urdf_model_marker.h.

Definition at line 130 of file urdf_model_marker.h.

Definition at line 131 of file urdf_model_marker.h.

Definition at line 167 of file urdf_model_marker.h.

Definition at line 122 of file urdf_model_marker.h.

bool UrdfModelMarker::robot_mode_ [protected]

Definition at line 166 of file urdf_model_marker.h.

Definition at line 164 of file urdf_model_marker.h.

Definition at line 163 of file urdf_model_marker.h.

double UrdfModelMarker::scale_factor_ [protected]

Definition at line 165 of file urdf_model_marker.h.

Definition at line 143 of file urdf_model_marker.h.

Definition at line 142 of file urdf_model_marker.h.

Definition at line 140 of file urdf_model_marker.h.

Definition at line 141 of file urdf_model_marker.h.

Definition at line 118 of file urdf_model_marker.h.

Definition at line 153 of file urdf_model_marker.h.

Definition at line 137 of file urdf_model_marker.h.

Definition at line 134 of file urdf_model_marker.h.

Definition at line 135 of file urdf_model_marker.h.

Definition at line 138 of file urdf_model_marker.h.

Definition at line 156 of file urdf_model_marker.h.

Definition at line 173 of file urdf_model_marker.h.

Definition at line 148 of file urdf_model_marker.h.

Definition at line 147 of file urdf_model_marker.h.

Definition at line 168 of file urdf_model_marker.h.

Definition at line 171 of file urdf_model_marker.h.

Definition at line 172 of file urdf_model_marker.h.


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


jsk_interactive_marker
Author(s): furuta
autogenerated on Mon Oct 6 2014 01:19:15