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
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
91fe791bdb
Add comment
2022-01-04 15:12:06 +01:00
Robert Haschke
ced362f5f6
Merge branch 'master' into wip-python-api
2021-06-11 09:57:55 +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
e3ee75dc16
Fix utf8 encoding
2021-06-10 12:06:22 +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
a204d94a19
Configure namespace package
2021-03-31 00:19:51 +02:00
Robert Haschke
5b4ca1d21a
Rename wrapper -> bindings
2021-03-31 00:19:51 +02:00
Robert Haschke
3cf92442fb
Simplify generation of pybind11 modules
...
* Install module libs into CATKIN_GLOBAL_PYTHON_DESTINATION (assuming unique names).
This avoids the need to link them into the source space, because they are found also from devel space.
* Use pybind11's def_submodule() to create the `core` and `stages` submodules,
everything linked into the same lib
2021-03-31 00:19:51 +02:00
Robert Haschke
d9b7aa37a3
clang-format python wrapping code
2021-03-31 00:19:51 +02:00
cpetersmeier
14e06659d5
Towards inherited classes in Python
2021-03-31 00:19:51 +02:00
cpetersmeier
6ab50fcc40
PythonWrapper: Use collective includes
2021-03-19 18:39:47 +01:00
Robert Haschke
1f5c684909
Simplify wrapper code
2021-03-19 18:39:47 +01:00
Robert Haschke
d7d54d828f
Access to container's children
2021-03-19 18:39:47 +01:00
Robert Haschke
fd25a0626a
auto-format python code with black
2021-03-19 18:39:44 +01:00
Robert Haschke
b2adcf0247
Python3 compatibility
2020-11-30 13:34:33 +01:00
Robert Haschke
c97b462024
migration: boost::python -> pybind11
2020-11-30 13:34:33 +01:00
Robert Haschke
8433e460e4
Merge branch 'master' into wip-python-api
2020-11-26 12:05:03 +01:00
cpetersmeier
012a10be25
StagesWrapper: Python Function Bindings
...
Add python bindings for
- SimpleGrasp::setIKFrame
- Pick::setApproachMotion
- Pick::setLiftMotion
2020-11-26 11:47:20 +01:00
cpetersmeier
ede5fe396f
StagesWrapper: Add std::map setGoal overload.
...
Adding a further overload of the `setGoal()` function that is exposed to
the python api. This should provide an interface for passing in dicts as
joint name and -angle configurations.
2020-10-21 16:45:05 +02:00
Robert Haschke
49b2ff8ce5
Test Merger
2020-09-22 11:06:34 +02:00
Robert Haschke
745d6739bd
fix typo
2020-09-22 11:06:01 +02:00
Robert Haschke
97e0b437f2
Silence -Wdeprecated-declarations due to std::auto_ptr
2020-09-07 23:18:43 +02:00
Robert Haschke
7306878b9e
Merge branch master into wip-python-api
2020-09-07 23:18:20 +02:00
Robert Haschke
f88bd8f54d
RosMsgConverter: ensure that python and C++ types match
2020-01-11 07:56:47 +01:00
Robert Haschke
5293d2ed27
simplify method overloads
2020-01-11 07:56:47 +01:00
Robert Haschke
7d0daa6cd4
boost::python: provide generic converter for std::map
2020-01-11 07:55:31 +01:00
Robert Haschke
fd9462c27f
Merge branch master into wip-python-api
2019-07-26 11:11:41 +02:00
Robert Haschke
874994bdb5
test packages are required
2019-07-12 09:35:48 +02:00
Robert Haschke
dd80c675fa
cannot use cmake generator expressions in COMMENT
2019-02-21 01:03:03 +01:00
Robert Haschke
36b63f0e35
fixup wrapping of solvers
...
- wrap JointInterPolationPlanner
- remove properties: group, timeout
- add actual planner properties
2019-02-21 01:01:33 +01:00
Robert Haschke
95d05ea05c
expose PropagatingEitherWay::restrictDirection()
...
fixup! expose PropagatingEitherWay::restrictDirectio()
2019-02-21 00:57:17 +01:00
janEbert
c59e41042f
Add test for all stages' PropertyMaps
...
Iterate over all stages and their properties to see check for missing conversion functions.
2018-10-29 18:00:49 +01:00
Robert Haschke
bb5b29d5fd
disable python default constructors for some classes
...
these classes do not yet handle nullptr as their argument
2018-10-29 18:00:49 +01:00
janEbert
00d5b00ec4
Provide default constructors for all stages
2018-10-29 18:00:49 +01:00