-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visualize contacts #112
Comments
I'll take this, as this is partially addressed in #229. My idea is writing a GUI plugin with a checkbox that allows the user to turn on and off the visualization of the contacts. This plugin would be linked to a source file which could get the contacts in one of the following ways:
After getting the info, contacts will be visualized with the /marker service. I belive no. 3 is the best option, but any feedback will be appreciated! |
Hey @azeey, since you're the most familiar with the Contact plugin, is there a preference how we want to hook up the contact visualization to it (see suggestions 1-3 above)? Thanks! |
Option 1 seems reasonable to me. The GUI plugin should be able to get the contact sensor data from the GUI ECM (almost a copy of the server ECM). We might have to use |
@azeey Would it be currently possible to get the info about all of the contacts in the simulation without requiring the link to have a Contact sensor (i.e. looking for I think that @chapulina meant getting all the contacts, but I don't know if that's possible without modifying too much the physics plugin. |
Following the conversation with @azeey : the physics plugin fills the This means that getting information of |
Closed by #234 |
Gazebo-classic has an option to enable visualization of all contacts in the world as blue spheres with a green line indicating the force's direction and magnitude. These help users debug their model's surface properties and identify contact points while stepping through simulation.
Ignition Gazebo already has a Contact system which populates the ContactSensorData component.
Here's Gazebo-classic's
ContactVisual
implementation.The text was updated successfully, but these errors were encountered: