trajectory_library.h
Go to the documentation of this file.
1 //
2 // Created by yijiangh on 7/5/17.
3 //
4 
5 #ifndef FRAMEFAB_CORE_TRAJECTORY_LIBRARY_H
6 #define FRAMEFAB_CORE_TRAJECTORY_LIBRARY_H
7 
8 #include <string>
9 #include <map>
10 
11 #include <choreo_msgs/UnitProcessPlan.h>
12 
14 {
15 
17 {
18  public:
19  typedef std::map<std::string, choreo_msgs::UnitProcessPlan> TrajectoryMap;
20 
21  void load(const std::string& filename);
22  void save(const std::string& filename);
23 
24  TrajectoryMap& get() { return map_; }
25  const TrajectoryMap& get() const { return map_; }
26 
27  private:
28  TrajectoryMap map_;
29 };
30 }
31 
32 #endif //FRAMEFAB_CORE_TRAJECTORY_LIBRARY_H
std::map< std::string, choreo_msgs::UnitProcessPlan > TrajectoryMap
void load(const std::string &filename)
void save(const std::string &filename)


choreo_core
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 03:59:38