-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add functionalities for optical tactile plugin #1
Conversation
Signed-off-by: Martiño Crespo <[email protected]>
Signed-off-by: Martiño Crespo <[email protected]>
Signed-off-by: Martiño Crespo <[email protected]>
Signed-off-by: Martiño Crespo <[email protected]>
Signed-off-by: Martiño Crespo <[email protected]>
Signed-off-by: Martiño Crespo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The initial test is good, but more things need to be tested. The plugin has many lines, and the current test coverage is probably only a small portion of the plugin.
The resolution parameters are not tested - with a known camera image size and a known resolution in the test SDF, you should be able to EXPECT the number of points published based on the depth sensor data.
The visualization is not tested. If it's set to true, there should be some markers, and if it's set to false, there should be no markers.
Etc. Maybe not everything can be tested, but the essential functionalities such as the above should be tested. There may be more.
Signed-off-by: Martiño Crespo <[email protected]>
Addressed the feedback in 2db11bc. Re the tests, I'm thinking about writing several |
Thanks for addressing the changes. Having multiple SDF files is fine. |
@mcres Friendly ping. Do you have time to add the new tests? Ideally we'd like to get this feature in before Ignition Dome code freeze Sep 23, for it to be included in the Dome release. Otherwise it will go in after the release. |
Sorry, I didn't have much time these last few weeks. I'll try to add them before the 23rd. |
I've taken a look at the testing, but there are a couple of issues:
|
The marker feature is not on the core development roadmap, so I don't know if any of us has time for it any time soon. I would not wait for it.
Testing more is always good, but I'm concerned with how long this would take. It's worth it to add the test if you think you realistically have time to do this soon, say in the next 2-3 weeks. Otherwise I would prefer to just merge everything associated with this plugin, create an issue on ign-gazebo about making this test and labeling it help-wanted, so that we can get the plugin's functionality into ign-gazebo. My main concern is that the longer we wait, the less we will remember, and the more upstream will change and have more conflicts in code, and at some point we'll forget about it and it never goes in. Regarding the tests, you were thinking about adding several more SDF files above. Is that something you're still considering / doable with the existing features? |
The reason of adding several SDF files was to be able to test a specific set of the plugin parameters. Regarding the tests, it changes nothing. I'm afraid I won't be able to address this in the near future. Independently of that, I think that following your suggestion about merging and creating the corresponding issue is a good idea, especially given that everything will be in the |
Sounds good. Let's just try to merge existing code. Here's a plan:
To summarize, action items are bullet 1. approve an upcoming PR, and bullet 3. open a PR upstream and create the issue for what we discussed above. |
Hmm I don't follow this one. Doesn't it make sense to address those issues in the |
Well, we need CI to be clear before we merge into ign-gazebo4, since the upstream PR is going there. Right now we cannot merge that because Mac CI is yellow. So I was going to open a PR here to your fork to fix that last bit, as well as Addisu's remaining comment. Once everything in the upstream PR is addressed, we can merge it into ign-gazebo4, and do the remainder of the work in |
OK! I'll look out for the PR then. |
This PR adds the following to gazebosim#229: