![]() | 1 | initial version |
Hello,
This line looks wrong:
this->mySubscriber = node->Subscribe("/gazebo/default/table_tennis_ball/ball/my_contact",CollisionUpdates);
Try with this:
this->mySubscriber = node->Subscribe("/gazebo/default/table_tennis_ball/ball/my_contact", &ModelPush::CollisionUpdates, this);
Regards