Change publish and latch time
When I follow this tutorial ( wiki.ros.org/dynamixelcontrollers/Tutorials/CreatingJointPositionController ) and everything works like it should but when I run the command "rostopic pub -1 /tiltcontroller/command std_msgs/Float64 -- 1.5" it says "publishing and latching message for 3.0 seconds" is there anyway to change that 3 seconds latching time to something else, say 2 seconds or 1 second?
Asked by rmoncrief on 2015-06-24 12:36:42 UTC
Comments
I would actually be surprised if that 3.0 seconds has any influence on the publication. Latching would seem to imply that the msg is received by all late comers, until you stop
rostopic
byctrl+c
-ing it.Asked by gvdhoorn on 2015-06-25 02:31:02 UTC
What I am trying to do is move the motor back and forth with another interface and I was using rostopic but i needed to send a command faster than every 3 seconds. Is there a better way to give the motor position commands quickly?
Asked by rmoncrief on 2015-06-25 07:08:40 UTC
Take a look at rqt_publisher. See the Gazebo ros_control tutorial for an example on how to use Python math expressions with it (search for Use RQT To Send Commands).
Asked by gvdhoorn on 2015-06-25 09:16:11 UTC
Was a solution for this problem ever found?
Asked by 215 on 2016-10-04 05:02:23 UTC