Welcome to JetCobot repository
7.ROS topic publisher
7.ROS topic publisher
As mentioned in the previous section, a node program has both publishing and subscribing messages. In this section, we will explain how to declare a publisher in the node program and publish topic messages. We proceed based on the previously established workspace ros_ws and learn_topic function packages.