Skip to content
This repository was archived by the owner on Sep 21, 2025. It is now read-only.

Conversation

@TanMan-CAL
Copy link

No description provided.

@TanMan-CAL TanMan-CAL changed the title Tanmay Shah, done the autonomy bootcamp Tanmay Shah Oct 5, 2024
Copy link
Member

@maxlou05 maxlou05 left a comment

Choose a reason for hiding this comment

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

Reviewed

if report.status == drone_status.DroneStatus.HALTED:
# check if at the waypoint
if not self.has_reached_waypoint and distance_net_squared <= self.acceptance_radius**2:
command = commands.Command.create_land_command()
Copy link
Member

Choose a reason for hiding this comment

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

You don't need to land at the waypoint, just get there and then go towards the landing pad (you land at the landing pad)

command = commands.Command.create_set_relative_destination_command(
diff_distance_x, diff_distance_y
)
print("Moving to closest landing pad!")
Copy link
Member

Choose a reason for hiding this comment

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

There doesn't seem to be an implementation for actually reaching and landing on the landing pad, this just gets the drone to move towards the closest landing pad

for i in range(0, boxes_cpu.shape[0]):
# Create BoundingBox object and append to list
result, box = bounding_box.BoundingBox.create(boxes_cpu[i])
if result: # this way only valid boxes are added
Copy link
Member

Choose a reason for hiding this comment

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

Normally in statistics, we discard the whole datapoint (the entire image) if a part of it goes wrong (one bounding box).
You do not need to change anything here, just something to think about.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants