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

Mosa's profile - activity

2018-03-18 19:40:05 -0500 received badge  Nice Question (source)
2017-07-14 03:34:32 -0500 received badge  Famous Question (source)
2017-07-14 03:34:32 -0500 received badge  Notable Question (source)
2016-03-30 15:05:44 -0500 received badge  Famous Question (source)
2016-01-21 05:42:58 -0500 received badge  Notable Question (source)
2016-01-20 07:36:13 -0500 commented answer Pass arguments to rqt plugin in gdb

No, this is not possible. For debugging a rqt_plugin I have to start "gdb python" than I am in GDB modus. For starting the rqt_plugin I have to run the plugin like this: run $YOUR_RQT_GUI_HOMEDIR$/bin/rqt_gui I can't start in this mode gdb --args exeName arg1 arg2 arg3

2016-01-20 06:39:34 -0500 received badge  Popular Question (source)
2016-01-19 08:23:15 -0500 answered a question Pass arguments to rqt plugin in gdb

I found a solution:

% gdb python
(gdb) set args 0 0 0 0
(gdb) run $YOUR_RQT_GUI_HOMEDIR$/bin/rqt_gui

In this case I pass four arguments (0 0 0 0) to the rqt_plugin "rqt_gui".

2016-01-18 13:23:16 -0500 received badge  Student (source)
2016-01-18 12:57:35 -0500 asked a question Pass arguments to rqt plugin in gdb

How I can pass arguments to a rqt plugin within gdb

% gdb python
(gdb) run $YOUR_RQT_GUI_HOMEDIR$/bin/rqt_gui
 :          (usual gdb usage)

With the code above I can start the rqt_plugin, but without arguments

2015-11-17 04:13:18 -0500 received badge  Famous Question (source)
2015-06-04 10:17:39 -0500 received badge  Popular Question (source)
2015-03-16 08:47:15 -0500 asked a question ROS-PocketSphinx: Getting the probabilities of the words

I use PocketSphinx to do voice recognition. For example I use a language model like this:

Hello
Hi
World
Earth

I say "Hello world", now I want the list of the probabilities/scores of the recognition. Like for the first word "Hello" a possible match could be:

"Hello" 90%
"Hi" 10%
"World" 30%
"Earth" 30%

I don't know how PocketSphinx represents the probabilities. It is only an example. Has someone a clue? I use this example https://github.com/mikeferguson/pocke...

Thanks

Mosa

2014-12-24 06:41:20 -0500 received badge  Enthusiast
2014-12-23 08:07:22 -0500 received badge  Scholar (source)
2014-12-23 08:07:21 -0500 received badge  Supporter (source)
2014-12-23 08:07:07 -0500 answered a question Rqt_myPlugin can't subscribe node

Danke!

Thanks, this was the problem. I totally failed in a C++-trap :).

2014-12-23 07:58:10 -0500 received badge  Notable Question (source)
2014-12-22 20:36:02 -0500 received badge  Editor (source)
2014-12-22 20:35:46 -0500 commented question Rqt_myPlugin can't subscribe node

Yeah he you can find the code; https://github.com/Mosa-/rqt_ccgui

2014-12-22 13:39:11 -0500 received badge  Popular Question (source)
2014-12-22 09:24:18 -0500 answered a question Rqt_myPlugin can't subscribe node

if I do rosnode list I can see the node /rqt_gui_cpp_node_7081, but where I should create the publisher/subscriber. I do it but it wont show...

2014-12-19 19:43:40 -0500 commented question Rqt_myPlugin can't subscribe node

I follow this instruction to create the rqt plugin: http://wiki.ros.org/rqt/Tutorials/Cre... in C++. How I can check in which "node universum" i am? Because I have access of the node handle... What should i do?

2014-12-19 13:25:34 -0500 asked a question Rqt_myPlugin can't subscribe node

Hello guys,

I have a GUI as a rqt plugin and I want to subscribe a topic but I can't see my rqt_plugin node on the rqt_graph. The topic which i want to subscribe is in the same machine, which I want to start my rqt_plugin. I have muliple machines and I start the rqt_graph at the another machine. At the another machine I see all the other topics and I see also the topic which I want to subscribe with my rqt_plugin.

Here is the creation of the publisher at machine A:

 pubCmd = n.advertise<std_msgs::String>("/sci/cmd", 10);

Here is the subscribing of the topic /sci/cmd at my rqt_plugin also at machine A:

ros::Subscriber sub = getNodeHandle().subscribe("/sci/cmd", 10, &ccgui::receiveSC, this);

If now I published something, my rqt plugin receives nothing. I know that the publisher works correctly because I subscribed the topic with a normal node and I receive the messages. https://github.com/Mosa-/rqt_ccgui

I hope someone can help me :)