ros / geometry

Packages for common geometric calculations including the ROS transform library, "tf". Also includes ROS bindings for "bullet" physics engine and "kdl" kinematics/dynamics package.
173 stars 275 forks source link

Ubuntu 16.04 terminal messed up after running static_transform_publisher #155

Closed vik748 closed 6 years ago

vik748 commented 7 years ago

I have noticed on multiple machines running Ubuntu 16.04 that when running static_transform_publisher from command line and ctrl-C'ing out of it, the terminal becomes messed up. What I mean is that when you press the up arrow key and change a parameter say the roll angle and hit enter, it actually runs values different from what is intended. These can then be observed by ctrl-C'ing out again and pressing the up arrow. Basically the terminal doesn't execute what it displays. Has anyone else observed this behavior?

tfoote commented 7 years ago

I've seen this behavior when using many long command line invocations that wrap. Not related to tf commands. Sometimes the terminal doens't clear/rewrap correctly. I suspect you'll find that it's shifted by a couple characters due to a different prompt length or other justification issues. You can clear the issue by forcing the terminal to rerender, or making it wide enough that it doesn't wrap.

tfoote commented 6 years ago

I don't believe that this is an issue with tf, but with the terminal.