Skip to content

Commit

Permalink
velocity reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishaan-Datta committed Nov 14, 2024
1 parent 0e797a6 commit 256eaf7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ def preprocess_image(self, image):

image_input = ImageInput()
image_input.header = Header()
image_input.header.frame_id = 'static_image' # fix with velocity....
image_input.header.frame_id = 'static_image' # fix
image_input.raw_image = raw_img_msg
image_input.preprocessed_image = preprocessed_img_msg
image_input.velocity = 0
image_input.velocity = self.velocity[0]
self.input_image_publisher.publish(image_input)
toc = time.perf_counter_ns()
self.get_logger().info(f"Velocity retrieved: {self.velocity[0]}")
Expand Down

0 comments on commit 256eaf7

Please sign in to comment.