Skip to content

Commit

Permalink
Remove unnecessary outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
nhatao committed Oct 31, 2023
1 parent bd5b5c3 commit bb58ee6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions planner_cspace/src/planner_3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1467,7 +1467,6 @@ class Planner3dNode

void planPath(const ros::Time& now)
{
ROS_INFO("replan called");
if (has_map_ && !cost_estim_cache_created_ && has_goal_)
{
createCostEstimCache();
Expand Down Expand Up @@ -1504,7 +1503,6 @@ class Planner3dNode

if (has_map_ && has_goal_ && has_start_ && has_costmap)
{
ROS_INFO("Generating path");
if (act_->isActive())
{
move_base_msgs::MoveBaseFeedback feedback;
Expand Down Expand Up @@ -1565,7 +1563,6 @@ class Planner3dNode
has_goal_ = false;

publishEmptyPath();
// next_replan_time += ros::Duration(1.0 / freq_);
ROS_ERROR("Exceeded max_retry_num:%d", max_retry_num_);

if (act_->isActive())
Expand Down Expand Up @@ -1616,7 +1613,6 @@ class Planner3dNode
}
else if (!has_goal_)
{
ROS_INFO("No goal");
if (!retain_last_error_status_)
status_.error = planner_cspace_msgs::PlannerStatus::GOING_WELL;
publishEmptyPath();
Expand Down

0 comments on commit bb58ee6

Please sign in to comment.