43 jsk_footstep_msgs::Footstep footstep;
49 jsk_footstep_msgs::Footstep footstep;
54 visualization_msgs::Marker
footstepToMarker(
const jsk_footstep_msgs::Footstep& footstep,
55 const std_msgs::Header& header)
57 visualization_msgs::Marker
marker;
58 marker.header = header;
59 marker.type = visualization_msgs::Marker::CUBE;
60 marker.scale = footstep.dimensions;
62 marker.pose = footstep.pose;
63 if (footstep.leg == jsk_footstep_msgs::Footstep::LEFT) {
75 for (
size_t i = 0; i < footstep_array.footsteps.size(); i++) {
76 jsk_footstep_msgs::Footstep footstep = footstep_array.footsteps[i];
78 marker_array.markers.push_back(marker);
void poseEigenToMsg(const Eigen::Affine3d &e, geometry_msgs::Pose &m)