ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How can i send the 2d navigation goal to rviz by voice command using pocketsphinx(Turtle bot)

asked 2013-07-05 15:35:24 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

How can i send the 2d navigation goal to rviz by voice command using pocketsphinx

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-07-05 20:07:28 -0500

fergs gravatar image

updated 2013-07-10 10:27:27 -0500

There is very simple demo of something like that, the code is a bit old and might need a few updates, but it is posted here: https://github.com/mikeferguson/maxwell/blob/sixdof/maxwell_navigation/nodes/goto.py

You'll notice that the goals are hard coded (the easiest way to do this is to use rostopic echo on the move_base goal topic, and click on your "goals" in rviz), basically, I have a name for each pose (was basically the center of the office). Video here: http://www.youtube.com/watch?v=8aABif3W6MY

UPDATE: As for implementing this on TurtleBot, if you have navigation (http://ros.org/wiki/turtlebot_navigation) running, you will need to fire up pocketsphinx with your dictionary of words (see the docs for the node http://ros.org/wiki/pocketsphinx) and make that goto.py script have the proper names and places.

edit flag offensive delete link more

Comments

Thnx..but I am working on turtlebot..so how to implement this voice application on turtlebot

DCD gravatar image DCD  ( 2013-07-08 06:43:14 -0500 )edit

@DCD - Ferg's code publishes the standard move base simple goal, so any robot running the navigation stack should respond to it. You'll also need to be running the pocketsphinx recognizer too. https://github.com/mikeferguson/maxwell/blob/sixdof/maxwell_navigation/launch/goto.launch

Gav gravatar image Gav  ( 2013-07-08 13:42:05 -0500 )edit

I am trying to do this..I need help please

femitof gravatar image femitof  ( 2020-05-01 11:44:39 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-07-05 15:35:24 -0500

Seen: 830 times

Last updated: Jul 10 '13