Skip to content

Grasping problem of Human Avatar. KeyError: 'requested item "Near" does not exist' #816

Open
@omertiryakiler

Description

@omertiryakiler

Hi,

I am using Morse for Human-Robot Interaction. There is no problem about using "move" services of human. However, if I use "grasp" service, I receive this error:

File "/usr/lib/python3/dist-packages/morse/blender/main.py", line 722, in simulation_main
persistantstorage.morse_services.process()
File "/usr/lib/python3/dist-packages/morse/core/services.py", line 107, in process
instance.process()
File "/usr/lib/python3/dist-packages/morse/core/request_manager.py", line 346, in process
self.main()
File "/usr/lib/python3/dist-packages/morse/middleware/socket_request_manager.py", line 166, in main
is_sync, value = self.on_incoming_request(component, service, params)
File "/usr/lib/python3/dist-packages/morse/core/request_manager.py", line 259, in on_incoming_request
values = method(*params) if params else method() #Invoke the method with unpacked parameters
File "/usr/lib/python3/dist-packages/morse/robots/grasping_robot.py", line 48, in grasp
near_sensor = hand_empty.sensors['Near']
KeyError: 'requested item "Near" does not exist'

I checked the previous issue about this error which is #565 and tried everything there, although my Morse is in the latest version. I couldn't fix the problem.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions