Joint_State_Publisher not publishing messages from rostopic that was added to source_lists
Hi All,
I am having an issue when using the joint_state_publisher.
My use case is the following: I am trying to use the joint_state_publisher node and robot_state_publisher node to allow me to adjust the joint angles of a 2 link manipulator in RVIZ.
I have added the topic, we'll call it j_pub, which I am publishing JointState messages on to the source_lists parameter of the joint_state publisher, and I have verified using tools such as rostopic info, rosnode info, and rostopic echo, that the joint_state_publisher is subscribed to j_pub, and that my rosnode is publishing JointState messages to j_pub. Despite this, the joint_state_publisher is still outputting/publishing JointState messages to joint_State that are the default joint angle (all joint angles are 0.0 in the message).
I am not sure what my bug is here, and could use help from the community, Cheers
ps: I am using Ros Melodic, on ubuntu 18.04