From: Mark M. <mm...@ri...> - 2018-01-22 15:29:43
|
Hi Filippo, This was an oversight. I pushed a commit to Bitbucket and GitHub that fixes this: https://bitbucket.org/ompl/ompl/commits/7334815d9fd2a0dae4c7619f7dbbe7e671ed8936 (You will have to regenerate your python bindings.) I have attached a modified version of RigidBodyPlanning.py that shows how you can use this. It changes the control space from R^2 to a CompoundControlSpace with two copies of R. I am just curious, what kind of control space do you have that cannot be handled by RealVectorControlSpace? Best, Mark > On Jan 19, 2018, at 3:19 AM, Filippo Bertoncelli <fil...@gm...> wrote: > > hello everybody, is it possible to use a compound control space using python? > i've tried but it seems that i can't access the control value in the propagate function (in the demos compound state objects are accessed using the as() method, but "as" is a keyword in python and trying to use it as a method creates a syntax error) is there a way around this problem in python or i have to switch to c++? > Thanks > Filippo |