If a joint model group doesn't define an end-effector, 'publishTrajectoryLine' can't create and publish the markers. But it would still succeed. This change adds a check for missing end-effectors, logs a warning and returns false, since markers can't be published.
If a joint model group doesn't define an end-effector, 'publishTrajectoryLine' can't create and publish the markers. But it would still succeed. This change adds a check for missing end-effectors, logs a warning and returns false, since markers can't be published.