Robert Haschke
4886fc3f7b
Expose CostTerms to python
2022-12-11 17:39:55 +01:00
Robert Haschke
954089eae4
Merge PR #99 : Python API
...
... based on pybind11
2022-11-22 21:24:17 +01:00
Robert Haschke
4b9e85395d
Fix pre-commit: python formatting
2022-01-07 16:20:42 +01:00
Robert Haschke
86093be94a
Merge branch 'master' into wip-python-api
2022-01-07 16:20:00 +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
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
fc0abe9dd9
Merge branch 'master' into wip-python-api
2021-05-20 03:49:52 +02:00
Robert Haschke
f006ff7a37
Allow casting of PoseStamped from string
2021-05-19 23:04:44 +02:00
cpetersmeier
14e06659d5
Towards inherited classes in Python
2021-03-31 00:19:51 +02: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
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
7306878b9e
Merge branch master into wip-python-api
2020-09-07 23:18:20 +02:00
Robert Haschke
7d0daa6cd4
boost::python: provide generic converter for std::map
2020-01-11 07:55:31 +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
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
2f8ded2a4e
fixup! generalize Property conversion between C++ and Python
2018-10-29 18:00:49 +01:00
Robert Haschke
ed44c2cb33
adapt API: MoveRelative::setGoal -> setDirection
2018-10-25 03:27:10 +02:00
Robert Haschke
1b267768fa
cleanup type conversion
2018-10-18 10:00:45 +02:00
Robert Haschke
c9e735ded3
fix API to match MoveTo / MoveRelative stages
2018-10-17 01:18:39 +02:00
Robert Haschke
ea4b1e0c21
Properties: exposeTo(), configureInitFrom()
2018-10-17 01:18:39 +02:00
janEbert
3c77fd1325
add reference test for properties
2018-10-17 01:18:36 +02:00
Robert Haschke
4ac0b6e2c4
merge fixes
2018-10-16 23:22:10 +02:00
Robert Haschke
d3fdee9095
expose solutions, publish + execute
2018-06-03 13:03:41 +02:00
Robert Haschke
5e2bff59fc
cleanup Property access
2018-06-03 13:03:41 +02:00
Robert Haschke
d5c7bfb07e
cleanup
2018-06-03 13:03:41 +02:00
janEbert
2345b6c9a6
unit tests for all stages
2018-06-03 13:03:41 +02:00
Robert Haschke
09b9698e7b
add ROS unittest
2018-06-03 13:03:41 +02:00
janEbert
1f85b00e14
more wrappers, unittest, fixes
2018-06-03 13:03:41 +02:00
Robert Haschke
de9fa8405d
register ROS msg types with boost::python's type converters
2018-06-03 13:03:41 +02:00
Robert Haschke
f4ffccdc1f
handle std::unique_ptr<Stage>
...
Class holder needs to be a smart pointer, e.g. std::auto_ptr.
This can be released(), such that ownership can be passed.
Further, derived types need to be declared as implicitly_convertible to base type.
2018-06-03 13:03:41 +02:00
Robert Haschke
47a2a28698
cleanup, unittest for properties
2018-06-03 13:03:41 +02:00
Robert Haschke
ee13295c92
separate .core and .stages modules
2018-06-03 13:03:41 +02:00
Robert Haschke
f7ddd43d53
cleanup folder structure
2018-06-03 13:03:41 +02:00