Publish character_behavior variable as a ROS Message

Hello,
I am trying to develop a simulation in Isaac sim where i have multiple robots and humans in a manufacturing facility. Currently I am trying to obtain a dataset and for that I have all the required resources I need. However, I need the goal position of the human to be published as a ros message. Is there a way to publish the GoTo command coordinates in any possible way? Or is there a way to store the current goal position?