ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can try this:

  void poseCallback(){
     modify your transform......
  }
  int main(){
    ros::Rate rate(50.0);
    ....
    while (node.ok()){
    send your transform.....
    rate.sleep();
    ros::spinOnce();
    }
  }