Browse Source

Error out on stretch body below v0.5

pull/104/head
Mohamed Fazil 1 year ago
parent
commit
799075293f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      stretch_core/nodes/stretch_driver

+ 2
- 2
stretch_core/nodes/stretch_driver View File

@ -446,8 +446,8 @@ class StretchDriverNode:
rospy.loginfo("{0} started".format(self.node_name))
if int(stretch_body.__version__.split('.')[1]) < 4:
rospy.logerr("ERROR: Found old stretch_body version. Please upgrade stretch_body to 0.4.0 or above.")
if int(stretch_body.__version__.split('.')[1]) < 5:
rospy.logerr("ERROR: Found old stretch_body version. Please upgrade stretch_body to v0.5.0 or above.")
rospy.signal_shutdown('Found old stretch_body version.')
self.robot = rb.Robot()

Loading…
Cancel
Save