You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doxygen_cxx/classdrake_1_1copyable__unique__ptr.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -170,7 +170,7 @@
170
170
171
171
<p>A smart pointer with deep copy semantics. </p>
172
172
<p>This is <em>similar</em> to <code>std::unique_ptr</code> in that it does not permit shared ownership of the contained object. However, unlike <code>std::unique_ptr</code>, copyable_unique_ptr supports copy and assignment operations, by insisting that the contained object be "copyable". To be copyable, the class must have either an accessible copy constructor, or it must have an accessible clone method with signature</p><divclass="fragment"><divclass="line">std::unique_ptr<Foo> Clone() <spanclass="keyword">const</span>;</div></div><!-- fragment --><p> where Foo is the type of the managed object. By "accessible" we mean either that the copy constructor or clone method is public, or <code>friend <aclass="el" href="classdrake_1_1copyable__unique__ptr.html" title="A smart pointer with deep copy semantics.">copyable_unique_ptr</a><Foo>;</code> appears in Foo's class declaration.</p>
173
-
<p>Generally, the API is modeled as closely as possible on the C++ standard <code>std::unique_ptr</code> API and copyable_unique_ptr<T> is interoperable with <code>unique_ptr<T></code> wherever that makes sense. However, there are some differences:</p>
173
+
<p>Generally, the API is modeled as closely as possible on the C++ standard <code>std::unique_ptr</code> API and copyable_unique_ptr is interoperable with <code>unique_ptr<T></code> wherever that makes sense. However, there are some differences:</p>
<tr><tdclass="paramname">model_path</td><td>Full path to the model file. </td></tr>
1817
1817
<tr><tdclass="paramname">iiwa_instance</td><td>Identifies the IIWA model. </td></tr>
1818
1818
<tr><tdclass="paramname">parent_frame</td><td>Identifies frame P (the parent frame) in the MultibodyPlant that the IIWA model has been attached to. </td></tr>
1819
-
<tr><tdclass="paramname">child_frame_name</td><td>Identifies frame C (the child frame) in the IIWA model that is welded to frame P. </td></tr>
1819
+
<tr><tdclass="paramname">child_frame</td><td>Identifies frame C (the child frame) in the IIWA model that is welded to frame P. </td></tr>
1820
1820
<tr><tdclass="paramname">X_PC</td><td>Transformation between frame P and C. </td></tr>
<p>Sets the default State for the chosen setup. </p>
2025
2025
<dlclass="params"><dt>Parameters</dt><dd>
2026
2026
<tableclass="params">
2027
-
<tr><tdclass="paramname">context</td><td>A const reference to the <aclass="el" href="classdrake_1_1examples_1_1manipulation__station_1_1_manipulation_station.html" title="A system that represents the complete manipulation station, including exactly one robotic arm (a Kuka...">ManipulationStation</a> context. </td></tr>
2027
+
<tr><tdclass="paramname">station_context</td><td>A const reference to the <aclass="el" href="classdrake_1_1examples_1_1manipulation__station_1_1_manipulation_station.html" title="A system that represents the complete manipulation station, including exactly one robotic arm (a Kuka...">ManipulationStation</a> context. </td></tr>
2028
2028
<tr><tdclass="paramname">state</td><td>A pointer to the State of the <aclass="el" href="classdrake_1_1examples_1_1manipulation__station_1_1_manipulation_station.html" title="A system that represents the complete manipulation station, including exactly one robotic arm (a Kuka...">ManipulationStation</a> system. </td></tr>
<p>Convenience method for setting all of the joint velocities of the Kuka IIWA. </p>
2189
-
<p>@v must have size <aclass="el" href="classdrake_1_1examples_1_1manipulation__station_1_1_manipulation_station.html#a15f05a3d7f23b3fc83e67dace06d49c5" title="Gets the number of joints in the IIWA (only – does not include the gripper).">num_iiwa_joints()</a>. </p><dlclass="section pre"><dt>Precondition</dt><dd><code>state</code> must be the systems::State<T> object contained in <code>station_context</code>. </dd></dl>
2189
+
<p><code>v</code> must have size <aclass="el" href="classdrake_1_1examples_1_1manipulation__station_1_1_manipulation_station.html#a15f05a3d7f23b3fc83e67dace06d49c5" title="Gets the number of joints in the IIWA (only – does not include the gripper).">num_iiwa_joints()</a>. </p><dlclass="section pre"><dt>Precondition</dt><dd><code>state</code> must be the systems::State<T> object contained in <code>station_context</code>. </dd></dl>
<p>Convenience method for setting all of the joint velocities of the Kuka IIWA. </p>
2220
-
<p>@v must have size <aclass="el" href="classdrake_1_1examples_1_1manipulation__station_1_1_manipulation_station.html#a15f05a3d7f23b3fc83e67dace06d49c5" title="Gets the number of joints in the IIWA (only – does not include the gripper).">num_iiwa_joints()</a>. </p>
2220
+
<p><code>v</code> must have size <aclass="el" href="classdrake_1_1examples_1_1manipulation__station_1_1_manipulation_station.html#a15f05a3d7f23b3fc83e67dace06d49c5" title="Gets the number of joints in the IIWA (only – does not include the gripper).">num_iiwa_joints()</a>. </p>
<tr><tdclass="paramname">context</td><td>A const reference to the <aclass="el" href="classdrake_1_1examples_1_1manipulation__station_1_1_manipulation_station.html" title="A system that represents the complete manipulation station, including exactly one robotic arm (a Kuka...">ManipulationStation</a> context. </td></tr>
2293
+
<tr><tdclass="paramname">station_context</td><td>A const reference to the <aclass="el" href="classdrake_1_1examples_1_1manipulation__station_1_1_manipulation_station.html" title="A system that represents the complete manipulation station, including exactly one robotic arm (a Kuka...">ManipulationStation</a> context. </td></tr>
2294
2294
<tr><tdclass="paramname">state</td><td>A pointer to the State of the <aclass="el" href="classdrake_1_1examples_1_1manipulation__station_1_1_manipulation_station.html" title="A system that represents the complete manipulation station, including exactly one robotic arm (a Kuka...">ManipulationStation</a> system. </td></tr>
2295
2295
<tr><tdclass="paramname">generator</td><td>is the random number generator. </td></tr>
<p>We can reformulate (2a) as the following constraint ⌈aᵀp_AS + b aᵀ⌉ is psd. (3) ⌊ a (aᵀp_AS + b)/r²*I₃⌋ (3) is equivalent to the rational ⌈1⌉ᵀ*⌈aᵀp_AS + b aᵀ⌉*⌈1⌉ ⌊y⌋ ⌊ a (aᵀp_AS+ b)/r²*I₃⌋ ⌊y⌋ is positive.</p>
438
438
<dlclass="params"><dt>Parameters</dt><dd>
439
439
<tableclass="params">
440
-
<tr><tdclass="paramname">a</td><td>The normal vector in the separating plane. a is expressed in frame A. Note that <code>a</code> doesn't need to have a unit length. </td></tr>
441
-
<tr><tdclass="paramname">b</td><td>The constant term in the separating plane. </td></tr>
442
-
<tr><tdclass="paramname">X_AB_multilinear</td><td>The pose of the collision geometry body (B) in the expressed frame A, written as a multilinear polynomial. This quantity is generated from RationalForwardKinematics::CalcBodyPoseAsMultilinearPolynomial. </td></tr>
443
-
<tr><tdclass="paramname">rational_forward_kin</td><td>This object is constructed with the MultibodyPlant containing this collision geometry. </td></tr>
444
-
<tr><tdclass="paramname">plane_side</td><td>Whether the geometry is on the positive or negative side of the plane. </td></tr>
445
-
<tr><tdclass="paramname">y_slack</td><td>The slack variable y in the documentation above, used for non-polytopic geometries. For spheres and capsules, y_slack has size 3. For cylinders, y_slack has size 2. </td></tr>
446
-
<tr><tdclass="paramname">[in/out]</td><td>rationalsWe append new rational functions to <code>rationals</code>. If these new rational functions are positive, then the geometry is on a given side of the plane. </td></tr>
440
+
<tr><tdclass="paramdir"></td><tdclass="paramname">a</td><td>The normal vector in the separating plane. a is expressed in frame A. Note that <code>a</code> doesn't need to have a unit length. </td></tr>
441
+
<tr><tdclass="paramdir"></td><tdclass="paramname">b</td><td>The constant term in the separating plane. </td></tr>
442
+
<tr><tdclass="paramdir"></td><tdclass="paramname">X_AB_multilinear</td><td>The pose of the collision geometry body (B) in the expressed frame A, written as a multilinear polynomial. This quantity is generated from RationalForwardKinematics::CalcBodyPoseAsMultilinearPolynomial. </td></tr>
443
+
<tr><tdclass="paramdir"></td><tdclass="paramname">rational_forward_kin</td><td>This object is constructed with the MultibodyPlant containing this collision geometry. </td></tr>
444
+
<tr><tdclass="paramdir"></td><tdclass="paramname">plane_side</td><td>Whether the geometry is on the positive or negative side of the plane. </td></tr>
445
+
<tr><tdclass="paramdir"></td><tdclass="paramname">y_slack</td><td>The slack variable y in the documentation above, used for non-polytopic geometries. For spheres and capsules, y_slack has size 3. For cylinders, y_slack has size 2. </td></tr>
446
+
<tr><tdclass="paramdir">[in,out]</td><tdclass="paramname">rationals</td><td>We append new rational functions to <code>rationals</code>. If these new rational functions are positive, then the geometry is on a given side of the plane. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">points</td><td>are the points which we wish to project to the convex set. </td></tr>
1247
-
<tr><tdclass="paramdir"></td><tdclass="paramname">[in/out]</td><td>projected_points are the projection of <code>points</code> onto the convex set. </td></tr>
1247
+
<tr><tdclass="paramdir">[in,out]</td><tdclass="paramname">projected_points</td><td>are the projection of <code>points</code> onto the convex set. </td></tr>
<tr><tdclass="paramname">bindings</td><td>must contain <em>only</em> elements of <aclass="el" href="classdrake_1_1geometry_1_1optimization_1_1_graph_of_convex_sets_1_1_edge.html#aeacbc2abb655b394b863536ddcd78036" title="Returns the continuous decision variables associated with vertex u.">xu()</a> and <aclass="el" href="classdrake_1_1geometry_1_1optimization_1_1_graph_of_convex_sets_1_1_edge.html#a09f1477bfa664da452fb472f7c1959cc" title="Returns the continuous decision variables associated with vertex v.">xv()</a> as variables. </td></tr>
405
+
<tr><tdclass="paramname">binding</td><td>must contain <em>only</em> elements of <aclass="el" href="classdrake_1_1geometry_1_1optimization_1_1_graph_of_convex_sets_1_1_edge.html#aeacbc2abb655b394b863536ddcd78036" title="Returns the continuous decision variables associated with vertex u.">xu()</a> and <aclass="el" href="classdrake_1_1geometry_1_1optimization_1_1_graph_of_convex_sets_1_1_edge.html#a09f1477bfa664da452fb472f7c1959cc" title="Returns the continuous decision variables associated with vertex v.">xv()</a> as variables. </td></tr>
406
406
<tr><tdclass="paramname">use_in_transcription</td><td>specifies the components of the problem to which the constraint should be added.</td></tr>
<tr><tdclass="paramname">bindings</td><td>must contain <em>only</em> elements of <aclass="el" href="classdrake_1_1geometry_1_1optimization_1_1_graph_of_convex_sets_1_1_vertex.html#ad7acb25ff1d4759a67548a22e11c1a5f" title="Returns a decision variable corresponding to an element of the ConvexSet, which can be used for const...">x()</a> as variables. </td></tr>
384
+
<tr><tdclass="paramname">binding</td><td>must contain <em>only</em> elements of <aclass="el" href="classdrake_1_1geometry_1_1optimization_1_1_graph_of_convex_sets_1_1_vertex.html#ad7acb25ff1d4759a67548a22e11c1a5f" title="Returns a decision variable corresponding to an element of the ConvexSet, which can be used for const...">x()</a> as variables. </td></tr>
385
385
<tr><tdclass="paramname">use_in_transcription</td><td>specifies the components of the problem to which the constraint should be added. </td></tr>
0 commit comments