Skip to content

Commit

Permalink
fix quaternion initialization way
Browse files Browse the repository at this point in the history
  • Loading branch information
yk-fujii committed Jan 9, 2018
1 parent 694e4f1 commit a1040af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,7 @@ visualization_msgs::Marker createMarker(const std::string& ns, int id, int type)
marker.id = id;
marker.type = type;
marker.lifetime = ros::Duration();
marker.pose.orientation= tf::createQuaternionMsgFromRollPitchYaw(0, 0, 0);
marker.pose.orientation.w = 1.0;
marker.frame_locked = true;
disableMarker(marker);
return marker;
Expand Down

0 comments on commit a1040af

Please sign in to comment.