-
Notifications
You must be signed in to change notification settings - Fork 527
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
Ports moveit/moveit/pull/3519 to ros2 #3055
Conversation
I'm a little confused about the errors I'm seeing in the pipeline:
I don't believe I've changed the fixtures for those tests, and the only changes I've made are adding a field to a fixture for other tests, populating that field in the test setup, and deleting some tests which are no longer relevant |
Ah, I think the issue is that the fixture I modified is the base fixture for all tests in that file. I'm instantiating a robot state using |
Oh although it does look like such a constructor exists:
@sjahr Would you be able to advise? |
Snippets from
and from TrajectoryFunctionsTestBase protected members:
|
I wonder if the issue is that it's trying to default construct a RobotState before |
Looks like that did the trick |
@sjahr Would you be free to take a look at this when free? I think the remaining failures are sporadic and / or unrelated as they are in different packages (gz_ros2_control and robotiq_driver respectively). Also, would it be possible to backport the fix to humble once merged (and could you explain what the process for doing so is?) Thanks! |
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.
Thanks for porting this over! Just some minor comments that don't block the merge. Just notify me if you're addressing them or we should just go ahead. Regarding the backport:
Since this doesn't break the API, I think we can easily do it. There's a github bot we're using for that and I will be active once this PR is merged. Tyler wrote a good summary of our current branch policies here: https://moveit.ai/moveit%202/ros/2023/05/31/balancing-stability-and-development.html
If you're interested
...ilz_industrial_motion_planner/include/pilz_industrial_motion_planner/planning_context_base.h
Show resolved
Hide resolved
...pilz_industrial_motion_planner/include/pilz_industrial_motion_planner/trajectory_generator.h
Show resolved
Hide resolved
...pilz_industrial_motion_planner/include/pilz_industrial_motion_planner/trajectory_generator.h
Show resolved
Hide resolved
@sjahr Thanks for the quick response! I think I'd like to get this merged ASAP if that's alright as we're currently blocked on failing LIN plans. If you could backport to humble too that'd be much appreciated. Just taking a look over that doc now. That moveit2_packages repository sounds awesome. I was imagining having to fork & build-from-source to test the fix in our stack 😀 |
* Ports moveit/moveit/pull/3519 to ros2 * Applies formatting * Fixes compilation errors * Fixes compilation errors * Fixes compilation errors * Fixes compilation errors * Replaces RobotState with pointer in tests * Fixes tests (cherry picked from commit 70e1aae) # Conflicts: # moveit_planners/pilz_industrial_motion_planner/include/pilz_industrial_motion_planner/planning_context_base.h # moveit_planners/pilz_industrial_motion_planner/src/trajectory_functions.cpp # moveit_planners/pilz_industrial_motion_planner/src/trajectory_generator.cpp # moveit_planners/pilz_industrial_motion_planner/test/unit_tests/src/unittest_trajectory_generator_circ.cpp # moveit_planners/pilz_industrial_motion_planner/test/unit_tests/src/unittest_trajectory_generator_lin.cpp
* Ports moveit/moveit/pull/3519 to ros2 * Applies formatting * Fixes compilation errors * Fixes compilation errors * Fixes compilation errors * Fixes compilation errors * Replaces RobotState with pointer in tests * Fixes tests (cherry picked from commit 70e1aae) # Conflicts: # moveit_planners/pilz_industrial_motion_planner/include/pilz_industrial_motion_planner/planning_context_base.h # moveit_planners/pilz_industrial_motion_planner/src/trajectory_functions.cpp # moveit_planners/pilz_industrial_motion_planner/src/trajectory_generator.cpp # moveit_planners/pilz_industrial_motion_planner/test/unit_tests/src/unittest_trajectory_generator_circ.cpp # moveit_planners/pilz_industrial_motion_planner/test/unit_tests/src/unittest_trajectory_generator_lin.cpp
Description
Ports moveit/moveit#3519 to ROS2. This may partially fix #2857 for the LIN planner
Checklist