[ros] pose: check key in dict instead of try..catch