{"action":"created","issue":{"url":"https://api.github.com/repos/hbrobotics/ros_arduino_bridge/issues/31","repository_url":"https://api.github.com/repos/hbrobotics/ros_arduino_bridge","labels_url":"https://api.github.com/repos/hbrobotics/ros_arduino_bridge/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/hbrobotics/ros_arduino_bridge/issues/31/comments","events_url":"https://api.github.com/repos/hbrobotics/ros_arduino_bridge/issues/31/events","html_url":"https://github.com/hbrobotics/ros_arduino_bridge/issues/31","id":188692223,"number":31,"title":"Using Ctrl+C on an Embedded Board can cause re-connection problem","user":{"login":"sonictl","id":17638630,"avatar_url":"https://avatars.githubusercontent.com/u/17638630?v=3","gravatar_id":"","url":"https://api.github.com/users/sonictl","html_url":"https://github.com/sonictl","followers_url":"https://api.github.com/users/sonictl/followers","following_url":"https://api.github.com/users/sonictl/following{/other_user}","gists_url":"https://api.github.com/users/sonictl/gists{/gist_id}","starred_url":"https://api.github.com/users/sonictl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonictl/subscriptions","organizations_url":"https://api.github.com/users/sonictl/orgs","repos_url":"https://api.github.com/users/sonictl/repos","events_url":"https://api.github.com/users/sonictl/events{/privacy}","received_events_url":"https://api.github.com/users/sonictl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-11T06:12:42Z","updated_at":"2016-11-17T14:03:41Z","closed_at":null,"body":"I cannot connect the Arduino board after I used Ctrl+C to terminate the ros_arduino_python/arduino.launch\r\nI get: \r\n\r\n> Connecting to Arduino on port /dev/ARDUINOBASE ...\r\nSerial Exception:\r\n(<class 'serial.serialutil.SerialException'>, SerialException(), <traceback object at 0xb5f57a80>)\r\nTraceback follows:\r\nTraceback (most recent call last):\r\nFile \"/root/catkin_ws/src/ros_arduino_bridge/ros_arduino_python/src/ros_arduino_python/arduino_driver.py\", line 73, in connect\r\nraise SerialException\r\nSerialException\r\nCannot connect to Arduino!\r\n\r\nHardware List:\r\n  UP-level computer: OrangePi running lubuntu 14.04\r\n  Low-level board: Arduino Mega 2560 with CH340(usb-serial converter)"},"comment":{"url":"https://api.github.com/repos/hbrobotics/ros_arduino_bridge/issues/comments/261254007","html_url":"https://github.com/hbrobotics/ros_arduino_bridge/issues/31#issuecomment-261254007","issue_url":"https://api.github.com/repos/hbrobotics/ros_arduino_bridge/issues/31","id":261254007,"user":{"login":"pirobot","id":873507,"avatar_url":"https://avatars.githubusercontent.com/u/873507?v=3","gravatar_id":"","url":"https://api.github.com/users/pirobot","html_url":"https://github.com/pirobot","followers_url":"https://api.github.com/users/pirobot/followers","following_url":"https://api.github.com/users/pirobot/following{/other_user}","gists_url":"https://api.github.com/users/pirobot/gists{/gist_id}","starred_url":"https://api.github.com/users/pirobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pirobot/subscriptions","organizations_url":"https://api.github.com/users/pirobot/orgs","repos_url":"https://api.github.com/users/pirobot/repos","events_url":"https://api.github.com/users/pirobot/events{/privacy}","received_events_url":"https://api.github.com/users/pirobot/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T14:03:41Z","updated_at":"2016-11-17T14:03:41Z","body":"Yeah, I noticed the same good behavior with the Arduino IDE a while back which is also written in C++.  I just double-checked the arduino_python.py node in the master branch and for some unknown reason, I had commented out the line that closes the serial port on shutdown.  I just un-commented that line and pushed the update so please do a git pull and see if that fixes the problem."}}
{"actor":{"display_login":"pirobot"}}