Skip to content

Commit

Permalink
Update Custom-ROS2-Interfaces.rst
Browse files Browse the repository at this point in the history
I have changed the executable file's name inside add_executable in CmakeLists.txt file. Because the files were from the previous sum for 2 arguments from the console but the files we updated were designed for three items. 

Signed-off-by: followthwhiterabbit <[email protected]>
  • Loading branch information
followthwhiterabbit authored Mar 14, 2024
1 parent 51e5d5c commit 698c06e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -725,11 +725,11 @@ Add the following lines (C++ only):
find_package(rclcpp REQUIRED)
find_package(tutorial_interfaces REQUIRED) # CHANGE
add_executable(server src/add_two_ints_server.cpp)
add_executable(server src/add_three_ints_server.cpp)
ament_target_dependencies(server
rclcpp tutorial_interfaces) # CHANGE
add_executable(client src/add_two_ints_client.cpp)
add_executable(client src/add_three_ints_client.cpp)
ament_target_dependencies(client
rclcpp tutorial_interfaces) # CHANGE
Expand Down

0 comments on commit 698c06e

Please sign in to comment.