Repository navigation
run full demo as a test - #254
Conversation
044f393 to
122bf90
Compare
|
CI fails because the recent moveit_resources 0.7.2 release is not synced yet. Any idea when the next sync is scheduled? |
2324fec to
483e3fe
Compare
rhaschke
left a comment
There was a problem hiding this comment.
Sure, the demo should be run as a test as well. Maybe add expectations on the number of found solutions as in the other tests in core?
However, I get crashes locally for both pick_place_demo:
terminate called after throwing an instance of 'std::runtime_error'
what(): The robot model of the planning pipeline isn't the same as the task's robot model -- use Task::setRobotModel for setting the robot model when using custom planning pipeline
and pick_place_test:
#0 0x7f8f541f27ed in ros::Publisher::~Publisher() (/opt/ros/noetic/lib/libroscpp.so+0xdd7ed)
#1 0x7f8f552dc03d in planning_pipeline::PlanningPipeline::~PlanningPipeline() /vol/sandbox/ros/src/moveit/moveit_ros/planning/planning_pipeline/include/moveit/planning_pipeline/planning_pipeline.h:55
...
#9 0x7f8f552e0adb in moveit::task_constructor::solvers::PipelinePlanner::~PipelinePlanner() /homes/rhaschke/src/ros/src/moveit/mtc/core/include/moveit/task_constructor/solvers/pipeline_planner.
However, GHA is happy (at least with the test)?!? I don't understand what'ts wrong with my local workspace. It was built from scratch! Unfortunately, I don't have time to investigate further.
|
Do you want to fix your local system before getting this merged? |
|
Did you try to run the pick+place demo as well? |
Running that would have helped multiple times before. Also simplify/streamline code in various places.
pick_place_demo ~ pick_place_test
Otherwise, dependency issues arise: make[2]: *** No rule to make target 'CMakeFiles/pick_place_task.dir/src/pick_place_task.cpp.o', needed by 'devel/lib/moveit_task_constructor_demo/pick_place_test'. Stop. and linking OBJECT libs via target_link_libraries is available since cmake 3.12 only.
I believe this is what you mean? Locally, I run this on my Lunar-Linux machine though.
I prefer to leave out checks on the number of solutions for more complex tasks as they are also affected by compile options/computational resources/... The test checks for at least one solution which is sufficient for me. |
Codecov Report
@@ Coverage Diff @@
## master #254 +/- ##
===========================================
+ Coverage 35.33% 51.86% +16.53%
===========================================
Files 97 101 +4
Lines 6247 6565 +318
===========================================
+ Hits 2207 3404 +1197
+ Misses 4040 3161 -879
Continue to review full report at Codecov.
|
No. I meant (as stated in the actual tutorial - sorry for the confusion): |
rhaschke
left a comment
There was a problem hiding this comment.
Just tested again locally and today it works. No idea what was the problem the other day.
Running that would have helped multiple times before.
Also simplify/streamline code in various places.