Exploration-based trajectory optimization: Leveraging success and failure to improve autonomous agent learning 03/11/2024