ipa320 / rqt_frame_editor_plugin

An rqt plugin for creating, manipulating and managing tf frames.
MIT License
21 stars 11 forks source link

Client-side frame manipulation #16

Closed mescarra closed 6 years ago

mescarra commented 6 years ago

Hello! So here's my setup:

The robot may or may not be used along with a PC (the PC is just used for diagnose).

I would like to be able to modify the frames published by the frame editor node running on the robot, using the rqt frame editor interface, but I'm not sure if that's possible.

So far, I've found a very dirty workaround, which is launching the rqt_frame_editor node on my PC, but reusing the same node name that it is used on the robot. That way, ROS throws an error of two nodes with the same name and it kills the headless one and the rqt interface loads up. This approach has many disadvantages:

Am I doing something completely wrong here or this feature is not supported yet?

ipa-lth commented 6 years ago

Hi, Right now the gui and the underlying frame publishing mechanism are not that decoupled. You cannot connect the gui to another backbone.

There is however a ros service Interface to manipulate frames. So you should be able to 'remotely' set frame coordinates or change parent frames, however without gui support.

If you need something in the gui not available with service calls, it fairly easy to add those.

Let me know if this helps you. Cheers

mescarra commented 6 years ago

This is very helpful!

I have tried the services and they work just fine, so the rqt_service_caller kinda solves the problem for a GUI for editing frames.

Thank you very much for your help!