v4hn
5d9efc3b2b
fallback tests: use fixture
2021-09-20 14:42:26 +02:00
v4hn
001eadaf3d
move fallback to separate test
2021-09-20 14:42:20 +02:00
v4hn
14380c5552
add another test to cover both cases for failing children
2021-09-20 14:42:14 +02:00
v4hn
3244ac92b1
disable ConnectStageInsideFallbacks
...
This should work, but will require more changes.
2021-09-20 14:42:08 +02:00
Robert Haschke
c6cdd1a970
Fix test Fallback.ActiveChildReset
2021-09-20 14:41:51 +02:00
j-kuehn
f6eadb3fc4
add unit tests for Fallbacks container
2021-09-20 14:41:42 +02:00
Robert Haschke
d0ab3c3703
Improve readability of internal-external bimap using tags ( #293 )
2021-09-16 13:52:34 +02:00
Robert Haschke
639481726e
Update main scene node's pose on updates of robot's model frame ( #292 )
2021-09-15 15:09:43 +02:00
Michael Görner
4e3ff57926
switch CI ccov job to Debug build ( #290 )
...
To provide accurate coverage information.
It was originally RelWithDebInfo because MoveIt uses it
and Travis's timeout would kick in with the old setup.
According to Robert the timeout should not be a problem anymore with
the GHA ci setup. Actually I don't think the timeout was ever a problem for MTC,
but the config was just copied.
2021-09-06 23:05:29 +02:00
v4hn
06b3df9c30
split assert
...
so that it becomes obvious which condition triggered it.
2021-09-01 14:53:52 +02:00
v4hn
fa8d21741c
print debug message in runCompute
...
so that it prints from all containers
2021-09-01 14:53:14 +02:00
v4hn
f51f6eb982
address interface changes for object poses in MoveIt
...
Also include a check for the new object pose field in `Connecting::compatible()`.
2021-08-23 00:33:37 +02:00
v4hn
0273aec83e
remove dirty MOVEIT_MASTER-check
...
... in favor of checking version numbers.
Checking for one header was used for multiple independent things.
In theory we could do exact feature testing instead of using the next release number,
but in practice nobody cares about the individual commits between older releases.
2021-08-23 00:06:42 +02:00
v4hn
6b4eae9d51
ComputeIK: spawn failures with correct states
...
Otherwise all failures look correct in the introspection.
That was a stupid oversight at some point.
2021-08-21 22:15:21 +02:00
v4hn
ff86217f9a
do not modify scene in isTargetPoseColliding
...
Especially, do not create a custom scene at all.
The method only affects a RobotState.
Fixes https://github.com/ros-planning/moveit_task_constructor/issues/209
2021-08-21 22:15:12 +02:00
v4hn
74d33c4ec0
Merge different mockup implementations
...
Co-authored-by: Jascha Kühn <57101356+j-kuehn@users.noreply.github.com>
2021-07-07 14:25:42 +02:00
v4hn
4b1f240c21
test_container: correctly initialize robot_model
...
The local mocks do not care, but leaving a dangling nullptr
leads to segfaults with refactoring/new tests. :-)
2021-07-07 14:25:42 +02:00
v4hn
062c127b86
better API comments for StageCallback
2021-06-15 09:49:05 +02:00
Captain Yoshi
64b65e4eca
GenerateGraspPose: Handle RobotState.msg as pregrasp property ( #275 )
...
Co-authored-by: v4hn <me@v4hn.de>
2021-06-15 07:51:18 +02:00
Robert Haschke
ced362f5f6
Merge branch 'master' into wip-python-api
2021-06-11 09:57:55 +02:00
Robert Haschke
4aeab27ba3
Fix placement of Panel widget
...
Since #1611 and 41d62f5749b05c68131b752c605191518eaf19d5,
the floating argument for panels is correctly handled.
Here, we don't want the panel to be floating.
2021-06-11 09:52:17 +02:00
Robert Haschke
244c999514
Skip some python tests on incompatible pybind11 versions
...
If MoveIt and MTC use incompatible versions of pybind11, the tests
will fail because MoveIt objects like RobotModel or PlanningScene
cannot be passed to MTC objects and vice versa.
2021-06-10 19:31:05 +02:00
Robert Haschke
3457c91ff2
GHA: lsan.suppressions
2021-06-10 12:08:46 +02:00
Robert Haschke
e3ee75dc16
Fix utf8 encoding
2021-06-10 12:06:22 +02:00
Robert Haschke
5dacc85ff9
Fix warning: control reaches end of non-void function
2021-06-10 07:35:09 +02:00
v4hn
f95fcf17b4
include OGRE headers via SYSTEM
2021-06-08 12:17:16 +02:00
v4hn
0e40b464ec
support TYPED_TEST_SUITE
...
Get rid of deprecation warning if new variant exists.
2021-06-04 14:19:52 +02:00
v4hn
1f51124ae5
add missing virtual destructor to CostTerm
...
Correctly pointed out by the clang-tidy CI.
2021-06-04 14:19:52 +02:00
v4hn
9d53987e53
satisfy clang-tidy & -Werror -Wall -Wextra
2021-06-04 14:19:52 +02:00
v4hn
924e733a42
use clang for clang-tidy job
...
And add warnings for gcc AND clang builds (as they can differ slightly).
Clang does not support -Wused-but-set-parameter yet, though
support is [on the way](https://reviews.llvm.org/D100581 ).
So this gets rid of this warning we see in CI:
> error: unknown warning option '-Wno-unused-but-set-parameter'; did you mean '-Wno-unused-parameter'?
2021-06-04 14:19:52 +02:00
Robert Haschke
437cc550f2
Add missing semicolons after cleanup of MoveIt
2021-05-29 00:38:43 +02:00
Robert Haschke
dce740fdfe
CI: fixup asan job
...
Need to preload libasan.so.5 for move_group node, because it loads a sanitized plugin.
2021-05-29 00:38:43 +02:00
Michael Görner
84d668b0d5
Split ClassLoader plugin code from main libraries ( #271 )
...
to work around https://github.com/ros/class_loader/issues/131
2021-05-29 00:38:02 +02:00
Michael Görner
ff4eb4edf1
Run pick+place demo as a unit test ( #254 )
2021-05-28 00:44:27 +02:00
v4hn
059a939203
Fix test: correctly reset Interface
2021-05-28 00:20:07 +02:00
v4hn
58b1a020b5
Fix memory leak in unit test
2021-05-28 00:19:45 +02:00
Robert Haschke
f070247a25
Fix compiler warnings
2021-05-27 22:24:29 +02:00
Robert Haschke
f5022cc1d4
GHA: check for warnings + address sanitizer
2021-05-27 22:24:23 +02:00
j-kuehn
67fe4faa30
allow to consider specific joints only in cost terms
2021-05-25 15:47:18 +02:00
Robert Haschke
81fae53009
PyMonitoringGenerator
2021-05-21 12:20:54 +02:00
Robert Haschke
9f7139f376
Fix names of trampoline classes
...
Using template names T is not a good idea, because this name is used
verbatim for some error reporting, resulting e.g. in:
Tried to call pure virtual function "T::canCompute"
2021-05-21 11:40:12 +02:00
Robert Haschke
0967aa808b
Update pybind11 submodule
2021-05-21 01:55:39 +02:00
Robert Haschke
1e7fe85573
smart_holder: conservative mode
...
... to become compatible with classical pybind11 modules, e.g. the MoveIt packages
2021-05-21 01:55:39 +02:00
Robert Haschke
7d0b6da04f
Generator::spawn()
2021-05-21 01:55:39 +02:00
Robert Haschke
a03ea5a4a9
Use pybind11's smart_holder branch
2021-05-20 03:56:47 +02:00
Robert Haschke
defe144b55
Use py:overload_cast<>()
2021-05-20 03:52:32 +02:00
Robert Haschke
fc0abe9dd9
Merge branch 'master' into wip-python-api
2021-05-20 03:49:52 +02:00
Robert Haschke
3c286b2226
Augment license/disclaimer
2021-05-19 23:04:44 +02:00
Robert Haschke
f006ff7a37
Allow casting of PoseStamped from string
2021-05-19 23:04:44 +02:00
Robert Haschke
84ccd679d9
Fix compiler warnings
...
unused parameters and functions
2021-05-19 21:54:48 +02:00