Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.54 KB | None | 0 0
  1. struct InternalPoint{
  2.     InternalPoint( double ix, double iy, int ipos = -1 ) : x(ix), y(iy), pos(ipos) {}
  3.     double x;
  4.     double y;
  5.     int pos = -1;
  6. };
  7.  
  8. struct InternalPose{
  9.     InternalPose( double ix, double iy, double iyaw ): x(ix), y(iy), yaw(iyaw){}
  10.     double x;
  11.     double y;
  12.     double yaw;
  13. };
  14.  
  15. struct InternalPath{
  16.     std::vector<InternalPoint> path;
  17. };
  18.  
  19. struct PointPath{
  20.     std::string id;
  21.     std::vector<InternalPoint> path;
  22. };
  23.  
  24. struct PosePath{
  25.     std::string id;
  26.     std::vector<InternalPose> path;
  27. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement