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

dexter05's profile - activity

2018-04-16 09:49:57 -0500 received badge  Famous Question (source)
2018-04-16 09:49:57 -0500 received badge  Notable Question (source)
2018-04-16 09:49:57 -0500 received badge  Popular Question (source)
2017-04-25 21:28:48 -0500 received badge  Famous Question (source)
2017-01-17 11:47:02 -0500 received badge  Notable Question (source)
2016-11-12 05:06:00 -0500 received badge  Student (source)
2016-10-16 20:20:35 -0500 received badge  Supporter (source)
2016-10-13 04:30:13 -0500 received badge  Famous Question (source)
2016-09-18 14:33:13 -0500 received badge  Notable Question (source)
2016-09-07 08:14:04 -0500 received badge  Notable Question (source)
2016-09-05 23:29:31 -0500 received badge  Editor (source)
2016-09-05 23:26:47 -0500 asked a question Getting Parse Errors for alice chatbot with ros

Hi,

I want to create a chatbot application and I came across this package for ROS. I cloned the repo into my workspace and have managed to get it working. There were a few changes that were needed in the launch files. Now, robot.launch files fires up the three nodes. However, i am getting the following list of errors:

/home/<username>/<workspace>/src/chatbot/scripts/ai.py:18: 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.
  String
/home/<username>/<workspace>/src/audio_common/sound_play/scripts/soundplay_node.py:376: 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.diagnostic_pub = rospy.Publisher("/diagnostics", DiagnosticArray)
PARSE ERROR: Unexpected text inside <random> element (line 4311, column 262)
PARSE ERROR: Unexpected text inside <random> element (line 4848, column 172)
PARSE ERROR: Unexpected text inside <random> element (line 8844, column 351)
PARSE ERROR: <random> elements can only contain <li> subelements (line 3374, column 125)
PARSE ERROR: <random> elements can only contain <li> subelements (line 443, column 495)
PARSE ERROR: <random> elements can only contain <li> subelements (line 1733, column 19)
PARSE ERROR: Unexpected text inside <random> element (line 3383, column 0)
PARSE ERROR: Unexpected <category> tag (line 18, column 0)
PARSE ERROR: Unexpected </learn> tag (line 22, column 0)
PARSE ERROR: Unexpected </template> tag (line 35, column 0)
PARSE ERROR: Unexpected </category> tag (line 36, column 0)
PARSE ERROR: Unexpected </category> tag (line 104, column 0)
PARSE ERROR: Unexpected </category> tag (line 144, column 0)
PARSE ERROR: Unexpected <category> tag (line 40, column 0)
PARSE ERROR: Unexpected </category> tag (line 43, column 0)
PARSE ERROR: Unexpected <category> tag (line 100, column 1)
PARSE ERROR: Unexpected </learn> tag (line 108, column 0)
PARSE ERROR: Unexpected </li> tag (line 110, column 0)
PARSE ERROR: Unexpected </condition> tag (line 128, column 0)
PARSE ERROR: Unexpected </template> tag (line 129, column 0)
PARSE ERROR: Unexpected </category> tag (line 130, column 0)
PARSE ERROR: Unexpected <category> tag (line 158, column 1)
PARSE ERROR: Unexpected </learn> tag (line 166, column 0)
PARSE ERROR: Unexpected </li> tag (line 168, column 0)
PARSE ERROR: Unexpected </condition> tag (line 173, column 0)
PARSE ERROR: Unexpected </template> tag (line 174, column 0)
PARSE ERROR: Unexpected </category> tag (line 175, column 0)
[WARN] [WallTime: 1473135480.071641] Done initializing chatbot.

From this point both the terminals (with web.launch and robot.launch) are waiting for something. What would be the next step? Also how do I get rid of this parse errors?

Any help would be appreciated :)

2016-08-26 06:17:41 -0500 received badge  Popular Question (source)
2016-08-26 04:54:43 -0500 answered a question How do we set the parameters for any existing package

I searched a bit more and found this website. The guy walks through a very similar tutorial. However, his package seems to have a demo folder which explains a lot. He has simple launch files within which the params lm and dic are specified. I am still curious in finding out ways to edit parameters on the go and using the yaml option.

2016-08-25 22:53:16 -0500 asked a question How do we set the parameters for any existing package

Hi,

I am working with the pocketsphinx package. I have managed to download the requied lm and dic files for the same using Sphinx Knowledge Base Tool. However, i am unable to set the path in the paramaeters. I tried looking at the tutorial for rosparam. Since, I recetly started using ROS, I still feel fairly confused. So far, I have created a dump.yaml as follows:

dic: /home/fday562/Downloads/TAR5770/5770.dic
lm: /home/fday562/Downloads/TAR5770/5770.lm
recognizer: {}
rosdistro: 'indigo

  '
roslaunch:
  uris: {host_en_330372__37414: 'http://en-330372:37414/'}
rosversion: '1.11.20

  '
run_id: 0be57b0a-6b36-11e6-9620-3417ebab4615

I have saved this file in ~/<myworkspace>/src/pocketsphiinx/.

However, upon running rosrun pocketsphinx recognizer.py I always get a warning saying:

<MyWorkspace>/src/pocketsphinx/nodes/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)
[WARN] [WallTime: 1472182172.183704] lm and dic parameters need to be set to start recognizer.

I have spent alot of time trying to change the location of the file dump.yaml but all in vain. Is there any step that i am missing?

2016-08-25 22:40:35 -0500 commented answer Voice commands / speech to and from robot?

I am new to ROS and have been using the pocketsphinx package that you have mentioned above. I have managed to install it and also get a sample lm and dic file through the Sphinx Knowledge Base Tool. However, I am unable to set the path to it.Pls help

2016-08-25 19:01:16 -0500 commented question cob_people_detection problems with open gateway.

Did you find a solution. If yes could you please update this thread? I am facing the exact same issue. I am using Ubuntu 10.04 and Indigo

2016-08-24 21:52:22 -0500 commented answer rqt_graph rqt_tf_tree issue | ros indigo

Thanks! Downgrading pip worked for me. Was facing the same issue with ROS Indigo on Mac OS X El Capitan

2016-08-24 21:44:49 -0500 received badge  Enthusiast
2016-08-22 21:06:38 -0500 received badge  Popular Question (source)
2016-08-22 07:50:32 -0500 answered a question Unable to resolve dependencies while ROS Install on Mac

I tried Mike Purvis's solution and it works! Thanks for the tip spmaniato! It takes a long time though. Just a tip for all those who might need help in the future. Packages like pyqt, sip may throw ImportError during compilation. A simple brew unlink <package that throws ImportError> && brew link <same package> works like magic.

2016-08-20 23:12:15 -0500 asked a question Unable to resolve dependencies while ROS Install on Mac

Hi,

I am trying to install ROS Indigo on Mac OS X El Capitan and am following this tutorial. However, along the tutorial I am getting suck at the step 2.1.2 wherein I need to run the following command:

$ rosdep install --from-paths src --ignore-src --rosdistro indigo -y

Upon doing so, I get the following error:

$ rosdep install --from-paths src --ignore-src --rosdistro=indigo -y
executing command [sudo -H pip install -U urlgrabber]
Password:
Collecting urlgrabber
  Using cached urlgrabber-3.9.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/tmp/pip-build-iJQJmX/urlgrabber/setup.py", line 3, in <module>
        import urlgrabber as _urlgrabber
      File "urlgrabber/__init__.py", line 54, in <module>
        from grabber import urlgrab, urlopen, urlread
      File "urlgrabber/grabber.py", line 427, in <module>
        import pycurl
    ImportError: No module named pycurl

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-iJQJmX/urlgrabber/
ERROR: the following rosdeps failed to install
  pip: command [sudo -H pip install -U urlgrabber] failed

I tried looking for help, but am not able to get through. Does anyone have a clue why?

Thanks :)

2016-08-20 12:28:40 -0500 received badge  Popular Question (source)
2016-08-19 03:22:51 -0500 asked a question Help with setting up Kinect

Hi,

I am new to the ROS Community and am trying to connect a Kinect camera with ROS for my current project. I am using Ubuntu 14.04 and the ROS indigo distribution.

So far, I have followed the tutorial http://wiki.ros.org/Robots/evarobot/T... . However towards the end of the tutorial, after the step roslaunch openni_launch openni.launch, I get a the following warnings:

----------
[ WARN] [1471581084.378448573]: Camera calibration file /home/fday562/.ros/camera_info/rgb_B00364629578138B.yaml not found.
[ WARN] [1471581084.378476614]: Using default parameters for RGB camera calibration.
[ WARN] [1471581084.378506677]: Camera calibration file /home/fday562/.ros/camera_info/depth_B00364629578138B.yaml not found.
[ WARN] [1471581084.378520480]: Using default parameters for IR camera calibration.
----------

Everything else works fine. Earlier I was trying to use usb_cam and it threw similar warnings. Any idea whats this about? Any help is appreciated.

Thanks :)