mmwise / sphero_ros

A Sphero ROS driver.
76 stars 61 forks source link

Update sphero_driver.py #5

Closed davinellulinvega closed 8 years ago

davinellulinvega commented 8 years ago

Add a target_addr parameter in the initialization of the bluetooth interface, so that you do not need to look for a device if you already know which robot you want to connect to. Plus debug some error in the format of an exception.

davinellulinvega commented 8 years ago

The correction made on line 206 in the sphero_driver.py, concerning the format of the exception message do not work well, a surer way to have something displayed would be to replace: sys.stdout.write(error.strerror) with sys.stdout.write(error.message)