Commit Graph

1396 Commits

Author SHA1 Message Date
Robert Haschke
8d7225d3b6 Connect: better document suppressing recursive loop 2022-03-04 15:01:19 +01:00
v4hn
6d104e837e polish: FixedState supports collision checking 2022-03-04 14:41:00 +01:00
v4hn
0a3dd3a314 properly set comment markAsFailure without prior comment 2022-03-04 14:39:53 +01:00
Robert Haschke
5310f9063a operator<< for Interface::Direction 2022-03-04 13:13:01 +01:00
Robert Haschke
ee7cec2aab FixedState: ignore_collisions=false
Check collisions for FixedState's scene and report failure if needed.
Optionally, disable the check via the property ignore_collisions=true.
2022-03-03 17:01:34 +01:00
Robert Haschke
6ffc508225 Finetune solvers documentation 2022-03-03 10:50:30 +01:00
Robert Haschke
e77fa83a42 Rework core documentation 2022-03-03 10:50:30 +01:00
Christian Petersmeier
9103af2704 Rework python documentation 2022-03-03 10:50:30 +01:00
Robert Haschke
95f24747b0 Pick+Place: Correctly configure forwarding of "pregrasp" property
... from Grasp to UnGrasp stage
2022-03-03 10:50:30 +01:00
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
Jafar Abdi
3a30e498bf
execute_task_solution_capability: check for canceling request before canceling the goal handle (#321) 2021-12-22 14:13:36 +01:00