Skip to content

Enhance testing framework and add integration tests #136

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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

MaxWaterhout
Copy link
Collaborator

@MaxWaterhout MaxWaterhout commented May 6, 2025

Description

  • Adds core and full integration tests for the franka robot.
  • Adds a singleton node for testing that create testing actionclients, subscribers and publishers
  • Adds ros-humble-launch-testing-examples as dev package. This for the waitfornodes, to wait for the moveit node to start for testing.
  • Adds simulation_arg.declaration to controllers.launch because otherwise this launch file does not work independently.
  • Adds the option for an empty world in gazebo as option in the launch.

Fixes: #129

Testing

In simulation the tests also work. Not yet tested on the real robot.

Documentation

  • I have updated the documentation (if necessary)

In the workflow is it already written that we have pytest in our flow. Also in the PR template testing is now mentioned.

Additional information

I have defined some variables for testing for example tolerance and time to wait. This can also change in the future.

@MaxWaterhout MaxWaterhout force-pushed the 129-writing-tests-gripper branch 3 times, most recently from 1b3c6b3 to 6bfe6d0 Compare May 8, 2025 15:18
Max Waterhout added 3 commits May 9, 2025 08:42
- Added new integration tests for the Franka robot
- Introduced utility functions
- Updated launch files to include necessary arguments for simulation.
- Included additional ROS packages in the installation script.

Signed-off-by: Max Waterhout <max.waterhout@soprasteria.com>
…r places. Also added ruff and changed some parts of test_utils.

Signed-off-by: Max Waterhout <max.waterhout@soprasteria.com>
… to open and to actually open the fingers

Signed-off-by: Max Waterhout <max.waterhout@soprasteria.com>
@MaxWaterhout MaxWaterhout force-pushed the 129-writing-tests-gripper branch from 6bfe6d0 to a06c798 Compare May 9, 2025 06:43
@MaxWaterhout MaxWaterhout requested a review from Jelmerdw May 9, 2025 07:50
…nd open gripper service to give time to close the gripper.

Signed-off-by: Max Waterhout <max.waterhout@soprasteria.com>
@MaxWaterhout MaxWaterhout self-assigned this May 9, 2025
@MaxWaterhout MaxWaterhout linked an issue May 9, 2025 that may be closed by this pull request
Max Waterhout added 2 commits May 9, 2025 12:13
…n integration tests

Signed-off-by: Max Waterhout <max.waterhout@soprasteria.com>
@MaxWaterhout MaxWaterhout marked this pull request as ready for review May 9, 2025 12:59
@MaxWaterhout MaxWaterhout reopened this May 9, 2025
Max Waterhout added 3 commits May 13, 2025 08:58
WIP
Signed-off-by: Max Waterhout <max.waterhout@soprasteria.com>
Signed-off-by: Max Waterhout <max.waterhout@soprasteria.com>
…st folder

Signed-off-by: Max Waterhout <max.waterhout@soprasteria.com>
@MaxWaterhout MaxWaterhout requested a review from Jelmerdw May 16, 2025 06:11
…e with instant 0's instead of None

Signed-off-by: Max Waterhout <max.waterhout@soprasteria.com>
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.

Writing tests for franka in simulation
2 participants