The planner service interface changed. It will now also return the index of the selected object.
Therefore the function process_objects_ecs in multi_object_params.py has to return the selected index instead of the actual object in the array of detected objects.
This PR together with (https://github.com/SoMa-Project/soma_utils/pull/122) solves https://github.com/SoMa-Project/soma_utils/issues/118
This PR will do the following:
It was tested on WAM56 and seemed alright.