Skip to content

Commit

Permalink
print out contributing measurements to best match
Browse files Browse the repository at this point in the history
  • Loading branch information
EricPedley committed Jun 11, 2024
1 parent a2841ac commit 0e6c34d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions uavf_2024/gnc/dropzone_planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ def conduct_air_drop(self):
best_match = self.target_tracker.estimate_positions(self.commander.payloads)[self.current_payload_index]
best_match_x, best_match_y = best_match.position[0], best_match.position[1]
self.commander.log(f"best_match_x: {best_match_x}, best_match_y: {best_match_y}")
self.commander.log(f"Contributing measurements: {best_match.contributing_measurement_ids()}")

# Generate path of waypoints to the target to take images at
next_wps = self.generate_wps_to_target(best_match_x, best_match_y, self.commander.cur_pose.pose.position.x, self.commander.cur_pose.pose.position.y)
Expand Down

0 comments on commit 0e6c34d

Please sign in to comment.