Closed CodingCatMountain closed 1 year ago
Hey, Sir @AlexanderFabisch . I have create a PR about this problem. I hope I can help to address this problem.
@CodingCatMountain Do you have a specific example that fails? What is execution_time, dt, etc.?
OK, execution_time=6.0 and dt=0.01 seems to trigger the error.
Should be fixed with #20. Let us know if anything is missing!
Hi, this package is very very very good, it do really help me to learn about the Learn from Demonstrations. But last night, I find a problem about
open_loop
, which is function included in theCartesianDMP
class. The problem is the length about the python list, which namedYr
in this function. And I have checked the source code, I found : MyY
, which is passed tocartesian_dmp.imitate(T,Y)
, it's length is 600; AndYp
inCartesianDMP.open_loop()
, which returned bydmp_open_loop
, it's length is 600, which are correct, but the lengthYr
inCartesianDMP.open_loop()
is 601. I believe the relationship aboutT
anddt
indmp_open_loop()
anddmp_open_loop_quaternion()
has some problem. Please Check! TheT
indmp_open_loop()
is initialized via this way :T=np.arange(start_t, run_t + dt, dt)
, and theT
indmp_open_loop_quaternion()
is initialized via this way:T=[start_t]
, whichstart_t
is0.0
, and in a loop ,last_t = t
,t+=dt
,T.append(t)
.