Skip to content
Snippets Groups Projects
  1. Nov 22, 2018
  2. Nov 21, 2018
  3. Nov 20, 2018
  4. Nov 17, 2018
  5. Nov 16, 2018
  6. Nov 15, 2018
  7. Nov 14, 2018
    • Carl Delsey's avatar
      Fix costmap publishing loop (#307) · 06c11152
      Carl Delsey authored
      * Enable publishing the costmap for debug purposes.
      
      * Changing costmap publishing loop to use std::chrono time
      
      The costmap update loop is using rclcpp::Rate which is always
      std::chrono time. The publish cycle should also use that, otherwise
      there can be problems getting data published when switching to
      sim_time.
      
      * Added an execution timer helper class.
      
      This hides some of the std::chrono manipulation to convert a
      duration to a numeric number of seconds.
      
      Also helps to better express why we are measuring time.
      
      * Switching costmap publishing timer to ROS time.
      
      * Check for a switch to sim time and update last_publish accordingly
      
      * Removing unneeded header
      
      * Adding a missed file.