33 visualization_msgs::Marker m;
36 m.header.frame_id =
"/PTU";
39 m.action = visualization_msgs::Marker::ADD;
40 m.type = visualization_msgs::Marker::MESH_RESOURCE;
41 m.mesh_resource =
"package://asr_visualization_server/res/dome.dae";
44 m.scale.x = m.scale.y = m.scale.z = 0.1;
45 m.color.r = m.color.g = m.color.b = 0.7f;
49 m.pose.orientation.x = q.x();
50 m.pose.orientation.y = q.y();
51 m.pose.orientation.z = q.z();
52 m.pose.orientation.w = q.w();
54 m.pose.position.x = 0.3;
55 m.pose.position.y = -1.15;
56 m.pose.position.z = 1.85;
62 visualization_msgs::Marker m;
64 m.header.frame_id =
"/PTU";
67 m.action = visualization_msgs::Marker::ADD;
68 m.type = visualization_msgs::Marker::MESH_RESOURCE;
69 m.mesh_resource =
"package://asr_visualization_server/res/table.dae";
72 m.scale.x = m.scale.y = m.scale.z = 0.1;
73 m.color.r = m.color.g = m.color.b = 0.7f;
77 m.pose.orientation.x = qTable.x();
78 m.pose.orientation.y = qTable.y();
79 m.pose.orientation.z = qTable.z();
80 m.pose.orientation.w = qTable.w();
82 m.pose.position.x = -0.5;
83 m.pose.position.y = -1.4;
84 m.pose.position.z = 1.825;
EnvironmentVisualization()
static tf::Quaternion createQuaternionFromRPY(double roll, double pitch, double yaw)
void publish(const boost::shared_ptr< M > &message) const
static const int ID_TABLE
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)
ros::Publisher meshesPublisher
~EnvironmentVisualization()