Skip to content

Commit 7b27435

Browse files
committed
Merge branch 'develop'
2 parents adbe2ed + fb019c1 commit 7b27435

4 files changed

Lines changed: 142 additions & 173 deletions

File tree

package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<package format="2">
33
<name>benchbot_robot_controller</name>
4-
<version>2.1.1</version>
4+
<version>2.2.1</version>
55
<description>The benchbot_robot_controller package</description>
66

77
<maintainer email="b.talbot@qut.edu.au">Ben Talbot</maintainer>

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ numpy
66
pyyaml
77
requests
88
scipy
9+
transforms3d

src/benchbot_robot_controller.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
CONN_ROSCACHE_TO_API = 'roscache_to_api'
3737
CONNS = [CONN_API_TO_ROS, CONN_ROS_TO_API, CONN_ROSCACHE_TO_API]
3838

39-
TIMEOUT_ROS_PING = 0.5
39+
TIMEOUT_ROS_PING = 5
4040
TIMEOUT_STARTUP = 9000000000000
4141

4242
VARIABLES = {
@@ -130,6 +130,7 @@ def is_running(self):
130130
s.data_class,
131131
timeout=TIMEOUT_ROS_PING)
132132
except Exception as e:
133+
rospy.loginfo("FAILURE: %s" % e)
133134
return False
134135
return True
135136

@@ -385,7 +386,8 @@ def __connection(connection):
385386
except Exception as e:
386387
rospy.logerr(
387388
"Robot Controller failed on processing connection "
388-
"'%s' with error:\n%s" % (connection, repr(e)))
389+
"'%s' with error:\n%s\n%s" %
390+
(connection, repr(e), traceback.format_exc()))
389391
flask.abort(500)
390392

391393
@robot_flask.route('/is_collided', methods=['GET'])

0 commit comments

Comments
 (0)