ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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();
}
}