Contact world plugin example. More...
#include "contacts_example.hh"Functions | |
| int | main (int _argc, char **_argv) |
| void | getContactBetween (gazebo::transport::PublisherPtr pub, const std::string &collision1, const std::string &collision2) |
| Obtain contact between two collision entities. More... | |
| void | changeSurface (gazebo::transport::PublisherPtr pub, const std::string &model, const std::string &link, const std::string &collision) |
| Change surface properties. More... | |
Contact world plugin example.
| void changeSurface | ( | gazebo::transport::PublisherPtr | pub, |
| const std::string & | model, | ||
| const std::string & | link, | ||
| const std::string & | collision | ||
| ) |
| void getContactBetween | ( | gazebo::transport::PublisherPtr | pub, |
| const std::string & | collision1, | ||
| const std::string & | collision2 | ||
| ) |
Obtain contact between two collision entities.
| pub | Communication publisher |
| collision1 | Name of first collision in pair to test |
| collision2 | Name of second collision in pair to test |
| int main | ( | int | _argc, |
| char ** | _argv | ||
| ) |