Ask service because an example doesn't work

I am doing exercise 31 of the ROS course in 5 days but it does not work and I get the following error: ERROR: cannot launch node of type [service_client_pkg / traj_by_name.cpp]: can’t locate node [traj_by_name.cpp] in package [ service_client_pkg]

Hi @BrayanAndruMontenegro,

You need to remove the .cpp part from the node name. The executable file generated after a build does not have that extension.

Please try that and let us know.