A fuzzy logic-based stabilization system for a flying robot, with an embedded energy harvester and a visual decision-making system