Exercise 4.1. node registered with same name

As titled. I cannot really figure out where the bug is coming from. I checked with previous post and didn’t solve my question. So any help appreciated.

Hi @sol009,
it looks like you never define 'trajectory_file_path'. You have to fill in that variable .

Thank you. But I am confused on how to do that. Do I need to create a new file? Is that the only thing I need? What about config dir here? Sorry the last step in instruction is not very clear to me.

I am stuck here for a while now and if you could help me more I would really appreciate it.

You need to add this code to your python file:

import rospkg
rospack = rospkg.RosPack()
traj = rospack.get_path(‘iri_wam_reproduce_trajectory’) + “/config/get_food.txt”