Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def _joy_callback(self, joy):
# Check for the joint limits
self._reference_pos[joint] = self._check_joint_limits(self._reference_pos[joint], joint)
self._last_joy_update = rospy.get_time()
except e:
except Exception as e:
print('Error during joy parsing, message=', e)

if __name__ == '__main__':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.


# See PEP 238
from __future__ import division
import rospy

Expand Down