You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting this error while trying to launch ps3joy.launch.If someone can help me with this I would be greatful.
[ERROR] [1711464413.727121]: bad callback: <bound method JoyRemap.callback of <main.JoyRemap object at 0x7f348f441370>>
Traceback (most recent call last):
File "/home/robotics_lab/catkin_ws/src/joystick_drivers/joy/scripts/joy_remap.py", line 48, in _reval_impl
return var[idx]
IndexError: tuple index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/topics.py", line 750, in _invoke_callback
cb(msg)
File "/home/robotics_lab/catkin_ws/src/joystick_drivers/joy/scripts/joy_remap.py", line 103, in callback
raise e
File "/home/robotics_lab/catkin_ws/src/joystick_drivers/joy/scripts/joy_remap.py", line 97, in callback
out_msg.axes[i] = self.evaluator.reval(exp, in_dic)
File "/home/robotics_lab/catkin_ws/src/joystick_drivers/joy/scripts/joy_remap.py", line 62, in reval
raise e
File "/home/robotics_lab/catkin_ws/src/joystick_drivers/joy/scripts/joy_remap.py", line 59, in reval
return self._reval_impl(ast.parse(expr, mode='eval').body, variables)
File "/home/robotics_lab/catkin_ws/src/joystick_drivers/joy/scripts/joy_remap.py", line 50, in _reval_impl
raise IndexError("Variable '%s' out of range: %d >= %d" % (node.value.id, idx, len(var)))
IndexError: Variable 'axes' out of range: 3 >= 3
The text was updated successfully, but these errors were encountered:
I am getting this error while trying to launch ps3joy.launch.If someone can help me with this I would be greatful.
[ERROR] [1711464413.727121]: bad callback: <bound method JoyRemap.callback of <main.JoyRemap object at 0x7f348f441370>>
Traceback (most recent call last):
File "/home/robotics_lab/catkin_ws/src/joystick_drivers/joy/scripts/joy_remap.py", line 48, in _reval_impl
return var[idx]
IndexError: tuple index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/topics.py", line 750, in _invoke_callback
cb(msg)
File "/home/robotics_lab/catkin_ws/src/joystick_drivers/joy/scripts/joy_remap.py", line 103, in callback
raise e
File "/home/robotics_lab/catkin_ws/src/joystick_drivers/joy/scripts/joy_remap.py", line 97, in callback
out_msg.axes[i] = self.evaluator.reval(exp, in_dic)
File "/home/robotics_lab/catkin_ws/src/joystick_drivers/joy/scripts/joy_remap.py", line 62, in reval
raise e
File "/home/robotics_lab/catkin_ws/src/joystick_drivers/joy/scripts/joy_remap.py", line 59, in reval
return self._reval_impl(ast.parse(expr, mode='eval').body, variables)
File "/home/robotics_lab/catkin_ws/src/joystick_drivers/joy/scripts/joy_remap.py", line 50, in _reval_impl
raise IndexError("Variable '%s' out of range: %d >= %d" % (node.value.id, idx, len(var)))
IndexError: Variable 'axes' out of range: 3 >= 3
The text was updated successfully, but these errors were encountered: