Skip to content

Tyler and Tong pull request review#5

Open
JayWoo2000 wants to merge 35 commits into
add_airsim_and_multiprocess_utilsfrom
main
Open

Tyler and Tong pull request review#5
JayWoo2000 wants to merge 35 commits into
add_airsim_and_multiprocess_utilsfrom
main

Conversation

@JayWoo2000

Copy link
Copy Markdown
Contributor

Working module for airsim

JayWoo2000 and others added 30 commits September 30, 2021 12:44
@JayWoo2000 JayWoo2000 requested a review from xxEoD2242 November 18, 2021 17:19

@xxEoD2242 xxEoD2242 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need a good layout of what this algorithm, how it works and what we need to implement, including class and method comment, I/O comments, etc.

Comment thread Astar.py
if(grid[i]):
pass
else:
xC = i//(n * o)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add comments to explain what xC, yC, zC are and the same for state

Comment thread Astar.py
if(ystat and zstat and not grid[i - o - 1]): self.graph.add_edge((xC, yC, zC), (xC, yC - 1, zC - 1), math.sqrt(2))
if(xstat and ystat and zstat and not grid[i - (m * o) - o - 1]): self.graph.add_edge((xC, yC, zC), (xC - 1, yC - 1, zC - 1), math.sqrt(3))
return dijkstar.find_path(self.graph, tuple(start), tuple(end)).nodes
else:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this else statement for?

@xxEoD2242

Copy link
Copy Markdown
Collaborator

@JayWoo2000 @MarvinMui You need to add a requirements.txt and add the dependencies that you need to run this repository, including the versions of these dependecies

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.

4 participants