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

giorgosera's profile - activity

2015-06-12 02:44:51 -0500 received badge  Taxonomist
2013-04-01 21:21:14 -0500 received badge  Famous Question (source)
2013-04-01 21:21:14 -0500 received badge  Notable Question (source)
2013-04-01 21:21:14 -0500 received badge  Popular Question (source)
2012-12-03 10:43:14 -0500 received badge  Famous Question (source)
2012-12-03 10:43:14 -0500 received badge  Notable Question (source)
2012-12-03 10:43:14 -0500 received badge  Popular Question (source)
2012-12-02 11:56:50 -0500 received badge  Notable Question (source)
2012-12-02 11:56:50 -0500 received badge  Popular Question (source)
2012-12-02 11:56:50 -0500 received badge  Famous Question (source)
2012-08-29 11:36:24 -0500 received badge  Famous Question (source)
2012-08-29 11:36:24 -0500 received badge  Notable Question (source)
2012-08-29 11:36:24 -0500 received badge  Popular Question (source)
2012-08-24 16:47:24 -0500 received badge  Famous Question (source)
2012-08-24 16:47:24 -0500 received badge  Notable Question (source)
2012-08-24 16:47:24 -0500 received badge  Popular Question (source)
2012-08-20 23:44:44 -0500 received badge  Famous Question (source)
2012-08-20 23:44:44 -0500 received badge  Notable Question (source)
2012-08-20 23:44:44 -0500 received badge  Popular Question (source)
2011-12-14 21:22:59 -0500 marked best answer Too much latency for a publisher working with sound_play

Alhough I am not 100% sure, the latency might come from both ROS' sound_play and also festival. Even though sound_play assures that it can handle multiple play request simultaneously, I had difficulty that caused a problem when trying to handle multiple requests within very short interval (ticket opened).

One workaround worth trying is to use festival (or other native player) directly. For example for text2speech, do something like this.

process = subprocess.Popen(['festival', '--tts'],
                           stdin=subprocess.PIPE,
                           stdout=subprocess.PIPE,
                           stderr=subprocess.STDOUT)
stdout_value, stderr_value = process.communicate(spokenTxt)
process.wait()

For playing audio file, using mplayer is an option if you're on Ubuntu. These worked out for us well (although certain interval b/w each play was necessary to guarantee the proper execution and the sound quality).

2011-12-14 21:22:53 -0500 commented answer Too much latency for a publisher working with sound_play
Thanks Isaac I will give it a go and let u know the result.
2011-12-14 21:22:22 -0500 received badge  Supporter (source)
2011-12-14 09:46:18 -0500 asked a question Too much latency for a publisher working with sound_play

Hey all,

I have a subscriber written in Python and subscribes to some sensor msgs. It uses sound_play to perform speech synthesis and inform the user about the information received by the sensors. My main problem is that the latency is huge. The sensor detects the obstacle at time t and sends it to the subscriber. However, sound_play reporoduces the sound at time t + long_after. Apparently my subscriber sends too much messages to sound_play which accumulates the messages in a buffer. Is there any way to workaround this issue?

Thanks George

2011-12-13 03:39:30 -0500 asked a question sound_play and bluetooth device on Ubuntu 10.10

Hey,

I am using sound_play to perform speech synthesis for my robot. I am using Jabra Wave which is a headset connected via Bluetooth on the robot's computer. The device is paired and I can even play sounds on the computer and listen to them via Jabra. However, when I use sound_play to play a sound it doesn't come out from Jabra but instead from the computer's speakers.

Note that I have redirected the audio output to Jabra.

Any suggestions?

Thanks

2011-12-09 08:41:39 -0500 commented question sound_play gives me this error: Exception in cleanupdict for sound
This is the perfect place to ask:)...I am running my own script but I SUBSCRIBE to sound_play...so it is totally relevant
2011-12-09 08:01:22 -0500 commented question sound_play gives me this error: Exception in cleanupdict for sound
I am running my own python script so I don't use any sound_play modules....What about you?
2011-12-09 07:34:19 -0500 asked a question sound_play gives me this error: Exception in cleanupdict for sound

Hey,

Does anybody know what this error means? I get it from sound_play node when I run a script of mine. My script works alright!

The error: Exception in cleanupdict for sound

2011-12-09 07:32:58 -0500 received badge  Scholar (source)
2011-12-09 07:32:58 -0500 marked best answer I get this error each time I try to run rosmake --> RuntimeError: maximum recursion depth exceeded in cmp

This error can occur when you have cyclical dependencies. Does your package depend on a package that also depends on your package? Sorry for the confusing wording, but I don't know of a better way to say it.

EDIT

Here's an example of a cyclical dependency:

Package A is called my_robot_config. Package B is called my_robot_sensors.

In the manifest.xml files:

my_robot_config

<depend package="my_robot_sensors" />

my_robot_sensors

<depend package="my_robot_config" />

All you have to do is look through the manifest.xml files in your packages to make sure that two packages don't depend on one another.

2011-12-09 03:58:36 -0500 commented answer I get this error each time I try to run rosmake --> RuntimeError: maximum recursion depth exceeded in cmp
Is there a way I can check which dependency actually cause the cycle?
2011-12-09 03:55:00 -0500 asked a question I get this error each time I try to run rosmake --> RuntimeError: maximum recursion depth exceeded in cmp

Hey,

I created a new package and try to run rosmake...However, each time I do that this error appears and dunno why!

The error: RuntimeError: maximum recursion depth exceeded in cmp

Thanks George

2011-11-14 07:59:57 -0500 asked a question cyphy_rosfalcon package installation problems

After a lot of frustration and research we found this cyphy repo which contains a cyphy_rosfalcon package. We want to use that to interface with a Novint Falcon device. However when we run make it fails.

The error:

In file included from /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_serialization/include/ros/serialization.h:37:0,
                 from /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/publisher.h:34,
                 from /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:32,
                 from /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/ros.h:45,
                 from /home/george/ros/cyphy/rosfalcon/src/falcon_control.cpp:1:
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h: In static member function ‘static const char* ros::message_traits::MD5Sum<M>::value(const M&) [with M = int]’:
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:255:104:   instantiated from ‘const char* ros::message_traits::md5sum(const M&) [with M = int]’
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/publisher.h:112:7:   instantiated from ‘void ros::Publisher::publish(const M&) const [with M = int]’
/home/george/ros/cyphy/rosfalcon/src/falcon_control.cpp:55:43:   instantiated from here
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:126:34: error: request for member ‘__getMD5Sum’ in ‘m’, which is of non-class type ‘const int’
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h: In static member function ‘static const char* ros::message_traits::DataType<M>::value(const M&) [with M = int]’:
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:264:106:   instantiated from ‘const char* ros::message_traits::datatype(const M&) [with M = int]’
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/publisher.h:112:7:   instantiated from ‘void ros::Publisher::publish(const M&) const [with M = int]’
/home/george/ros/cyphy/rosfalcon/src/falcon_control.cpp:55:43:   instantiated from here
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:143:36: error: request for member ‘__getDataType’ in ‘m’, which is of non-class type ‘const int’
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h: In static member function ‘static const char* ros::message_traits::MD5Sum<M>::value(const M&) [with M = int]’:
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:127:3: warning: control reaches end of non-void function [-Wreturn-type]
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h: In static member function ‘static const char* ros::message_traits::DataType<M>::value(const M&) [with M = int]’:
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:144:3: warning: control reaches end of non-void function [-Wreturn-type]
make[3]: *** [CMakeFiles/falcon_control.dir/src/falcon_control.o] Error 1
make[3]: Leaving directory `/home/george/ros/cyphy/rosfalcon/build'
make[2]: *** [CMakeFiles/falcon_control.dir/all] Error 2
make[2]: Leaving directory `/home/george/ros/cyphy/rosfalcon/build'
make[1]: *** [all] Error 2
make[1]: Leaving ...
(more)
2011-11-14 06:58:18 -0500 received badge  Editor (source)
2011-11-14 06:58:18 -0500 edited question Problem installing rosfalcon because unable to install libnifalcon

Hey,

I want to use Novint Falcon with ROS but I have difficulties installing the rosfalcon package. It depends on libnifalcon and every time I try 'rosdep install rosfalcon' it fails complaining that libnifalcon could not be installed. I have searched all over the internet for the solution but nothing. I have also downloaded the sources from github and tried to inspect what's causing the problem bt with no success.

Here's the output from rosdep install rosfalcon:

E: Unable to locate package cd
E: Unable to locate package fi
E: Unable to locate package if
E: Unable to locate package !
E: Unable to locate package mkdir
E: Unable to locate package /usr/local/lib
E: Unable to locate package /home/george/ros
E: Package 'build' has no installation candidate
E: Unable to locate package libnifalcon-1.0.1.tar.gz
E: Couldn't find any package by regex 'libnifalcon-1.0.1.tar.gz'
/tmp/tmp4HUbU1: line 3: -p: command not found
successfully installed libnifalcon
/tmp/tmp4HUbU1: line 3: ]: command not found
rosdep libnifalcon failed check-presence-script after installation
rosdep install ERROR:
failed to install libnifalcon
2011-11-14 03:42:17 -0500 received badge  Good Question (source)
2011-11-14 03:38:29 -0500 received badge  Nice Question (source)
2011-11-14 02:56:57 -0500 commented question Problem installing rosfalcon because unable to install libnifalcon
You can find it from sourceforge or bazzar --> http://bazaar.launchpad.net/~cyphylab/cyphy/bonsai/files and also https://wiki.qut.edu.au/display/cyphy/RosFalcon ..I have also seen a sourceforge repo bt I can find the link now!If you manage to install it please let me know