Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

createStream causes execution to stuck in a loop #169

Open
2u121o opened this issue May 6, 2022 · 0 comments
Open

createStream causes execution to stuck in a loop #169

2u121o opened this issue May 6, 2022 · 0 comments

Comments

@2u121o
Copy link

2u121o commented May 6, 2022

I'm integrating orocos with ros, basically i created a component that read data from some input ports and write on output ports that create streams, because i want to public this values on ros topics and then read those values in plotjuggler.

So I created this component without any problem and work perfectly. After that i created used another ssd configured in the same way as the previos ssd in which i build this component that publish data on ROS but on this new ssd when i call the first createStream() it stuck without any error as if it is in an infinite loop. The only thing that i notice different from the other ssd is that i got the following message

[2022-05-06 12:33:28] [connect] WebSocket Connection 192.168.2.13:8081 v-2 "WebSocket++/0.7.0" /socket.io/?EIO=4&transport=websocket&t=1651833208 101

to create the stream I'm using, in the c++ code the following code

port.setName(<port_name>);
port.doc(<doc>);
port.createStream(rtt_roscomm::topic(<topic_name>));

i also tried to create the stream in the ops file, but i get exactly the same result, when it reach that point it stuck.

I repeat again that i have a working version of this component on a similar ssd, so this means that the code inside the component is should be correct
as well as the ops file.

I'm on ubuntu 18.04.06 LTS, I'm using ROS melodic.

Is 1 week that I'm working on this issue without success, so i tried a lot of different things but at the end when i create a stream it stuck.

Ros is working because if i create a topic and i publish something from terminal or a create a simple ros package i can send and receive data, also orocos is working because i have different component running without problem.

I know that with so few information is difficult to solve the problem but why when i create a topic, with createStream, i get stuck in this loop?

There is any known case in which it is possible to remain stacked in this way during the creation of a topic in ros?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant