-
Notifications
You must be signed in to change notification settings - Fork 773
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
[gazebo_plugins] Rapid projector toggle rostest #419
Conversation
…can reproduce crashing of gazebo
…row strip of texture missing that is projected in a different direction): ~/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/test/projector$ GAZEBO_RESOURCE_PATH=`pwd` roslaunch gazebo_plugins projector.test gui:=true Trying to turn off the projector doesn't work, though this has worked for me from xacro/urdf (TODO make a xacro example to show that): rostopic pub /projector_plugin/projector std_msgs/Int32 "data: 0" Need to test the texture topic.
…gle works. Haven't gotten a crash from rapid toggling on a single projector, should try two. The xacro is incomplete.
test/set_model_state_test/set_model_state_test.test | ||
test/set_model_state_test/set_model_state_test.cpp) | ||
target_link_libraries(set_model_state-test ${catkin_LIBRARIES}) | ||
# Can't have two of these until #409 is resolved |
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.
I think that we are safe to enable all the tests again, #409 was closed by running tests one by one.
Thanks for the contribution Lucas. Could you please fix the conflicts when you have some time? |
No activity since 2016 and targeting an unsupported version. Closing this feel free to reopen again in a supported version if the PR is relevant. |
I originally was hoping to duplicate an issue where toggling a projector on and off would crash gazebo, but having made a rostest of it the test passes. But I think it is a good test and could be developed into more elaborate tests of projectors (adding a camera and some image comparison tests to see that the projector actually projected and toggled on and off would be nice), and serves as an example of launching the projector plugin in a world file (I couldn't find a recent one).
The xacro file will be built into a similar test that uses the xacro -> urdf -> sdf pipeline, it could be left out of the merge until I finish it, or I could finish it first.