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

rubber bread's profile - activity

2016-05-24 00:45:03 -0500 received badge  Famous Question (source)
2016-05-24 00:45:03 -0500 received badge  Notable Question (source)
2016-05-05 08:33:40 -0500 received badge  Famous Question (source)
2016-03-24 17:51:20 -0500 received badge  Notable Question (source)
2016-02-11 16:20:00 -0500 received badge  Popular Question (source)
2016-01-28 07:24:01 -0500 asked a question Problem with keyboard_teleop in ROS by Example

I learnt ROS By Example recently,and I have some problem with keyboard_teleop.launch

roslaunch rbx1_nav keyboard_teleop.launch

The launch file:

    <launch>

  <node pkg="turtlebot_teleop" type="turtlebot_teleop_key" name="turtlebot_teleop_keyboard" output="screen">
    <param name="scale_linear" value="0.1" type="double"/>
    <param name="scale_angular" value="0.4" type="double"/>
    <remap from="turtlebot_teleop_keyboard/cmd_vel" to="cmd_vel" />
  </node>

</launch>

However , I run this launch ,the terminal shows

ERROR: cannot launch node of type [turtlebot_teleop/turtlebot_teleop_key]: can't locate node [turtlebot_teleop_key] in package [turtlebot_teleop]

Before I run this launch ,I run

roslaunch rbx1_bringup fake_turtlebot.launch
rosrun rviz rviz -d `rospack find rbx1_nav`/sim.rviz

How to fix it?

Thanks

2015-12-01 16:25:32 -0500 received badge  Notable Question (source)
2015-12-01 16:25:32 -0500 received badge  Famous Question (source)
2015-12-01 16:25:32 -0500 received badge  Popular Question (source)
2015-11-21 11:28:49 -0500 received badge  Famous Question (source)
2015-09-24 14:40:28 -0500 received badge  Famous Question (source)
2015-09-21 02:51:45 -0500 received badge  Popular Question (source)
2015-09-19 06:10:32 -0500 asked a question Difference between iRobot Create and Kobuki connect file

Hi,all I use kobuki robot. Recently I have a problem. I read ros-by-example recently , and I found that the .launch file that connect robot(roslaunch rbx1_bringup turtlebot_minimal_create.launch) can't connect my kobuki robot. I don't know how to fix it.Any one can help me ? following is the file turtlebot_minimal_create.launch script

  <launch>
  <arg name="base"       default="create"/>  <!-- create, rhoomba -->
  <arg name="battery"    default="$(optenv TURTLEBOT_BATTERY /proc/acpi/battery/BAT0)"/>  <!-- /proc/acpi/battery/BAT0 -->
  <arg name="stacks"     default="circles"/>  <!-- circles, hexagons -->
  <arg name="3d_sensor"  default="asus_xtion_pro"/>  <!-- kinect, asus_xtion_pro -->
  <arg name="simulation" default="$(optenv TURTLEBOT_SIMULATION false)"/>

  <param name="/use_sim_time" value="$(arg simulation)"/>

  <include file="$(find turtlebot_bringup)/launch/includes/robot.launch.xml">
    <arg name="base" value="$(arg base)" />
    <arg name="stacks" value="$(arg stacks)" />
    <arg name="3d_sensor" value="$(arg 3d_sensor)" />
  </include>

  <include file="$(find rbx1_bringup)/launch/includes/tb_create_mobile_base.launch.xml" />

  <include file="$(find turtlebot_bringup)/launch/includes/netbook.launch.xml">
    <arg name="battery" value="$(arg battery)" />
  </include>
</launch>

This is my own kobuki connect launch file script

  <launch>
  <arg name="mobile_base" default="$(optenv MOBILE_BASE create)"/>
  <!-- create, kobuki -->
  <arg name="base_port" default="$(optenv BASE_PORT /dev/ttyUSB0)"/>
  <!-- /dev/ttyUSB0, /dev/ttyS0 -->

  <param name="/use_sim_time" value="false"/>

  <!-- mobile base setting -->
  <include file="$(find aicroboxi_bringup)/launch/includes/$(arg mobile_base)/mobile_base.launch.xml">
    <arg name="base_port" value="$(arg base_port)" />
  </include>

  <!-- aicroboxi_description -->
  <include file="$(find aicroboxi_description)/launch/robot_description.launch.xml">
    <arg name="mobile_base" value="$(arg mobile_base)" />
  </include>
</launch>

Thanks again!

2015-09-19 06:05:25 -0500 asked a question Difference between iRobot Create and Kobuki connect file

Hi,all I use kobuki robot. Recently I have a problem. I read ros-by-example recently , and I found that the .launch file that connect robot(roslaunch rbx1_bringup turtlebot_minimal_create.launch) can't connect my kobuki robot. I don't know how to fix it.Any one can help me ? following is the file turtlebot_minimal_create.launch script

    <launch>

<arg name="base" default="create"/> <arg name="battery" default="$(optenv TURTLEBOT_BATTERY /proc/acpi/battery/BAT0)"/> <arg name="stacks" default="circles"/> <arg name="3d_sensor" default="asus_xtion_pro"/> <arg name="simulation" default="$(optenv TURTLEBOT_SIMULATION false)"/>

<include file="$(find turtlebot_bringup)/launch/includes/robot.launch.xml"> <arg name="base" value="$(arg base)"/> <arg name="stacks" value="$(arg stacks)"/> <arg name="3d_sensor" value="$(arg 3d_sensor)"/> </include>

<include file="$(find rbx1_bringup)/launch/includes/tb_create_mobile_base.launch.xml"/>

<include file="$(find turtlebot_bringup)/launch/includes/netbook.launch.xml"> <arg name="battery" value="$(arg battery)"/> </include> </launch>

This is my own kobuki connect launch file script

<launch>

<arg name="mobile_base" default="$(optenv MOBILE_BASE create)"/> <arg name="base_port" default="$(optenv BASE_PORT /dev/ttyUSB0)"/>

<include file="$(find aicroboxi_bringup)/launch/includes/$(arg mobile_base)/mobile_base.launch.xml"> <arg name="base_port" value="$(arg base_port)"/> </include>

<include file="$(find aicroboxi_description)/launch/robot_description.launch.xml"> <arg name="mobile_base" value="$(arg mobile_base)"/> </include> </launch>

Thanks again!

2015-09-16 03:59:31 -0500 received badge  Notable Question (source)
2015-09-16 03:39:31 -0500 commented question How to make a robot follow another robot

OK, I'll try.Thanks

2015-09-16 02:57:14 -0500 commented question How to make a robot follow another robot

I have already finished reading the beginning tutorials. I can teleop my turtlebot now.

2015-09-16 02:55:37 -0500 received badge  Enthusiast
2015-09-15 20:24:56 -0500 received badge  Popular Question (source)
2015-09-15 10:55:58 -0500 asked a question How to make a robot follow another robot

Hi,all. I have two Yujin Kobuki robots. And I came up an idea today,but I don't know how to make it realize. The idea is that:I want a kobuki robot follow another kobuki robot. I can use keyboard to control the front robot , and the robot behind will follow the front robot automatic. How can I make it realize? I learn ROS only 3 months. And I don't know how to write a package, how to use others package on my own robot. I hope some one could give me some idea, or send me a package which will work correctly on my kobuki, so that I can learn from it.Thanks a lot. My email address is huangshiw@126.com . I would appreciate it if you can send the package by email. △the package: turtlebot_follower doesn't work on my kobuki :(

2015-09-14 00:09:38 -0500 asked a question Problem with fake turtlebot in rviz

Hi,all I install ros-by-exanple-indigo code on my computer.And I prepare to test fake robot simulator.However,Once I run the .launch file there will be a mistake in rviz.See follow.

run command:

 roslaunch rbx1_bringup fake_turtlebot.launch

then run

rosrun rviz rviz -d 'rospack find rbx1_nav' /sim.rviz

then there's a mistake in rviz, Global Status :error

fixed frame :fixed frame [map] do not exist

2015-09-09 10:37:55 -0500 commented answer Problems with pocketsphinx for speech recognition

Thanks a lot.After I runsudo apt-get install gstreamer0.10-gconf it worked

2015-09-09 10:37:55 -0500 commented question Problems with pocketsphinx for speech recognition

sorry,there're some mistakes with my Firefox.I can't upload the question (However, it has already uploaded) So ,the question uploaded like repost.

2015-09-09 10:14:46 -0500 received badge  Scholar (source)
2015-09-09 10:02:37 -0500 received badge  Notable Question (source)
2015-09-08 23:42:30 -0500 received badge  Popular Question (source)
2015-09-08 19:28:53 -0500 asked a question Problems with pocketsphinx for speech recognition

Hi,all I install ros-by-exanple-indigo code on my computer.And I prepare to test pocketsphinx for speech recognition.However,Once I run the .launch file there will be a mistake which will kill the program.Steps and mistakes as follow.

run command:

 roslaunch pocketsphinx robocup.launch

terminal display:

   ... logging to /home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/roslaunch-ubuntu-5253.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ubuntu:49975/

SUMMARY
========

PARAMETERS
 * /recognizer/dict: /opt/ros/indigo/s...
 * /recognizer/lm: /opt/ros/indigo/s...
 * /rosdistro: indigo
 * /rosversion: 1.11.13

NODES
  /
    recognizer (pocketsphinx/recognizer.py)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[recognizer-1]: started with pid [5271]
the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
[INFO] [WallTime: 1441726151.014228] Launch config: gconfaudiosrc
/opt/ros/indigo/lib/pocketsphinx/recognizer.py:68: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
  self.pub = rospy.Publisher('~output', String)
[INFO] [WallTime: 1441726151.017618] Starting recognizer... 
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 177, in <module>
    start = recognizer()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 73, in __init__
    self.start_recognizer()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 80, in start_recognizer
    self.pipeline = gst.parse_launch(self.launch_config)
glib.GError: no element "gconfaudiosrc"
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/core.py", line 399, in signal_shutdown
    h()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 131, in shutdown
    gtk.main_quit()
RuntimeError: called outside of a mainloop
[recognizer-1] process has died [pid 5271, exit code 1, cmd /opt/ros/indigo/lib/pocketsphinx/recognizer.py __name:=recognizer __log:=/home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/recognizer-1.log].
log file: /home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/recognizer-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Thanks!

2015-09-08 19:28:02 -0500 asked a question Problems with pocketsphinx for speech recognition

Hi,all I install ros-by-exanple-indigo code on my computer.And I prepare to test pocketsphinx for speech recognition.However,Once I run the .launch file there will be a mistake which will kill the program.Steps and mistakes as follow.

run command:

 roslaunch pocketsphinx robocup.launch

terminal display:

   ... logging to /home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/roslaunch-ubuntu-5253.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ubuntu:49975/

SUMMARY
========

PARAMETERS
 * /recognizer/dict: /opt/ros/indigo/s...
 * /recognizer/lm: /opt/ros/indigo/s...
 * /rosdistro: indigo
 * /rosversion: 1.11.13

NODES
  /
    recognizer (pocketsphinx/recognizer.py)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[recognizer-1]: started with pid [5271]
the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
[INFO] [WallTime: 1441726151.014228] Launch config: gconfaudiosrc
/opt/ros/indigo/lib/pocketsphinx/recognizer.py:68: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
  self.pub = rospy.Publisher('~output', String)
[INFO] [WallTime: 1441726151.017618] Starting recognizer... 
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 177, in <module>
    start = recognizer()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 73, in __init__
    self.start_recognizer()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 80, in start_recognizer
    self.pipeline = gst.parse_launch(self.launch_config)
glib.GError: no element "gconfaudiosrc"
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/core.py", line 399, in signal_shutdown
    h()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 131, in shutdown
    gtk.main_quit()
RuntimeError: called outside of a mainloop
[recognizer-1] process has died [pid 5271, exit code 1, cmd /opt/ros/indigo/lib/pocketsphinx/recognizer.py __name:=recognizer __log:=/home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/recognizer-1.log].
log file: /home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/recognizer-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Thanks!

2015-09-08 19:28:01 -0500 asked a question Problems with pocketsphinx for speech recognition

Hi,all I install ros-by-exanple-indigo code on my computer.And I prepare to test pocketsphinx for speech recognition.However,Once I run the .launch file there will be a mistake which will kill the program.Steps and mistakes as follow.

run command:

 roslaunch pocketsphinx robocup.launch

terminal display:

   ... logging to /home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/roslaunch-ubuntu-5253.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ubuntu:49975/

SUMMARY
========

PARAMETERS
 * /recognizer/dict: /opt/ros/indigo/s...
 * /recognizer/lm: /opt/ros/indigo/s...
 * /rosdistro: indigo
 * /rosversion: 1.11.13

NODES
  /
    recognizer (pocketsphinx/recognizer.py)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[recognizer-1]: started with pid [5271]
the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
[INFO] [WallTime: 1441726151.014228] Launch config: gconfaudiosrc
/opt/ros/indigo/lib/pocketsphinx/recognizer.py:68: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
  self.pub = rospy.Publisher('~output', String)
[INFO] [WallTime: 1441726151.017618] Starting recognizer... 
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 177, in <module>
    start = recognizer()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 73, in __init__
    self.start_recognizer()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 80, in start_recognizer
    self.pipeline = gst.parse_launch(self.launch_config)
glib.GError: no element "gconfaudiosrc"
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/core.py", line 399, in signal_shutdown
    h()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 131, in shutdown
    gtk.main_quit()
RuntimeError: called outside of a mainloop
[recognizer-1] process has died [pid 5271, exit code 1, cmd /opt/ros/indigo/lib/pocketsphinx/recognizer.py __name:=recognizer __log:=/home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/recognizer-1.log].
log file: /home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/recognizer-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Thanks!

2015-09-08 19:27:59 -0500 asked a question Problems with pocketsphinx for speech recognition

Hi,all I install ros-by-exanple-indigo code on my computer.And I prepare to test pocketsphinx for speech recognition.However,Once I run the .launch file there will be a mistake which will kill the program.Steps and mistakes as follow.

run command:

 roslaunch pocketsphinx robocup.launch

terminal display:

   ... logging to /home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/roslaunch-ubuntu-5253.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ubuntu:49975/

SUMMARY
========

PARAMETERS
 * /recognizer/dict: /opt/ros/indigo/s...
 * /recognizer/lm: /opt/ros/indigo/s...
 * /rosdistro: indigo
 * /rosversion: 1.11.13

NODES
  /
    recognizer (pocketsphinx/recognizer.py)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[recognizer-1]: started with pid [5271]
the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
[INFO] [WallTime: 1441726151.014228] Launch config: gconfaudiosrc
/opt/ros/indigo/lib/pocketsphinx/recognizer.py:68: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
  self.pub = rospy.Publisher('~output', String)
[INFO] [WallTime: 1441726151.017618] Starting recognizer... 
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 177, in <module>
    start = recognizer()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 73, in __init__
    self.start_recognizer()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 80, in start_recognizer
    self.pipeline = gst.parse_launch(self.launch_config)
glib.GError: no element "gconfaudiosrc"
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/core.py", line 399, in signal_shutdown
    h()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 131, in shutdown
    gtk.main_quit()
RuntimeError: called outside of a mainloop
[recognizer-1] process has died [pid 5271, exit code 1, cmd /opt/ros/indigo/lib/pocketsphinx/recognizer.py __name:=recognizer __log:=/home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/recognizer-1.log].
log file: /home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/recognizer-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Thanks!

2015-09-08 11:00:36 -0500 asked a question Problems with pocketsphinx for speech recognition

Hi,all I install ros-by-exanple-indigo code on my computer.And I prepare to test pocketsphinx for speech recognition.However,Once I run the .launch file there will be a mistake which will kill the program.Steps and mistakes as follow.

run command:

 roslaunch pocketsphinx robocup.launch

terminal display:

   ... logging to /home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/roslaunch-ubuntu-5253.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ubuntu:49975/

SUMMARY
========

PARAMETERS
 * /recognizer/dict: /opt/ros/indigo/s...
 * /recognizer/lm: /opt/ros/indigo/s...
 * /rosdistro: indigo
 * /rosversion: 1.11.13

NODES
  /
    recognizer (pocketsphinx/recognizer.py)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[recognizer-1]: started with pid [5271]
the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
[INFO] [WallTime: 1441726151.014228] Launch config: gconfaudiosrc
/opt/ros/indigo/lib/pocketsphinx/recognizer.py:68: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
  self.pub = rospy.Publisher('~output', String)
[INFO] [WallTime: 1441726151.017618] Starting recognizer... 
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 177, in <module>
    start = recognizer()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 73, in __init__
    self.start_recognizer()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 80, in start_recognizer
    self.pipeline = gst.parse_launch(self.launch_config)
glib.GError: no element "gconfaudiosrc"
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/core.py", line 399, in signal_shutdown
    h()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 131, in shutdown
    gtk.main_quit()
RuntimeError: called outside of a mainloop
[recognizer-1] process has died [pid 5271, exit code 1, cmd /opt/ros/indigo/lib/pocketsphinx/recognizer.py __name:=recognizer __log:=/home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/recognizer-1.log].
log file: /home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/recognizer-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Thanks!

2015-09-08 11:00:35 -0500 asked a question Problems with pocketsphinx for speech recognition

Hi,all I install ros-by-exanple-indigo code on my computer.And I prepare to test pocketsphinx for speech recognition.However,Once I run the .launch file there will be a mistake which will kill the program.Steps and mistakes as follow.

run command:

 roslaunch pocketsphinx robocup.launch

terminal display:

   ... logging to /home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/roslaunch-ubuntu-5253.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ubuntu:49975/

SUMMARY
========

PARAMETERS
 * /recognizer/dict: /opt/ros/indigo/s...
 * /recognizer/lm: /opt/ros/indigo/s...
 * /rosdistro: indigo
 * /rosversion: 1.11.13

NODES
  /
    recognizer (pocketsphinx/recognizer.py)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[recognizer-1]: started with pid [5271]
the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
[INFO] [WallTime: 1441726151.014228] Launch config: gconfaudiosrc
/opt/ros/indigo/lib/pocketsphinx/recognizer.py:68: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
  self.pub = rospy.Publisher('~output', String)
[INFO] [WallTime: 1441726151.017618] Starting recognizer... 
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 177, in <module>
    start = recognizer()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 73, in __init__
    self.start_recognizer()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 80, in start_recognizer
    self.pipeline = gst.parse_launch(self.launch_config)
glib.GError: no element "gconfaudiosrc"
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/core.py", line 399, in signal_shutdown
    h()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 131, in shutdown
    gtk.main_quit()
RuntimeError: called outside of a mainloop
[recognizer-1] process has died [pid 5271, exit code 1, cmd /opt/ros/indigo/lib/pocketsphinx/recognizer.py __name:=recognizer __log:=/home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/recognizer-1.log].
log file: /home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/recognizer-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Thanks!

2015-09-08 11:00:35 -0500 asked a question Problems with pocketsphinx for speech recognition

Hi,all I install ros-by-exanple-indigo code on my computer.And I prepare to test pocketsphinx for speech recognition.However,Once I run the .launch file there will be a mistake which will kill the program.Steps and mistakes as follow.

run command:

 roslaunch pocketsphinx robocup.launch

terminal display:

   ... logging to /home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/roslaunch-ubuntu-5253.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ubuntu:49975/

SUMMARY
========

PARAMETERS
 * /recognizer/dict: /opt/ros/indigo/s...
 * /recognizer/lm: /opt/ros/indigo/s...
 * /rosdistro: indigo
 * /rosversion: 1.11.13

NODES
  /
    recognizer (pocketsphinx/recognizer.py)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[recognizer-1]: started with pid [5271]
the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
[INFO] [WallTime: 1441726151.014228] Launch config: gconfaudiosrc
/opt/ros/indigo/lib/pocketsphinx/recognizer.py:68: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
  self.pub = rospy.Publisher('~output', String)
[INFO] [WallTime: 1441726151.017618] Starting recognizer... 
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 177, in <module>
    start = recognizer()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 73, in __init__
    self.start_recognizer()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 80, in start_recognizer
    self.pipeline = gst.parse_launch(self.launch_config)
glib.GError: no element "gconfaudiosrc"
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/core.py", line 399, in signal_shutdown
    h()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 131, in shutdown
    gtk.main_quit()
RuntimeError: called outside of a mainloop
[recognizer-1] process has died [pid 5271, exit code 1, cmd /opt/ros/indigo/lib/pocketsphinx/recognizer.py __name:=recognizer __log:=/home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/recognizer-1.log].
log file: /home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/recognizer-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Thanks!

2015-09-08 11:00:35 -0500 asked a question Problems with the pocketsphinx

Hi,all I install ros-by-exanple-indigo code on my computer.And I prepare to test pocketsphinx for speech recognition.However,Once I run the .launch file there will be a mistake which will kill the program.Steps and mistakes as follow.

run command:

 roslaunch pocketsphinx robocup.launch

terminal display:

   ... logging to /home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/roslaunch-ubuntu-5253.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ubuntu:49975/

SUMMARY
========

PARAMETERS
 * /recognizer/dict: /opt/ros/indigo/s...
 * /recognizer/lm: /opt/ros/indigo/s...
 * /rosdistro: indigo
 * /rosversion: 1.11.13

NODES
  /
    recognizer (pocketsphinx/recognizer.py)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[recognizer-1]: started with pid [5271]
the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
[INFO] [WallTime: 1441726151.014228] Launch config: gconfaudiosrc
/opt/ros/indigo/lib/pocketsphinx/recognizer.py:68: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
  self.pub = rospy.Publisher('~output', String)
[INFO] [WallTime: 1441726151.017618] Starting recognizer... 
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 177, in <module>
    start = recognizer()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 73, in __init__
    self.start_recognizer()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 80, in start_recognizer
    self.pipeline = gst.parse_launch(self.launch_config)
glib.GError: no element "gconfaudiosrc"
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/core.py", line 399, in signal_shutdown
    h()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 131, in shutdown
    gtk.main_quit()
RuntimeError: called outside of a mainloop
[recognizer-1] process has died [pid 5271, exit code 1, cmd /opt/ros/indigo/lib/pocketsphinx/recognizer.py __name:=recognizer __log:=/home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/recognizer-1.log].
log file: /home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/recognizer-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Thanks!

2015-09-08 11:00:35 -0500 asked a question Problems with the pocketsphinx

Hi,all I install ros-by-exanple-indigo code on my computer.And I prepare to test pocketsphinx for speech recognition.However,Once I run the .launch file there will be a mistake which will kill the program.Steps and mistakes as follow.

run command:

 roslaunch pocketsphinx robocup.launch

terminal display:

   ... logging to /home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/roslaunch-ubuntu-5253.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ubuntu:49975/

SUMMARY
========

PARAMETERS
 * /recognizer/dict: /opt/ros/indigo/s...
 * /recognizer/lm: /opt/ros/indigo/s...
 * /rosdistro: indigo
 * /rosversion: 1.11.13

NODES
  /
    recognizer (pocketsphinx/recognizer.py)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[recognizer-1]: started with pid [5271]
the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
[INFO] [WallTime: 1441726151.014228] Launch config: gconfaudiosrc
/opt/ros/indigo/lib/pocketsphinx/recognizer.py:68: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
  self.pub = rospy.Publisher('~output', String)
[INFO] [WallTime: 1441726151.017618] Starting recognizer... 
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 177, in <module>
    start = recognizer()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 73, in __init__
    self.start_recognizer()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 80, in start_recognizer
    self.pipeline = gst.parse_launch(self.launch_config)
glib.GError: no element "gconfaudiosrc"
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/core.py", line 399, in signal_shutdown
    h()
  File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 131, in shutdown
    gtk.main_quit()
RuntimeError: called outside of a mainloop
[recognizer-1] process has died [pid 5271, exit code 1, cmd /opt/ros/indigo/lib/pocketsphinx/recognizer.py __name:=recognizer __log:=/home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/recognizer-1.log].
log file: /home/aicrobo/.ros/log/cabf42a4-563d-11e5-8ab7-e8b1fc053d0e/recognizer-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Thanks!

2015-09-08 10:56:32 -0500 received badge  Taxonomist