ros-industrial / industrial_core

ROS-Industrial core communication packages (http://wiki.ros.org/industrial_core)
156 stars 181 forks source link

Uniform sample filter logging is too verbose #127

Closed shaun-edwards closed 7 years ago

shaun-edwards commented 8 years ago

The logging output of the industrial_trajectory_filters uniform sample filter is too verbose, resulting in slow performance.

<snip>
[ INFO] [1449505387.595351853]: time from p1: 0.32803
[ INFO] [1449505387.595460472]: time_from_p1_to_p2: 0.492487
[ INFO] [1449505387.595702839]: time from start_dur: 25.199999999
[ INFO] [1449505387.595896342]: p1.pos: 2.69473, vel: 0.150407, acc: -0.363919, tfs: 24.871970041
[ INFO] [1449505387.596129775]: p2.pos: 2.73772, vel: 0, acc: -0.354466, tfs: 25.364456881
[ INFO] [1449505387.596386104]: interp_pt.pos: 2.73202, vel: 0.0701712, acc: -0.398066, tfs: 25.199999999
[ INFO] [1449505387.596632660]: time from p1: 0.32803
[ INFO] [1449505387.596859670]: time_from_p1_to_p2: 0.492487
[ INFO] [1449505387.597098966]: time from start_dur: 25.199999999
[ INFO] [1449505387.597286327]: p1.pos: 1.72664, vel: 0.400251, acc: -0.968431, tfs: 24.871970041
[ INFO] [1449505387.597540701]: p2.pos: 1.84103, vel: 0, acc: -0.943277, tfs: 25.364456881
[ INFO] [1449505387.598259148]: interp_pt.pos: 1.82587, vel: 0.186734, acc: -1.0593, tfs: 25.199999999
[ INFO] [1449505387.598551218]: time from p1: 0.32803
[ INFO] [1449505387.598780462]: time_from_p1_to_p2: 0.492487
[ INFO] [1449505387.598887964]: time from start_dur: 25.199999999
[ INFO] [1449505387.599126702]: p1.pos: -2.08057, vel: 0.16478, acc: -0.398694, tfs: 24.871970041
[ INFO] [1449505387.599353153]: p2.pos: -2.03348, vel: 0, acc: -0.388338, tfs: 25.364456881
[ INFO] [1449505387.599575975]: interp_pt.pos: -2.03972, vel: 0.0768767, acc: -0.436105, tfs: 25.199999999
[ INFO] [1449505387.599888708]: ---------------End interpolating joint point---------------
[ INFO] [1449505387.600187479]: Interpolated time exceeds original trajectory (quitting), original: 25.3645 final interpolated time: 25.4
[ INFO] [1449505387.602281390]: Uniform sampling, resample duraction: 0.2 input traj. size: 179 output traj. size: 128
 <snip>
gavanderhoorn commented 7 years ago

Fixed in #158.

Thanks @mmoerdijk!