ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
This appears to work:
ros::Time start;
ros::Time end;
ros::Time mid = start + (end - start) *0.5;
You can only add a Duration to a time (and subtracting one Time from another gives a Duration).