Hello,
I’m experiencing an error whenever I try to load more than 1 transfer function in my NRP experiment. The error does not have any impact on the simulation at all. In the meantime, I am not sure whether this could be harmful for my experiment in the future. The error appears during the initialization of the experiment (or just after). It only happens when I load more than 1 transfer function. It goes as:
[ERROR] [1513770873.879224]: Error processing request: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
[‘Traceback (most recent call last):\n’, ’ File “/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py”, line 626, in _handle_request\n response = convert_return_to_response(self.handler(request), self.response_class)\n’, ’ File “/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py”, line 193, in convert_return_to_response\n elif response == None:\n’, ‘ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()\n’]
2017-12-20 12:54:33,878 [Thread-906 ] [rosout ] [ERROR] Error processing request: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
[‘Traceback (most recent call last):\n’, ’ File “/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py”, line 626, in _handle_request\n response = convert_return_to_response(self.handler(request), self.response_class)\n’, ’ File “/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py”, line 193, in convert_return_to_response\n elif response == None:\n’, ‘ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()\n’]
2017-12-20 12:54:33,880 [uWSGIWorker1] [hbp_nrp_back] [ERROR] Error executing service “/ros_cle_simulation/21/get_transfer_functions”, unable to communicate with the CLE.
Error: service [/ros_cle_simulation/21/get_transfer_functions] responded with an error: error processing request: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Anyone knows if this is a serious error, or if I can just ignore it?
Thank you very much for any idea or feedback!
Alban