-
Notifications
You must be signed in to change notification settings - Fork 11
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
Feature Request: CRTK-ROS bridge required interfaces #15
Comments
* renamed class `mts_ros_crtk_bridge` to `mts_ros_crtk_bridge_provided` * create temporary typedef for backward compatibility for `mts_ros_crtk_bridge` * added class `mts_ros_crtk_bridge_required` to allow bridge for a required interface * many new conversion methods for CRTK
I pushed a bare bone version of the code to support this feature. It is not documented nor extensively tested. It also misses code to parse a JSON file to configure the bridge (will be required for dynamic creation). To be consistent, I renamed To populate the bridge, I can think of 3 scenarios:
Use: Todo:
@htp2, thoughts? Usable as is? |
@adeguet1 Just wanted to let you know I've seen this - thanks for adding this! I will test it as soon as I can (hopefully Mon or Tue). |
Hi Anton, I am having some trouble getting this built on my machine. I also am using sawNDITracker. I updated to the most recent devel branch there but get this error on
I thought that maybe it should be |
That's odd. I don't have access to the computer I used for this code so I can't test until tomorrow. Can you add |
I think the issue is now fixed. You will need to pull the latest devel branch for cisst-ros and sawNDITracker. Can you give it a try when you have some spare time? |
This did fix the issue - compiled without any problem! I'll keep you updated as I try to integrate this feature into our codebase |
Hi Anton, I know it's been a while since you worked on this or we talked about it. I had an application to test it with recently and it worked quite well. I had to make one small addition for the bridge_required to connect appropriately. Additionally, for my application, I wanted to be able to bridge servo_jv so I added that functionality in as well. Both are in a pull request #17 |
It would be useful to extend the crtk_cisst_ros_bridge to also allow for easy bridging of required interfaces, similar to the current one-liners for provided interfaces we have currently: (bridge_interface_provided and bridge_all_interface_provided)
I would be able to use this immediately in my work (though I can work without it just fine for now), and would be willing to help with testing and development to the extent that I would be useful. I think it would greatly increase the usability of the cisst-ros bridge for a lot of users and encourage the use of CRTK conventions, both of which are really good things from my perspective.
I understand there would be some challenges regarding handling 'optional' items in cisst required interfaces (i.e. do you try to connect to a ROS topic if optional?, Do you check to see if it exists first?, Do you need a configuration file for the user to tell you what optional ones should be included?, etc.). I'm happy to participate in any brainstorming regarding how to handle these issues.
I spoke with @adeguet1 regarding this, tagging you here for your visibility.
Thanks!
The text was updated successfully, but these errors were encountered: