ros-drivers / flir_ptu

ROS driver for FLIR pan-tilt units
http://wiki.ros.org/flir_ptu_driver
14 stars 35 forks source link

IMPROVEMENT: use single PTU command to get the 4 position/speed values in spinCallback #29

Open marklewis3000 opened 8 years ago

marklewis3000 commented 8 years ago

In node.cpp, in Node::spinCallbach(), 4 separate calls are made to get the pan and tilt positions and speeds, but (at lease for the D48E) a single command 'BT' will return the same results on one line. This will help prevent the returned data from getting out of step with the requests, which I have observed or even crashing.