Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
danimtb committed Nov 28, 2024
1 parent 08f2564 commit c548798
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ find_package(nav2_msgs REQUIRED)
# Conan dependencies
find_package(yaml-cpp REQUIRED)

add_executable(navigator src/main.cpp)
add_executable(navigator src/navigator.cpp)

target_compile_features(navigator PUBLIC c_std_99 cxx_std_17) # Require C99 and C++17
ament_target_dependencies(navigator rclcpp rclcpp_action nav2_msgs yaml-cpp)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class YamlNavigationNode : public rclcpp::Node {

void sendAllGoals() {
for (const auto &location : locations_) {
RCLCPP_INFO(this->get_logger(), "Sending goal to %s: (%.2f, %.2f)", location.name.c_str(), location.x, location.y);
RCLCPP_INFO(this->get_logger(), "Sending %s goal (%.2f, %.2f) to robot", location.name.c_str(), location.x, location.y);

auto goal_msg = NavigateToPose::Goal();
goal_msg.pose.header.frame_id = "map";
Expand Down

0 comments on commit c548798

Please sign in to comment.