Publishing cmd_vel Internally on the TurtleBot3
On my TurtleBot3's raspberry pi, I hooked it up to a monitor using an HDMI and created a node that publishes a Twist() to /cmd_vel. However, when I publish something such as twist.angular.z = 0.5, this is what rostopic tells me:
leonardo@leonardo:~$ rostopic info /cmdvel Type: geometrymsgs/Twist
Publishers: * /talker (http://hidden-ip-number/)
Subscribers: None
Hypothetically publishing a twist should just make the turtlebot3 move, so I'm unsure what the cause might be. I tried changing the IP of the ROSMASTERURI and ROS_HOSTNAME from local to wlan0, but that still gives me the same result above.
Any ideas?
Asked by jonasro on 2017-11-12 15:27:05 UTC
Comments
How do you publish the message?
Asked by Humpelstilzchen on 2017-11-13 03:57:32 UTC
I got it! it wasn't an IP issue or a publishing issue, but we needed to do:
Asked by jonasro on 2017-11-15 23:00:48 UTC