jsk-ros-pkg/jsk_common — pull request #598 by chiwunau (2014-11-19 05:23:07+00:00)
Title: fixe some problems of virtual_force_publisher

1. The x component of the force doesn't show up properly, so I use pseudo inverse of the transpose of jacobian to calculate wrench. and also I change F to -1 * F to visualize force applied to gripper.
2. add low pass filter, the time constant is unreliable but the result looks OK.
3.kdl::JntToJac calculate the jacobian base on the base-link (torso-lift-link in this case) thus the kdl::wrench is local of torso-linft-link coords. I use tf-transformation to transform it to gripper-tool-frame before attach it to geometry_msgs::Wrench.