robotic 0.3.1.dev3__cp310-cp310-manylinux2014_x86_64.whl → 0.3.2__cp310-cp310-manylinux2014_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of robotic might be problematic. Click here for more details.

robotic/_robotic.pyi CHANGED
@@ -72,10 +72,18 @@ class BSpline:
72
72
  """
73
73
  non-initialized
74
74
  """
75
+ def append(self, points: arr, times_rel: arr, inside: bool = False) -> None:
76
+ """
77
+ appends points to the current spline; times_rel become relative to the current last knot; inside = remove the current end double knot (zero vel), smoothly blending but not transitioning anymore through the current end point
78
+ """
75
79
  def eval(self, sampleTimes: arr, derivative: int = 0) -> arr:
76
80
  """
77
81
  evaluate the spline (or its derivative) for given sampleTimes
78
82
  """
83
+ def eval3(self, time: float) -> arr:
84
+ """
85
+ evaluate the spline pos, vel, acc (3xn matrix) at a single time
86
+ """
79
87
  def getBmatrix(self, sampleTimes: arr, startDuplicates: bool = False, endDuplicates: bool = False) -> arr:
80
88
  """
81
89
  return the B-matrix mapping from ctrlPoints to (e.g. finer) sampleTimes (e.g. uniform linspace(0,1,T)
@@ -84,6 +92,14 @@ class BSpline:
84
92
  ...
85
93
  def getKnots(self) -> arr:
86
94
  ...
95
+ def overwriteSmooth(self, points: arr, times_rel: arr, time_cut: float) -> None:
96
+ """
97
+ overwrites the spline by adopting the pos+vel at time_cut of the current spline and appending given points; NOTE: times_rel are added to time_cut)
98
+ """
99
+ def set(self, degree: int, points: arr, times: arr, setStartVel: arr = ..., setEndVel: arr = ...) -> BSpline:
100
+ """
101
+ convenience: same as setKnots(degree, times) and setCtrlPoints(points, true, true, startVel, endVel)
102
+ """
87
103
  def setCtrlPoints(self, points: arr, addStartDuplicates: bool = True, addEndDuplicates: bool = True, setStartVel: arr = ..., setEndVel: arr = ...) -> None:
88
104
  """
89
105
  set the ctrl points, automatically duplicating them as needed at start/end, optionally setting vels at start/end
robotic/_robotic.so CHANGED
Binary file
@@ -40,7 +40,7 @@ struct BSplineCtrlReference : ReferenceFeed {
40
40
  //info:
41
41
  double getEndTime() { return spline.get()->end(); }
42
42
  arr getEndPoint() { return spline.get()->ctrlPoints[-1].copy(); }
43
- void eval(arr& x, arr& xDot, arr& xDDot, double t) { spline.get()->eval2(x, xDot, xDDot, t); }
43
+ void eval(arr& x, arr& xDot, arr& xDDot, double t) { spline.get()->eval3(x, xDot, xDDot, t); }
44
44
 
45
45
  void report(double ctrlTime);
46
46
  };
@@ -29,27 +29,23 @@ struct BSpline {
29
29
  arr getBmatrix(const arr& sampleTimes, bool startDuplicates=false, bool endDuplicates=false);
30
30
 
31
31
  //-- methods concerning ctrl points
32
- void setCtrlPoints(const arr& pts, bool addStartDuplicates=true, bool addEndDuplicates=true, const arr& setStartVel=NoArr, const arr& setEndVel=NoArr);
33
- void append(const arr& points, const arr& times, bool inside);
32
+ void setCtrlPoints(const arr& points, bool addStartDuplicates=true, bool addEndDuplicates=true, const arr& setStartVel=NoArr, const arr& setEndVel=NoArr);
34
33
 
35
34
  //-- convenience user functions
36
35
  BSpline& set(uint _degree, const arr& points, const arr& times, const arr& startVel=NoArr, const arr& endVel=NoArr);
36
+ void overwriteSmooth(const arr& points, const arr& times_rel, double time_cut);
37
+ void append(const arr& points, const arr& times_rel, bool inside);
37
38
  void clear();
38
39
  arr& getKnots(){ return knots; }
39
40
  arr& getCtrlPoints(){ return ctrlPoints; }
40
41
  arr getPoints();
41
42
 
42
- //-- obsolete
43
- // BSpline& set_vel(uint degree, const arr& points, const arr& velocities, const arr& _times);
44
-
45
-
46
43
  //experimental
47
44
  void doubleKnot(uint t);
48
45
  void setDoubleKnotVel(int t, const arr& vel);
49
46
 
50
47
  /// core method to evaluate spline
51
- // void eval(arr& x, arr& xDot, arr& xDDot, double t) const;
52
- void eval2(arr& x, arr& xDot, arr& xDDot, double t, arr& Jpoints=NoArr, arr& Jtimes=NoArr) const;
48
+ void eval3(arr& x, arr& xDot, arr& xDDot, double t, arr& Jpoints=NoArr, arr& Jtimes=NoArr) const;
53
49
  arr eval(double t, uint derivative=0) const;
54
50
  arr eval(const arr& sampleTimes, uint derivative=0) const;
55
51
 
robotic/librai.so CHANGED
Binary file
robotic/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = '0.3.1.dev3'
1
+ __version__ = '0.3.2'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robotic
3
- Version: 0.3.1.dev3
3
+ Version: 0.3.2
4
4
  Summary: Robotic Control Interface & Manipulation Planning Library
5
5
  Home-page: https://github.com/MarcToussaint/robotic/
6
6
  Author: Marc Toussaint
@@ -1,8 +1,8 @@
1
1
  robotic/DataGen.pyi,sha256=qDQjATpbIgFvOrWk7F3ZTVbOuyXjT5nwHxrsRfGxWRU,3716
2
2
  robotic/__init__.py,sha256=H8Qi-wA95h6SuziEFNZFEt6Tpt5UrttS9ftBjZCsMm4,421
3
- robotic/_robotic.pyi,sha256=r9jK_izrLOBM9mzXfjlD7KX9T3_1bZ7X9XmOc6OTF40,76013
4
- robotic/_robotic.so,sha256=_aa3r6moZ7JFTS8w-iGwDQYsjZUiwL7kRvUozMmVJps,1242920
5
- robotic/librai.so,sha256=34ir07GEF4Sm9yx8hCqWD7CGbgq_7NReaREfEldeKjQ,38758816
3
+ robotic/_robotic.pyi,sha256=gr5_H1AoXHl6fbJqoseQRs5Iiue59qa3HBKVUSW6X08,76998
4
+ robotic/_robotic.so,sha256=H7Vdco5M7-owEawia597fUvlZDim0Xt3sjhLur1x_BE,1259304
5
+ robotic/librai.so,sha256=SuIUWB7bLk-2iTy7SfXWGrHIdn1GXLZ4abjqoXdku6c,38758816
6
6
  robotic/manipulation.py,sha256=0B7UzU9J7b4f19thz67TbvknoncxffQEMHSBB6ez1Jg,22279
7
7
  robotic/meshTool,sha256=kYLO2HPXn8nj98Qx-MIvJYpkFzOk2zY9-d30DgFZT80,52176
8
8
  robotic/mujoco-import.py,sha256=8eC8ldlFwnYQfqII3FVdWEQ7zd1PkSdAF-oyryIQtkY,231
@@ -17,10 +17,10 @@ robotic/ry-urdfConvert.py,sha256=8Efnq3PU202rrZrVEZiGwzFOJdvrLjTJ2q-gnY6-tiU,255
17
17
  robotic/ry-view,sha256=T1Omn1QS7cNAtjQhBjMJTNz7aW5FgoOf9vBIfW0mFME,613
18
18
  robotic/test.py,sha256=8hiDRB2kB37hE5cZ7h26AJDnSGYb1y8DwOrcEGD_5Hc,620
19
19
  robotic/test.pyi,sha256=vVxwRSerjUG4bpB7pIhof7ZatrBqwg3Bj5voywa-YTI,917
20
- robotic/version.py,sha256=8A91eHxAjFgTiNMg1NxW5Q6-QleQmDkpOEKoXwnRqq0,27
20
+ robotic/version.py,sha256=bqu4G7Is-8Were-hMi-SthEalL7QW-PAbKWGZ9pVB6U,22
21
21
  robotic/include/rai/Algo/MLcourse.h,sha256=TGkAJWC5ollGfPw0-gcYL0TZeDJiHtWFzkHSMK8_lqU,1828
22
22
  robotic/include/rai/Algo/RidgeRegression.h,sha256=VXiv6-xr3j--CN7DJTzUg9Xb49zV9FZ9dwzxP1CmcPM,3730
23
- robotic/include/rai/Algo/SplineCtrlFeed.h,sha256=9ZtYLHXx9sExj0lZV6F5ZWaCtkm0R4hMiYb-KJjktnc,3339
23
+ robotic/include/rai/Algo/SplineCtrlFeed.h,sha256=yILBoUh9Ce0YtzGVZeAKmdUqsf0xeCGjXGC8bXNzZ3o,3339
24
24
  robotic/include/rai/Algo/ann.h,sha256=XCQSzJIg_cPzZBKgIJMuHvBLc3ayD1FzSFqh2s_1TnM,1294
25
25
  robotic/include/rai/Algo/dataNeighbored.h,sha256=NfwS4xJElLxX8t5cYY3xiTLXgJyMsHoaD-J0kT2GXqE,1208
26
26
  robotic/include/rai/Algo/eigenValues.h,sha256=U76I5DT_WO_o7k-W3qYt2exc0WCpw4yYjR8WCqxGBv4,942
@@ -31,7 +31,7 @@ robotic/include/rai/Algo/kalman.h,sha256=c3i6ebYHZtyT5ReTmpJVx8aJ26JWLymqK_QRDY4
31
31
  robotic/include/rai/Algo/minimalSpanningTree.h,sha256=56zTSWdMi4TMjtQDVv7tHo4ahivfidTXWN4zp9NX-Jw,512
32
32
  robotic/include/rai/Algo/priorityQueue.h,sha256=nF-5_eSbGjXMmY2K3SpD-Hxwb3bhFA1ilr6IBsFq87Q,1938
33
33
  robotic/include/rai/Algo/rungeKutta.h,sha256=Kbqeu-MauQDQnmKXSRk3VnOLUY_ngKzy-rqSskBqR9k,1761
34
- robotic/include/rai/Algo/spline.h,sha256=sc36vGI2Ypm1bAo1bgu1mB8D2I4pHlmvHKonmrQi4v4,4358
34
+ robotic/include/rai/Algo/spline.h,sha256=mNi6ktREVFYkdJWPZaCrnvCW3AuZyMAsktYkRz3Ywxo,4269
35
35
  robotic/include/rai/Control/CtrlMsgs.h,sha256=61lxkvpcVB2ZAL7qmB35CJ1KkhZUB27lUJ4ZMiFH0Co,2406
36
36
  robotic/include/rai/Control/CtrlObjective.h,sha256=fC-6cS0X0RR_7ooFm1xnAXlN2mgyF26qKfTjomUK45U,2591
37
37
  robotic/include/rai/Control/CtrlSet.h,sha256=o7u8N9ZSoMbiDR3TGKDjfIarIP1JAw0SHMFL18t1fv0,1404
@@ -357,15 +357,15 @@ robotic/src/meshlabFilters.mlx,sha256=SCIiIk7XZusvKEKY62pHSem_R3TcMUP8BFaLTVUcnE
357
357
  robotic/src/mujoco_io.py,sha256=drLNE4yo30hpOY01-AsuCWKLvNoG5w2YDSzR_rlyfz0,9474
358
358
  robotic/src/urdf_io.py,sha256=bbPcJWS9rnYk8CWgEZTmx1XJRBIDrfwgCj-S_RFxl9U,8800
359
359
  robotic/src/yaml_helper.py,sha256=Jf9QaKSNQrPkUPqd5FUDv7_h0wDlGXrhCdMwu6y-Nh0,925
360
- robotic-0.3.1.dev3.data/scripts/ry-bot,sha256=LBNbbQeNNNd_tupI5463Xe-RKSD6xy4HGTbJloisCGk,2280
361
- robotic-0.3.1.dev3.data/scripts/ry-h5info,sha256=eh9McT5Ury7bbTudxkSOLWo-tZ6heiSEpGStM07N-Dc,810
362
- robotic-0.3.1.dev3.data/scripts/ry-info,sha256=fL5QXJL4Xx-Q42L2C29HHbj1XsmWdWiKIv9rVfc5sm4,425
363
- robotic-0.3.1.dev3.data/scripts/ry-meshTool,sha256=h4f4wFPNaey3ziz870SrEvy6SsQSL-ZnR_cH3UuAZxE,101
364
- robotic-0.3.1.dev3.data/scripts/ry-test,sha256=vcaPrFq9Co9N2F2Mdl2_1CTieOBssSoEhU67wXqJ2EY,981
365
- robotic-0.3.1.dev3.data/scripts/ry-urdfConvert.py,sha256=762MIDmAhdCCj55QftY7wsy9gOEs-TDEWcRPt5dECyc,2542
366
- robotic-0.3.1.dev3.data/scripts/ry-view,sha256=_GjUbVS2X3AWnlXqIHwU5dofLmUKA2-NUPySgS-QJNI,599
367
- robotic-0.3.1.dev3.dist-info/licenses/LICENSE,sha256=oT-pAsUSXiuMq2_3omR87-GFBeBnegQYixH4Bm_7wag,1071
368
- robotic-0.3.1.dev3.dist-info/METADATA,sha256=gou7C8EenDS3YOxRuIfKpRM2eT88VJybxYMgQJlVGvo,6659
369
- robotic-0.3.1.dev3.dist-info/WHEEL,sha256=0-G7woG4LgutcYzUGJCOYFgoh749-FtfhSMeIPLVGS0,104
370
- robotic-0.3.1.dev3.dist-info/top_level.txt,sha256=x5A4haAZ18y9FpO1IhXSVJ2TFdhVAgT5JMkejHUg_9U,8
371
- robotic-0.3.1.dev3.dist-info/RECORD,,
360
+ robotic-0.3.2.data/scripts/ry-bot,sha256=LBNbbQeNNNd_tupI5463Xe-RKSD6xy4HGTbJloisCGk,2280
361
+ robotic-0.3.2.data/scripts/ry-h5info,sha256=eh9McT5Ury7bbTudxkSOLWo-tZ6heiSEpGStM07N-Dc,810
362
+ robotic-0.3.2.data/scripts/ry-info,sha256=fL5QXJL4Xx-Q42L2C29HHbj1XsmWdWiKIv9rVfc5sm4,425
363
+ robotic-0.3.2.data/scripts/ry-meshTool,sha256=h4f4wFPNaey3ziz870SrEvy6SsQSL-ZnR_cH3UuAZxE,101
364
+ robotic-0.3.2.data/scripts/ry-test,sha256=vcaPrFq9Co9N2F2Mdl2_1CTieOBssSoEhU67wXqJ2EY,981
365
+ robotic-0.3.2.data/scripts/ry-urdfConvert.py,sha256=762MIDmAhdCCj55QftY7wsy9gOEs-TDEWcRPt5dECyc,2542
366
+ robotic-0.3.2.data/scripts/ry-view,sha256=_GjUbVS2X3AWnlXqIHwU5dofLmUKA2-NUPySgS-QJNI,599
367
+ robotic-0.3.2.dist-info/licenses/LICENSE,sha256=oT-pAsUSXiuMq2_3omR87-GFBeBnegQYixH4Bm_7wag,1071
368
+ robotic-0.3.2.dist-info/METADATA,sha256=owChbzqRWeS2Kiak332W1oF4-jY1cBu9NV8ADIfiReI,6654
369
+ robotic-0.3.2.dist-info/WHEEL,sha256=0-G7woG4LgutcYzUGJCOYFgoh749-FtfhSMeIPLVGS0,104
370
+ robotic-0.3.2.dist-info/top_level.txt,sha256=x5A4haAZ18y9FpO1IhXSVJ2TFdhVAgT5JMkejHUg_9U,8
371
+ robotic-0.3.2.dist-info/RECORD,,