Skip to content

Commit

Permalink
Merge pull request #112 from nabeya11/kinetic-devel
Browse files Browse the repository at this point in the history
Rviz shows "Uninitialized quaternion, assuming identity."
  • Loading branch information
wxmerkt authored Mar 24, 2024
2 parents c77ea44 + 86221ea commit 93d5a49
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions octomap_server/src/OctomapServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,10 @@ void OctomapServer::publishAll(const ros::Time& rostime){
occupiedNodesVis.markers[i].scale.x = size;
occupiedNodesVis.markers[i].scale.y = size;
occupiedNodesVis.markers[i].scale.z = size;
occupiedNodesVis.markers[i].pose.orientation.x=0;
occupiedNodesVis.markers[i].pose.orientation.y=0;
occupiedNodesVis.markers[i].pose.orientation.z=0;
occupiedNodesVis.markers[i].pose.orientation.w=1;
if (!m_useColoredMap)
occupiedNodesVis.markers[i].color = m_color;

Expand Down

0 comments on commit 93d5a49

Please sign in to comment.