34 #include <gtest/gtest.h>    40 TEST(CompressTest, compress_test)
    42   nav_2d_msgs::Path2D path;
    93 int main(
int argc, 
char** argv)
    95   testing::InitGoogleTest(&argc, argv);
    96   return RUN_ALL_TESTS();
 void addPose(nav_2d_msgs::Path2D &path, double x, double y, double theta=0.0)
Convenience function to add a pose to a path in one line. 
int main(int argc, char **argv)
TEST(CompressTest, compress_test)
nav_2d_msgs::Path2D compressPlan(const nav_2d_msgs::Path2D &input_path, double epsilon=0.1)
Decrease the length of the plan by eliminating colinear points.