tue-robotics / tue_robocup

RoboCup challenge implementations
https://github.com/orgs/tue-robotics/projects/2
42 stars 12 forks source link

Fix : example_hear_grasp.py #1162

Open shanki98 opened 2 years ago

shanki98 commented 2 years ago

This example was created 2 years ago by @LarsJanssenTUe . The Hear Smach state uses the Ears object that is depreciated and not used. The issue is that, Ears makes a function call using _hmi.old_query, but the robot has no attribute called _hmi. However the function is present inside the api robot part. Should I proceed making changes here or leave it because we don't use ears anymore

MatthijsBurgh commented 2 years ago

Ears should be removed. I think we can refactor the example to use the api API.