Skip to content
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

Closed

Conversation

lucasw
Copy link
Contributor

@lucasw lucasw commented Apr 9, 2016

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.

…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.
@lucasw lucasw changed the title Rapid projector toggle Rapid projector toggle rostest Apr 9, 2016
@lucasw lucasw changed the title Rapid projector toggle rostest [gazebo_plugins] Rapid projector toggle rostest Apr 12, 2016
@scpeters scpeters added this to the untargeted milestone Apr 25, 2016
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
Copy link
Contributor

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.

@j-rivero
Copy link
Contributor

j-rivero commented Jul 1, 2016

Thanks for the contribution Lucas. Could you please fix the conflicts when you have some time?

@ahcorde
Copy link
Contributor

ahcorde commented Nov 22, 2022

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.

@ahcorde ahcorde closed this Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants