ros-drivers / flir_ptu

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

flir_ptu_driver serial port initiallize error #20

Open hendriyawanachmad opened 8 years ago

hendriyawanachmad commented 8 years ago

Hi all, When I try to run [roslaunch flir_ptu_driver ptu.launch port:=/dev/ttyS0] I get the next error:

... logging to /home/linus/.ros/log/612d3ff6-68aa-11e5-b769-3cd92b67608a/roslaunch-linus-HP-Compaq-6200-Pro-MT-PC-3145.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://linus-HP-Compaq-6200-Pro-MT-PC:53557/

SUMMARY

PARAMETERS

NODES /ptu/ ptu_driver (flir_ptu_driver/ptu_node) / robot_state_publisher (robot_state_publisher/state_publisher)

auto-starting new master process[master]: started with pid [3157] ROS_MASTER_URI=http://localhost:11311

setting /run_id to 612d3ff6-68aa-11e5-b769-3cd92b67608a process[rosout-1]: started with pid [3170] started core service [/rosout] process[robot_state_publisher-2]: started with pid [3187] process[ptu/ptu_driver-3]: started with pid [3210] terminate called after throwing an instance of 'serial::SerialException' what(): SerialException device reports readiness to read but returned no data (device disconnected?) failed. [ptu/ptu_driver-3] process has died [pid 3210, exit code -6, cmd /opt/ros/indigo/lib/flir_ptu_driver/ptu_node state:=/joint_states __name:=ptu_driver __log:=/home/linus/.ros/log/612d3ff6-68aa-11e5-b769-3cd92b67608a/ptu-ptu_driver-3.log]. log file: /home/linus/.ros/log/612d3ff6-68aa-11e5-b769-3cd92b67608a/ptu-ptu_driver-3*.log ... I never got this error before, and after my Ubuntu 14.04 was updated on October 1st 2015 this problem started there. I try to manually command flir driver use Arduino IDE serial terminal everything is OK, I can set or query it to certain position. so what is going on with my ROS?

fyi: Ubuntu error confirmation ros error