ss.getSolutionPath().asGeometric().printAsMatrix()
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 713
- Avg merge
- 9d 12h
- Merged PRs (30d)
- 2
Description
Hi,
I am running the Demo RigidBodyPlanningWithODESolverAndControls.py
The solving process works well, but when plotting the result, an error occurred
TypeError: No to_python (by-value) converter found for C++ type: ompl::geometric::PathGeometric
This error is located at line 115:
print("Found solution:\n%s" % ss.getSolutionPath().asGeometric().printAsMatrix())
I have tried to update the python-binding, which seems not to be the cause of this issue.
If the code is changed into
print("Found solution:\n%s" % ss.getSolutionPath().printAsMatrix())
Matrix can be plotted but does it have geometric meaning in this case?
Thanks.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Demo RigidBodyPlanningWithODESolverAndControls.py at line 115 and reproduce the Python binding conversion error. Compare the asGeometric().printAsMatrix() call with the direct printAsMatrix() call, then inspect the related Python binding behavior. Done means the demo prints the intended geometric solution matrix without the TypeError, or clearly documents the correct call.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- robotics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100