Skip to content

Commit

Permalink
Remove unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
nhatao committed Mar 14, 2024
1 parent cb101ed commit 322ffbd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions planner_cspace/test/src/test_start_pose_predictor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,12 @@ class StartPosePredictorTester : public ::testing::Test

nav_msgs::Path convertToMetricPath(const std::list<GridAstar<3, 2>::Vec>& path_grid) const
{
std::cerr << "convertToMetricPath" << std::endl;
const auto path_interpolated = motion_cache_.interpolatePath(path_grid);

nav_msgs::Path result_path;
result_path.header.frame_id = "map";
for (const auto& pose_grid : path_interpolated)
{
std::cerr << "pose_grid: " << pose_grid[0] << ", " << pose_grid[1] << ", " << pose_grid[2] << std::endl;
geometry_msgs::PoseStamped pose;
pose.header.frame_id = "map";
float x, y, yaw;
Expand All @@ -140,8 +138,8 @@ class StartPosePredictorTester : public ::testing::Test
StartPosePredictor::Config config_;
GridAstar<3, 2>::Gridmap<char, 0x40> cm_;
costmap_cspace_msgs::MapMetaData3D map_info_;
std::unordered_map<std::string, std::pair<std::list<StartPosePredictor::Astar::Vec>, nav_msgs::Path>> paths_;
MotionCache motion_cache_;
std::unordered_map<std::string, std::pair<std::list<StartPosePredictor::Astar::Vec>, nav_msgs::Path>> paths_;
};

TEST_F(StartPosePredictorTester, EdgeCases)
Expand Down

0 comments on commit 322ffbd

Please sign in to comment.