from_ros_costmaps.hpp
Go to the documentation of this file.
1 
4 /*****************************************************************************
5 ** Ifdefs
6 *****************************************************************************/
7 
8 #ifndef cost_map_demos_FROM_ROS_COSTMAPS_HPP_
9 #define cost_map_demos_FROM_ROS_COSTMAPS_HPP_
10 
11 /*****************************************************************************
12 ** Includes
13 *****************************************************************************/
14 
17 #include <memory>
18 #include <string>
19 
20 #include "utilities.hpp"
21 
22 /*****************************************************************************
23 ** Namespaces
24 *****************************************************************************/
25 
26 namespace cost_map_demos {
27 
28 /*****************************************************************************
29 ** Costmap2DROS Demo/Test Classes
30 *****************************************************************************/
42 public:
44  typedef std::shared_ptr<ROSCostmap> ROSCostmapPtr;
45 
46  ROSCostmapServer(const std::string& name,
47  const std::string& base_link_transform_name,
48  const cost_map::Position& origin,
49  const double& width,
50  const double& height
51  );
52 
53  ROSCostmapPtr getROSCostmap() { return costmap; };
54 
55 private:
56  ROSCostmapPtr costmap;
58 };
59 
60 
61 /*****************************************************************************
62 ** Costmap2DROS Demo/Test Suite Helpers
63 *****************************************************************************/
64 
72 
73 /*****************************************************************************
74 ** Trailers
75 *****************************************************************************/
76 
77 } // namespace cost_map_demos
78 
79 #endif /* cost_map_demos_FROM_ROS_COSTMAPS_HPP_ */
ROSCostmapServer(const std::string &name, const std::string &base_link_transform_name, const cost_map::Position &origin, const double &width, const double &height)
Broadcast a set of transforms useful for various demos.
Definition: utilities.hpp:35
std::shared_ptr< ROSCostmap > ROSCostmapPtr
costmap_2d::Costmap2DROS ROSCostmap
grid_map::Position Position
void broadcastCostmap2DROSTestSuiteTransforms(TransformBroadcaster &broadcaster)
tf::TransformListener transform_listener


cost_map_demos
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:04:00