|
From: Filippo B. <fil...@gm...> - 2018-01-22 15:57:19
|
hi mark, thanks for solving my issue and also for providing an example. in my planning problem i need a compound control space composed by a R^n real vector control space and a discrete control space it's a model for a polygonal prism being pushed from only one side at once (the discrete part is the side) thanks again Filippo Il giorno lun 22 gen 2018 alle ore 16:29 Mark Moll <mm...@ri...> ha scritto: > 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 > > > |