Why iri_wam_reproduce_trajectory is pkg dependency?

We know that rospy is the pkg dependency, but how I would know about iri_wam_reproduce_trajectory?
thanks in advance,

Hi @marashian.arash,

Welcome to the community!

Whenever you want to use the code of package A in another package B, you need to add package A as a dependency in package B.