Motion Optimization and Control of Single and Multiple Autonomous Aerial Land and Marine Robots