-
Notifications
You must be signed in to change notification settings - Fork 27
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
Transformer frames not displayed in vizkit3d #4
Comments
Btw. the same problem occurs if the transformer is running on a different computer than the one where vizkit is running. Transformations seem to be ok and are available in rock-display, but vizkit3d does not show them. |
This seems to be connected to the transformer broadcaster. I've never looked into it. @jmachowinski or @D-Alex, could know. |
The name resolution is probably not working in this case. You have to use a consistent name service name for all your scripts (the best is to use ip addresses). In the example above the transformer is probably publishing the task via 127.0.0.1/task_name which cannot be resolved if you use localhost as nameservice name in another script. |
Thanks. It works when I use the same name service name everywhere |
Maybe if this is a problem for several users we should change the default naming servoce to 127.0.0.1? |
Fair point, should I reopen, or do you want to add another issue for that. |
By default the nameservice name is empty. If someone is inconsistly changing it there is no code trying to fix this. And honestly I am not even sure if we should trying to do this. The most straight forward way for me would be to limit the name to ip adresses. |
first question: A solution might be: Best, On 14.01.2015 23:01, Alexander Duda wrote:
Dipl.-Inf. Matthias Goldhoorn Universität Bremen Zentrale: +49 421 178 45-6611 Besuchsadresse der Nebengeschäftstelle: Tel.: +49 421 178 45-4193 Weitere Informationen: http://www.informatik.uni-bremen.de/robotik |
Yes, the name is string based. |
I am not sure I really understand what the exact problem is. Could you give more details ? |
There is no real problem. To differentiate between multiple corba name services they get an identify from orcos.rb which is used to encode the full name of a task and picked up by the transformer to broadcast the task names. The identifier can be the IP address or the host name of the computer running the nameservice but must be the same across all scripts. Therefore, to avoid this pitfall we could convert the identifier always to an IP or add an alias name service. Now, we need someone doing it ;-) |
As a workaround, we could put only the task's basename in the broadcaster. It would work for current applications (where having a heterogeneous system where it would fail is rare). That would do until we finally get rid of the broadcaster using orogen_metadata |
Hi,
the transformer frames in vizkit3d are not displayed if I set Orocos::CORBA.name_service.ip to e.g. "localhost". Example:
If I do
the frames show up properly. If I do
the frames cannot be seen in the display and they are neither available in the dropdown menus. The transformer seems to work properly, since the transforms are listed in rock-display. I am on the master branch of vizkit3d. Ubuntu 12.04.
Best,
Dennis
The text was updated successfully, but these errors were encountered: