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

Tests #4

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Tests #4

wants to merge 9 commits into from

Conversation

mohamedsayed18
Copy link
Owner

No description provided.

README.md Outdated

### Control in Gazebo
i followed this [tutorial](http://gazebosim.org/tutorials/?tut=ros_control)<br/>
this [repo](https://github.com/ros-simulation/gazebo_ros_demos.git) contain examples which they use in the above tutorial<br/>

### adding camera
i followed this [Tutorial: Using Gazebo plugins with ROS](http://gazebosim.org/tutorials?tut=ros_gzplugins)<br/>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove all build stuff. These files not needed to be in repo. And why camera PR is here too? Fix please.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

edited, but i don't know why some commits appear in the both PR (testes, camera)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:( and now 557 files are changed. And after merge you will not see files because you removed them. You see both changes because you created your branch based on camera branch, but should be based on master.

Copy link
Owner Author

@mohamedsayed18 mohamedsayed18 Nov 22, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i didn't notice that, i will try to make it work


def test_if_publishes(self):
rospy.init_node('listener', anonymous=True)
rospy.Subscriber("world", Float64, self.callback)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, seems you do not fully understand sense of integration testing.

@@ -0,0 +1,18 @@
#!/usr/bin/env python
import unittest
import rospy
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where are unit tests?

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.

2 participants