Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimizing Battery Usage for Robots in Grid #1306

Closed
wants to merge 3 commits into from

Conversation

Ananya-vastare
Copy link
Contributor

The algorithm used in this program implements a recursive approach to optimize the path taken by a robot navigating a grid while minimizing battery usage. Starting from the top-left corner of the grid, the robot explores potential moves to the right and downward, systematically checking for valid paths while avoiding obstacles represented by 1. The algorithm uses depth-first search (DFS) principles to explore each possible path until it reaches the bottom-right corner, which serves as the destination. Each successful move is outputted, providing a clear representation of the route taken. This method ensures that the robot efficiently conserves battery life by minimizing the number of moves required to reach its target, ultimately enhancing the robot's operational efficiency in a constrained environment.

@Ananya-vastare
Copy link
Contributor Author

@pankaj-bind please assign this issue to me thank you

@pankaj-bind
Copy link
Member

Do not raise a PR without creating and issue, you have to wait until I assign you that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants