teleop_twist_keyboard not working with executive_usarsim
hello,
i want to navigate P3AT robot spawned in usarsim through teleop_twist_keyboard package.
I have connected ros to usarsim using executive_usarsim package and spawned the P3AT robot in usarsim, but when i run teleop_twist_keyboard and presses keys to move the robot, nothing happens. please help me out.
i am following steps mentioned below:-
Start USARSim
Run $roscore
run executive_usarsim package using the following command.
($rosrun executive_usarsim usarsim_manager.py)
this command opens a connect USARSIM UI through which i can connect ROS to the USARSim and can spawn a P3AT robot in USARSim
Run the teleop_twist_key node
now you can press the navigation keys to move the Robot, but when i do this nothing happens.
Then i run $rosrun rqt_graph rqt_graph, the following rqt graph appears: Click to view rqt_graph
then i have run $ rostopic echo /executive_usarsim/status, following graph appeared: Click to view graph
by running $ rostopic list, following output appeared:-
cr-lab-tu@crlabtu-HP-Z800-Workstation:~$ rostopic list
**/cmd_vel
/executive_usarsim/status
/rosout
/rosout_agg
cr-lab-tu@crlabtu-HP-Z800-Workstation:~$**
please help, i can't figure out how to fix it.
note:- I am using UBUNTU 12.04 LTS and ROS-Fuerte
Can you run rqt_graph and confirm that the cmd_vel topic is connected?
hello @ahendrix
i have run the $rosrun rqt_graph rqt_graph and i found cmd_val is not connected
Click to view rqt_graph
-----> due to character limitation please Click Here to view full description.
It looks like your simulator isn't subscribing to a command topic. I don't know anything about USARSim, so I can't say more.
P.S. - you can edit your question to add additional information instead of posting it on a 3rd-party site.
The
/executive_usarsim/cmd_vel
topic isn't published or subscribed to; why are you trying to echo it? You should be able to see if there are any subscribers to the/cmd_vel
topic withrostopic info /cmd_vel
hello @ahendrix, thanks for the reply, but how can i make this package to subscribe to the cmd_vel topic. Thanks
I don't know anything about USARSim, so I can't say more.
A short review of the executive_usarsim codebase suggests that it may not be able to do this. You may want to open an issue on their bugtracker or use a different usarsim package.
thanks @ahendrix, i will try... :)