Skip to content

Commit

Permalink
bugFix ros-industrial#59: Increment streaming trajectory index outsid…
Browse files Browse the repository at this point in the history
…e of LOG statement
  • Loading branch information
JeremyZoss committed Apr 29, 2013
1 parent ff8b177 commit d18b676
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion industrial_robot_client/src/joint_trajectory_streamer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,11 @@ void JointTrajectoryStreamer::streamingThread()

ROS_DEBUG("Sending joint trajectory point");
if (this->connection_->sendAndReceiveMsg(msg, reply, false))
{
ROS_INFO("Point[%d of %d] sent to controller",
this->current_point_++, (int)this->current_traj_.size());
this->current_point_, (int)this->current_traj_.size());
this->current_point_++;
}
else
ROS_WARN("Failed sent joint point, will try again");

Expand Down

0 comments on commit d18b676

Please sign in to comment.