-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Broken pid tests #18
Comments
Bump. Tests have been broken for many months but the release process was so far unaffected. Now pre-release tests are failing because of this issue (as they should). @davetcoleman, I'm assigning you this issue. In the meantime, I'll remove this block of code from the test code , which is the troublemaker. I'd appreciate it if we could give closure to this issue soon. |
Remove broken test code. Hotfix for #18.
Roger, will do. |
Waiting on answer for |
In the meantime, you can workaround the issue by calling ctest directly on the build folder
(very verbose, match test name regex) |
I don't think they are built though. I get:
|
Try I have not yet used |
I tracked down the problem - this commit 17e41b5 removed the feature that allowed that test to pass. When I reverted it I was able to build and test the entire ros_control suite. The thing is - I don't know why I removed the |
I vaguely remember it was not working properly due to some race condition, but I can't find any evidence supporting that statement except my [memory|imagination]. |
Well no one has missed it except this test, so I vote we not re-introduce it and instead just remove that test (which it has already been commented out). I don't see a need for that functionality at this point anyway. |
Copy that, you can then close the issue. Thanks for looking into this. |
The pid_tests target has been broken for a while now, and it fails with the following message:
The offending code is:
It's calling the non-const method
getGains()
of the const objectpid4
.Does it actually make sense to have a const
Pid
instance?. It would seem that you can't do much with it anyway. If there is indeed need for accessing the gains from a const instance, an API addition would be required. I tested this and it works (tests pass), but is pretty ugly:Didn't take the time to see if a cleaner implementation is possible. Still, I'd avoid it if there is no real need.
@davetcoleman could you take a look at it?. You wrote that part of the test and worked on the pid implementation back in July.
The text was updated successfully, but these errors were encountered: