Skip to content

Commit a7e1396

Browse files
author
Alexander Winkler
committed
removed print outs in controller
1 parent 1d05292 commit a7e1396

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

config/ipopt.opt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ tol 1e-2
2424
#dual_inf_tol 1e-1
2525
#constr_viol_tol 1e-4
2626
#compl_inf_tol 1e-4
27-
max_cpu_time 5.5 #careful: overwrites ros parameter, but controller doesn't know
27+
max_cpu_time 2.5 #careful: overwrites ros parameter, but controller doesn't know
2828
#max_iter 1
2929
#bound_frac 0.5
3030

src/nlp_optimizer_node.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ NlpOptimizerNode::UpdateCurrentState(const ReqInfoMsg& msg)
4444
curr_cog_ = RosHelpers::RosToXpp(msg.curr_state);
4545
curr_stance_ = RosHelpers::RosToXpp(msg.curr_stance);
4646
curr_swingleg_ = msg.curr_swingleg;
47-
ROS_INFO_STREAM("Updated Current State: " << curr_cog_);
47+
// ROS_INFO_STREAM("Updated Current State: " << curr_cog_);
4848

4949
optimization_visualizer_.VisualizeCurrentState(curr_cog_.Get2D(), curr_stance_);
5050
}

src/walking_controller.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ void WalkingController::ExecuteLoop()
237237
{
238238
using namespace xpp::utils;
239239
using namespace xpp::zmp;
240-
ROS_INFO_STREAM_THROTTLE(robot_->GetControlLoopInterval(), "time: " << Time());
240+
// ROS_INFO_STREAM_THROTTLE(robot_->GetControlLoopInterval(), "time: " << Time());
241241

242242
/** 1. motion plan generation */
243243
/** CURRENT state of robot through joint encoder readings and state estimation **/
@@ -246,14 +246,14 @@ void WalkingController::ExecuteLoop()
246246

247247
P_curr_.swingleg_ = P_des_.swingleg_;
248248
EstimateCurrPose(); // through sensors and state estimation
249-
std::cout << "P_curr: " << P_curr_.base_.pos << "\n";
249+
// std::cout << "P_curr: " << P_curr_.base_.pos << "\n";
250250
jsim_.update(q);
251251

252252

253253
/** @brief DESIRED state given by splined plan and zmp optimizer **/
254254
P_des_.base_.pos = spliner_.GetCurrPosition(Time());
255255
P_des_.base_.ori = spliner_.GetCurrOrientation(Time());
256-
std::cout << "P_des: " << P_des_.base_.pos << "\n";
256+
// std::cout << "P_des: " << P_des_.base_.pos << "\n";
257257
spliner_.FillCurrFeet(Time(), P_des_.feet_, P_des_.swingleg_);
258258
// logging
259259
log_base_acc_des_ff.segment<3>(LX) = P_des_.base_.pos.a; // logging only
@@ -398,7 +398,7 @@ void WalkingController::EstimateCurrPose()
398398
}
399399

400400
// logging
401-
ROS_DEBUG_STREAM_THROTTLE(robot_->GetControlLoopInterval(), "time: " << Time() << "\nP_curr_:\n" << P_curr_);
401+
// ROS_DEBUG_STREAM_THROTTLE(robot_->GetControlLoopInterval(), "time: " << Time() << "\nP_curr_:\n" << P_curr_);
402402
}
403403

404404
Eigen::Vector3d

0 commit comments

Comments
 (0)