Skip to content

Commit

Permalink
[Ninja][Nav]Stop unused log streaming.
Browse files Browse the repository at this point in the history
  • Loading branch information
sugihara-16 committed Dec 1, 2024
1 parent 8227914 commit 05040d7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions robots/ninja/src/ninja_navigation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -693,9 +693,7 @@ void NinjaNavigator::moduleJointsCallback(const sensor_msgs::JointStateConstPtr&

void NinjaNavigator::morphingProcess()
{
if(getMyID() == 2) ROS_ERROR_STREAM("ok1");
if(!getCurrentAssembled() || !control_flag_) return;
if(getMyID() == 2) ROS_ERROR_STREAM("ok2");
sensor_msgs::JointState joints_ctrl_msg;
bool joint_send_flag = false;
std::map<int, std::string> joint_map;
Expand Down Expand Up @@ -741,7 +739,6 @@ void NinjaNavigator::morphingProcess()
}
}
}
if(getMyID() == 2) ROS_ERROR_STREAM("ok3");
if(joint_send_flag) joint_control_pub_.publish(joints_ctrl_msg);

/* calculate joint pos err */
Expand Down Expand Up @@ -791,8 +788,7 @@ void NinjaNavigator::morphingProcess()
}
}
}
if(getMyID() == 2) ROS_ERROR_STREAM("ok4");


int neighbor_id_;
if(my_id_ < leader_id_)
{
Expand All @@ -812,7 +808,6 @@ void NinjaNavigator::morphingProcess()
{
return;
}
if(getMyID() == 2) ROS_ERROR_STREAM("ok5");
}


Expand Down

0 comments on commit 05040d7

Please sign in to comment.