/iRobot_0/cmd_vel???
Hello all, First light today! I finally got my iRobot Create 2 to boot, and do some very simple linear and angular movements with the command line. So, of course, wanting to go from there, I installed teleopekeyboard. I have used teleopkeyboard before on the Donkey Car, so I understand how it works.
The problem is, when I launch: rosrun teleoptwistkeyboard teleoptwistkeyboard, it loops looking for: “Waiting for subscriber to connect to /cmd_vel”
Now, if I do a rostopic list, all of my topics are listed like this: /iRobot0/battery /IRobot0/bumper ... /iRobot0/cmdvel ... Etc...
I think what the problem is, is that teleop is expecting a /cmdvel subscriber, but really needs to find /iRobot0/cmd_vel
Is there a way to either get rid of the “iRobot0” from all of my topics, (I’m only running one iRobot) or... how do I tell teleop I want to operate iRobot0 (I can see this being useful if I had two or more iRobots)
Any help or advice appreciated, and thank you in advance!
Cheers, -Michael
Asked by NexxuSix on 2020-08-12 13:10:55 UTC
Comments
You'll want to remap the
/cmd_vel
topicteleop_twist_keyboard
is looking for.Related: #q303611.
Asked by gvdhoorn on 2020-08-12 14:05:50 UTC