hsp-iit / project-ergocub

A demonstration of human-robot interaction on the ergoCub through vision.
1 stars 0 forks source link

Navigation Goal Generation from Action Recognition #165

Closed SimoneMic closed 2 months ago

SimoneMic commented 9 months ago

This task is related to tracking the further integration of the Perception and Navigation stacks.

Initially, the Navigation stack is suppressing the Perception BT when a manual goal is received, then reactivates the BT when the navigation task is completed. We want to automatize this process, by making the Perception BT giving the goal to the navigation stack, having thus a continuous switch between different behaviors. To do this, the perception BT exposes on a YARP port the pose of the human, then a ROS2 node takes this information and find a suitable place on the map for the goal. In other words: the goal will be placed as close as possible to the human, in an obstacle free area, taking into account the robot dimensions and, if possible, in front of the human.

There are three possible scenarios on how to implement this, divided by a degree of complexity:

This scenario implies that there is only one person on the scene, it's seen by the robot, and once the robot starts navigating, the perception and goal generation are disabled. So this means that the goal will remain fixed in the map, and the robot will not be able to react if a person moves or ask it to stop.

In this case we still have only one person in the scenery, to avoid suddens switches in the focus/attention. However, we also introduce another action "Stop" and the possibility to update the goal while also navigating. However, since the gaze controller will be enabled, the navigation will not be able to look around for obstacles.

We decided to start with the (1) scenario and start evaluating the goal generation and the overall integration. Actions to do: @steb6

@SimoneMic

In the end, all of this should be integrated in a unique Behavior node placed in the Perception BT that publishes the goal on the /goal topic. This will automatically kickstart the Navigation.

SimoneMic commented 2 months ago

Finished time ago, working and already demo tested