ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
rosserial does not implement operators and thus the issue.
simpler solution is to replace
dt = (current_time - last_time).toSec();
with
dt = (current_time.toSec() - last_time.toSec());