Robert Haschke
d90b566b08
GeneratePlacePose: Remove property "ik_frame" from stage
...
- Instead, set ik_frame property on solution from passed object (frame).
- Allow subframes to be used as "object" frames
2022-03-03 10:50:30 +01:00
Robert Haschke
0dffefd6ae
Cleanup pickplace.py
2022-03-03 10:50:30 +01:00
Robert Haschke
d408d73018
Fix ComputeIK demo
2022-03-03 10:50:30 +01:00
Robert Haschke
ca38d11303
Enable InterfaceState's copy operator
2022-02-02 20:51:58 +01:00
Robert Haschke
4b9e85395d
Fix pre-commit: python formatting
2022-01-07 16:20:42 +01:00
Robert Haschke
b28290c5b9
Rework doc for properties.cpp
...
- Use simple description strings
Only for multi-line doc strings, use C++11 raw string syntax `R"(...)"`
- Auto-generate signature
- Name arguments via `py::arg()`
2022-01-07 16:20:42 +01:00
Robert Haschke
11686468ad
Update rosdoc + sphinx config
2022-01-07 16:20:42 +01:00
Robert Haschke
cfcc7ba112
Improve top-level descriptions
2022-01-07 16:20:42 +01:00
Robert Haschke
603e337c77
fix typo
2022-01-07 16:20:42 +01:00
Robert Haschke
d732bfe3eb
Fix demo/scripts/fixed_state.py
2022-01-07 16:20:42 +01:00
cpetersmeier
0fbdfbc818
mwe examples for core classes
2022-01-07 16:20:42 +01:00
cpetersmeier
1b1dadb94a
core python docs
...
- add python docs to core classes
- rework whats included in the docs and what not
2022-01-07 16:20:42 +01:00
cpetersmeier
31577c10c0
add further examples for basic stages
...
- create more granular mwe examples as reference material
in the documentation
2022-01-07 16:20:42 +01:00
cpetersmeier
923022c13b
stages docs and bindings
...
- pybind bindings for all the examples
- correctly format docstrings
2022-01-07 16:20:42 +01:00
cpetersmeier
d6f1b69474
add demo pickplace example script
2022-01-07 16:20:42 +01:00
cpetersmeier
f7c2fadde6
core docs, mwe monitoring generator
2022-01-07 16:20:42 +01:00
cpetersmeier
65bc0a8703
expand core docs, add detailed examples
2022-01-07 16:20:42 +01:00
cpetersmeier
4f53663756
add docstrings and mwe's
2022-01-07 16:20:42 +01:00
cpetersmeier
5207a8b2b5
comply to google format + add docstrings
2022-01-07 16:20:42 +01:00
cpetersmeier
0e7f2d5981
add docstrings, custom signatures
2022-01-07 16:20:42 +01:00
cpetersmeier
d1c947c973
add python docstrings
2022-01-07 16:20:42 +01:00
cpetersmeier
136c5c425e
sphinx configuration
...
- Remove warning, originating from intersphinx configuration.
- Add .rst files for the api documentation.
2022-01-07 16:20:42 +01:00
Robert Haschke
a08face4a0
Fixup: Provide wrapper for moveit::core::MoveItErrorCode
2022-01-07 16:20:04 +01:00
Robert Haschke
86093be94a
Merge branch 'master' into wip-python-api
2022-01-07 16:20:00 +01:00
Robert Haschke
b2c990b675
core: export rviz_marker_tools dependency
2022-01-07 14:35:15 +01:00
Robert Haschke
c7b2067b86
Merge PR #309 : Fix Pruning
2022-01-05 20:19:51 +01:00
Robert Haschke
5956e70956
Merge PR #311 : fix Fallbacks
2022-01-05 19:49:38 +01:00
Robert Haschke
4cc1f567d6
FallbacksPrivateConnect
...
Implement Fallbacks behavior for children of type Connecting.
All other connect-like children are currently infeasible to handle,
because we cannot forward a single job, i.e. a pair (from, to)
to the next child, but only individual states.
However, passing states, will cause creation of undesired state pairs
as jobs in subsequent children.
2022-01-05 18:16:34 +01:00
Robert Haschke
7a04a9f603
ParallelContainerBasePrivate::propagateStateTo*All*Children
...
rename method to emphasize that state updates are propagated to all children
2022-01-05 16:45:57 +01:00
Robert Haschke
986d3c8766
FallbacksPrivateCommon: shared between Generator + Propagator
2022-01-05 16:45:57 +01:00
Robert Haschke
b82b70ed64
FallbacksPrivate::nextChild()
...
... factoring out functionality shared between FallbacksPrivateGenerator
and FallbacksPrivatePropagator to switch to next child in nextJob().
2022-01-05 16:37:46 +01:00
Robert Haschke
7af3d8ebd7
Improve readability
2022-01-05 16:37:46 +01:00
Robert Haschke
b2c116edab
reset(new Interface()) -> std::make_shared<Interface>()
2022-01-05 16:37:46 +01:00
Robert Haschke
442d39ad3e
Improve comments
2022-01-05 16:37:46 +01:00
Robert Haschke
b2056745a8
Generalize connectStageInsideFallbacks
...
Let's consider the following simple situation, where generators produce solutions in the given order.
GEN 1 3
Fallbacks |X
GEN 2 4
When passing state 4 to the Fallbacks' connector, it forms pending pairs with both 1 and 3.
Thus, the container needs to check whether 1-4 or 3-4 was processed when receiving a success or failure,
to correctly forward the failed one to the next child.
2022-01-05 16:37:46 +01:00
Robert Haschke
184fab8e0a
GeneratePlacePose: add property 'allow_z_flip'
2022-01-04 15:58:19 +01:00
Robert Haschke
9630f4d789
ComputeIK: Improve markers
...
- always provide eef markers (also in case of success)
- tint failures in red
- use different names for "ik frame" and "target frame" markers
- reduce code duplication
2022-01-04 15:57:34 +01:00
Robert Haschke
91fe791bdb
Add comment
2022-01-04 15:12:06 +01:00
Robert Haschke
72510818c8
Export libmoveit_python_tools.so
2022-01-04 15:11:23 +01:00
Jafar Abdi
7dbe0b87e1
Return MoveItErrorCode from task::plan ( #319 )
...
... to know whether the plan failed due to timeout, preemption, or actual planning failure
2022-01-02 15:32:37 +01:00
Michael Görner
f9c0a894f9
Merge pull request #320 from v4hn/pr-master-fix-move-rel-ikframe
...
Fix using IKFrame with MoveRelative
2021-12-20 10:40:12 +01:00
v4hn
84f96ec74c
MoveRelative: Interpret direction relative to IKFrame
...
bugfix
2021-12-20 10:19:52 +01:00
v4hn
191ff253fd
add tests for MoveRelative
2021-12-20 10:19:52 +01:00
Robert Haschke
4be448641f
Improve debug output
...
- printChildrenInterfaces(): fix/add usage
- printPendingPairs(): full colorization according to status
2021-11-28 18:28:20 +01:00
Robert Haschke
0587129916
CI: asan with debug symbols
2021-11-25 22:02:21 +01:00
Robert Haschke
b4a9e2033d
Stage::reset() should reset total_compute_time_ ( #310 )
2021-11-25 19:47:00 +03:00
Robert Haschke
e296bd7aed
Simplify: job_has_solutions_
...
Just set a flag when we received a full solution
2021-11-25 07:37:28 +01:00
Robert Haschke
7237e81547
Rework FallbacksPrivate*
...
Further factorize and simplify FallbacksPrivate classes employing ideas from @v4hn.
The key difference between the variants his how they advance to the next job.
Thus, the only virtual method required is nextJob().
2021-11-25 07:36:32 +01:00
Robert Haschke
070c6e9ab6
Disable failing test FallbacksFixtureConnect.connectStageInsideFallbacks
...
... as we are now missing the implementation for CONNECT interfaces
2021-11-25 07:35:28 +01:00
Robert Haschke
8dd8022ef9
Factorize implementation of FallbacksPrivate into 3 classes
2021-11-24 21:17:49 +01:00