Skip to content

Commit

Permalink
no ros::spinOnce()
Browse files Browse the repository at this point in the history
calling ros::spinOnce() in random places ( ;) ) messes up threading. This causes updates to PlanningSceneMonitor and joint state to be handled in our gui thread as opposed to the async spinner thread where we intended them to be handled.
  • Loading branch information
Simon Schmeisser authored Jul 3, 2018
1 parent 05bd98c commit e621754
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/rviz_visual_tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,6 @@ bool RvizVisualTools::publishMarkers(visualization_msgs::MarkerArray& markers)

// Publish
pub_rviz_markers_.publish(markers);
ros::spinOnce();
return true;
}

Expand Down

0 comments on commit e621754

Please sign in to comment.