You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is one contact sensor for each gripper, to estimate contact with ground plane.
This signal is published only once when the robot spawns and makes the first touch between ground and gripper, then it is never updated again...
I looked at the source code for TouchPlugin.cc and I see that there is no procedure of updating and republishing, after the first contact is registered it is deactivated.
Expected behavior:
I expect a contact sensor to publish contact state with a certain frequency, with a false message if not touching, while true if touching.
Is there any other way to implement this with another Plugin?
I never implemented a plugin on my own, I tried to modify the TouchPlugin on my own to publish true/false with a given frequency but I don't know how to integrate it with my ROS2 project, especially, I don't know where to place the new .cc and .hh file and how to build it.
Please any tutorial and documentation easy to follow is very helpful.
The text was updated successfully, but these errors were encountered:
Environment
Description
I'm using a contact sensor correctly integrated in my legged robot URDF:
--------- empty.world --------------
There is one contact sensor for each gripper, to estimate contact with ground plane.
This signal is published only once when the robot spawns and makes the first touch between ground and gripper, then it is never updated again...
I looked at the source code for TouchPlugin.cc and I see that there is no procedure of updating and republishing, after the first contact is registered it is deactivated.
I expect a contact sensor to publish contact state with a certain frequency, with a false message if not touching, while true if touching.
Is there any other way to implement this with another Plugin?
I never implemented a plugin on my own, I tried to modify the TouchPlugin on my own to publish true/false with a given frequency but I don't know how to integrate it with my ROS2 project, especially, I don't know where to place the new .cc and .hh file and how to build it.
Please any tutorial and documentation easy to follow is very helpful.
The text was updated successfully, but these errors were encountered: