From 79c4c00f2696afe0e60c1c6595d744c6fe7d0554 Mon Sep 17 00:00:00 2001 From: antonioc76 Date: Wed, 10 Apr 2024 20:04:43 -0500 Subject: [PATCH] merged the temporary single camera branch in --- autonav_ws/src/autonav_filters/src/filters.cpp | 2 +- autonav_ws/src/autonav_filters/src/filters.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autonav_ws/src/autonav_filters/src/filters.cpp b/autonav_ws/src/autonav_filters/src/filters.cpp index 83035f7b..8b25f023 100644 --- a/autonav_ws/src/autonav_filters/src/filters.cpp +++ b/autonav_ws/src/autonav_filters/src/filters.cpp @@ -113,7 +113,7 @@ void FiltersNode::on_MotorFeedback_received(const autonav_msgs::msg::MotorFeedba } //RCLCPP_INFO(this->get_logger(), "average 0: %f, average 1: %f, average 2: %f", averages[0], averages[1], averages[2]); //RCLCPP_INFO(this->get_logger(), "publishing position x: %f, y: %f, theta: %f", position.x, position.y, position.theta); - //RCLCPP_INFO(this->get_logger(), "position latitude: %f, longitude: %f", position.latitude, position.longitude); + RCLCPP_INFO(this->get_logger(), "position latitude: %f, longitude: %f", position.latitude, position.longitude); positionPublisher->publish(position); } diff --git a/autonav_ws/src/autonav_filters/src/filters.py b/autonav_ws/src/autonav_filters/src/filters.py index 2c98e345..0e4004ac 100644 --- a/autonav_ws/src/autonav_filters/src/filters.py +++ b/autonav_ws/src/autonav_filters/src/filters.py @@ -138,7 +138,7 @@ def onMotorFeedbackReceived(self, msg: MotorFeedback): #self.get_logger().info(f"averages 0: {averages[0]}, averages 1: {averages[1]}, averages 2: {averages[2]}") #self.get_logger().info(f"publishing position x: {position.x}, y: {position.y}, {position.theta}") - #self.get_logger().info(f"position latitude: {position.latitude}, longitude {position.longitude}") + self.get_logger().info(f"position latitude: {position.latitude}, longitude {position.longitude}") self.positionPublisher.publish(position)