Skip to content

Commit

Permalink
Merge pull request #273 from bponsler/kinetic-expose-verbose
Browse files Browse the repository at this point in the history
Exposed the joint trajectory controller verbose setting as a parameter.
  • Loading branch information
bmagyar committed Aug 10, 2017
2 parents 4d75332 + 1e0d038 commit 2c6c412
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,17 @@ JointTrajectoryController<SegmentImpl, HardwareInterface>::
JointTrajectoryController()
: verbose_(false), // Set to true during debugging
hold_trajectory_ptr_(new Trajectory)
{}
{
// The verbose parameter is for advanced use as it breaks real-time safety
// by enabling ROS logging services
if (verbose_)
{
ROS_WARN_STREAM(
"The joint_trajectory_controller verbose flag is enabled. "
<< "This flag breaks real-time safety and should only be "
<< "used for debugging");
}
}

template <class SegmentImpl, class HardwareInterface>
bool JointTrajectoryController<SegmentImpl, HardwareInterface>::init(HardwareInterface* hw,
Expand Down

0 comments on commit 2c6c412

Please sign in to comment.