-
Notifications
You must be signed in to change notification settings - Fork 237
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
Simplify tests #849
Simplify tests #849
Conversation
e0340d7
to
fba56d2
Compare
This makes it easier to differentiate between ROS and test framework messages
Maybe this would be a good point to add the URSim log to the artifacts similar to UniversalRobots/Universal_Robots_Client_Library@9b695e3 |
ba3dc60
to
4e72386
Compare
That is not transferrable 100% - Because we start ursim from the test launch description the container is already dead when we want to copy out the logs. That is certainly solvable, but somewhat unrelated to restructuring the code. I'd prefer merging this now and adding that feature later on. |
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.
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.
Thank you @RobertWilbrandt This will make future test extensions much easier.
* Remove duplication of launch description in tests * Move launch and interfacing boilerplate to common file * Move all test logs to python logging This makes it easier to differentiate between ROS and test framework messages * Move waiting for a controller to test_common * Move robot starting to dashboard interface * Remove unused request definition (cherry picked from commit b28a870) # Conflicts: # ur_robot_driver/test/dashboard_client.py # ur_robot_driver/test/robot_driver.py
* Remove duplication of launch description in tests * Move launch and interfacing boilerplate to common file * Move all test logs to python logging This makes it easier to differentiate between ROS and test framework messages * Move waiting for a controller to test_common * Move robot starting to dashboard interface * Remove unused request definition (cherry picked from commit b28a870) # Conflicts: # ur_robot_driver/test/dashboard_client.py # ur_robot_driver/test/robot_driver.py # ur_robot_driver/test/urscript_interface.py
* Remove duplication of launch description in tests * Move launch and interfacing boilerplate to common file * Move all test logs to python logging This makes it easier to differentiate between ROS and test framework messages * Move waiting for a controller to test_common * Move robot starting to dashboard interface * Remove unused request definition (cherry picked from commit b28a870)
* Remove duplication of launch description in tests * Move launch and interfacing boilerplate to common file * Move all test logs to python logging This makes it easier to differentiate between ROS and test framework messages * Move waiting for a controller to test_common * Move robot starting to dashboard interface * Remove unused request definition (cherry picked from commit b28a870)
* Remove duplication of launch description in tests * Move launch and interfacing boilerplate to common file * Move all test logs to python logging This makes it easier to differentiate between ROS and test framework messages * Move waiting for a controller to test_common * Move robot starting to dashboard interface * Remove unused request definition (cherry picked from commit b28a870) Co-authored-by: RobertWilbrandt <[email protected]>
* Simplify tests (#849) * Remove duplication of launch description in tests * Move launch and interfacing boilerplate to common file * Move all test logs to python logging This makes it easier to differentiate between ROS and test framework messages * Move waiting for a controller to test_common * Move robot starting to dashboard interface * Remove unused request definition (cherry picked from commit b28a870) * Add UR30 --------- Co-authored-by: RobertWilbrandt <[email protected]> Co-authored-by: Felix Exner <[email protected]>
Our runtime tests have accumulated quite a bit of duplicated code for starting the driver and interfacing with ROS interfaces. Before adding more tests (MoveIt, mock_hardware, ...) this should get refactored and cleaned up.