{"action":"closed","issue":{"url":"https://api.github.com/repos/tue-robotics/robot_smach_states/issues/24","labels_url":"https://api.github.com/repos/tue-robotics/robot_smach_states/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/tue-robotics/robot_smach_states/issues/24/comments","events_url":"https://api.github.com/repos/tue-robotics/robot_smach_states/issues/24/events","html_url":"https://github.com/tue-robotics/robot_smach_states/issues/24","id":64924824,"number":24,"title":"Reduce the output of Designator with criteria functions","user":{"login":"LFBFerreira","id":5888635,"avatar_url":"https://avatars.githubusercontent.com/u/5888635?v=3","gravatar_id":"","url":"https://api.github.com/users/LFBFerreira","html_url":"https://github.com/LFBFerreira","followers_url":"https://api.github.com/users/LFBFerreira/followers","following_url":"https://api.github.com/users/LFBFerreira/following{/other_user}","gists_url":"https://api.github.com/users/LFBFerreira/gists{/gist_id}","starred_url":"https://api.github.com/users/LFBFerreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LFBFerreira/subscriptions","organizations_url":"https://api.github.com/users/LFBFerreira/orgs","repos_url":"https://api.github.com/users/LFBFerreira/repos","events_url":"https://api.github.com/users/LFBFerreira/events{/privacy}","received_events_url":"https://api.github.com/users/LFBFerreira/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tue-robotics/robot_smach_states/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"LoyVanBeek","id":709259,"avatar_url":"https://avatars.githubusercontent.com/u/709259?v=3","gravatar_id":"","url":"https://api.github.com/users/LoyVanBeek","html_url":"https://github.com/LoyVanBeek","followers_url":"https://api.github.com/users/LoyVanBeek/followers","following_url":"https://api.github.com/users/LoyVanBeek/following{/other_user}","gists_url":"https://api.github.com/users/LoyVanBeek/gists{/gist_id}","starred_url":"https://api.github.com/users/LoyVanBeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoyVanBeek/subscriptions","organizations_url":"https://api.github.com/users/LoyVanBeek/orgs","repos_url":"https://api.github.com/users/LoyVanBeek/repos","events_url":"https://api.github.com/users/LoyVanBeek/events{/privacy}","received_events_url":"https://api.github.com/users/LoyVanBeek/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-03-28T10:08:32Z","updated_at":"2015-03-28T10:18:11Z","closed_at":"2015-03-28T10:18:11Z","body":"Is it possible to reduce the output of a resolved Designator with a criteria function? For example, resolving this designator outputs this just for a simple resolve:\r\n\r\n[INFO] [WallTime: 1427537095.562088] Criterium         humanDesignator = EdEntityDesignator(self.robot, criteriafuncs=[lambda entity: entity.type in [\"crowd\", \"human\"]])\r\n leaves 8 entities: ['37dea1e32633838a12604de00e9c1cb4',\r\n '2ead482d317d87de6f2335ea59868b0a',\r\n '7d8e1b35fc1058576b003d2dcb6869cd',\r\n '611df4e422ad155e3ef292f707bd1ea8',\r\n '393ea11d851089bac2a1f9207bd889db',\r\n 'ebd999f756c7609f20e6917ae9d2c83a',\r\n 'cb0caec6dc751f32926f38200c2242a0',\r\n '65b80fdfbf01758e19e46112c8a217f8']\r\n[INFO] [WallTime: 1427537096.443572] Criterium         humanDesignator = EdEntityDesignator(self.robot, criteriafuncs=[lambda entity: entity.type in [\"crowd\", \"human\"]])\r\n leaves 8 entities: ['37dea1e32633838a12604de00e9c1cb4',\r\n '2ead482d317d87de6f2335ea59868b0a',\r\n '7d8e1b35fc1058576b003d2dcb6869cd',\r\n '611df4e422ad155e3ef292f707bd1ea8',\r\n '393ea11d851089bac2a1f9207bd889db',\r\n 'ebd999f756c7609f20e6917ae9d2c83a',\r\n 'cb0caec6dc751f32926f38200c2242a0',\r\n '65b80fdfbf01758e19e46112c8a217f8']"}}