5 #include <boost/python/tuple.hpp>
31 return bp::make_tuple(partial_dq, partial_dv);
48 return bp::make_tuple(partial_dq, partial_dv);
65 model,
data,
frame_id, rf, v_partial_dq, a_partial_dq, a_partial_dv, a_partial_da);
67 return bp::make_tuple(v_partial_dq, a_partial_dq, a_partial_dv, a_partial_da);
88 return bp::make_tuple(v_partial_dq, a_partial_dq, a_partial_dv, a_partial_da);
93 using namespace Eigen;
97 bp::args(
"model",
"data",
"frame_id",
"reference_frame"),
98 "Computes the partial derivatives of the spatial velocity of a given frame with respect "
100 "the joint configuration and velocity and returns them as a tuple.\n"
101 "The partial derivatives can be either expressed in the LOCAL frame of the joint, in the "
102 "LOCAL_WORLD_ALIGNED frame or in the WORLD coordinate frame depending on the value of "
104 "You must first call computeForwardKinematicsDerivatives before calling this function.\n\n"
106 "\tmodel: model of the kinematic tree\n"
107 "\tdata: data related to the model\n"
108 "\tframe_id: index of the frame\n"
109 "\treference_frame: reference frame in which the resulting derivatives are expressed\n",
114 bp::args(
"model",
"data",
"joint_id",
"placement",
"reference_frame"),
115 "Computes the partial derivatives of the spatial velocity of a frame given by its relative "
116 "placement, with respect to\n"
117 "the joint configuration and velocity and returns them as a tuple.\n"
118 "The partial derivatives can be either expressed in the LOCAL frame of the joint, in the "
119 "LOCAL_WORLD_ALIGNED frame or in the WORLD coordinate frame depending on the value of "
121 "You must first call computeForwardKinematicsDerivatives before calling this function.\n\n"
123 "\tmodel: model of the kinematic tree\n"
124 "\tdata: data related to the model\n"
125 "\tjoint_id: index of the joint\n"
126 "\tplacement: placement of the Frame w.r.t. the joint frame.\n"
127 "\treference_frame: reference frame in which the resulting derivatives are expressed\n",
132 bp::args(
"model",
"data",
"frame_id",
"reference_frame"),
133 "Computes the partial derivatives of the spatial acceleration of a given frame with "
135 "the joint configuration, velocity and acceleration and returns them as a tuple.\n"
136 "The partial derivatives can be either expressed in the LOCAL frame of the joint, in the "
137 "LOCAL_WORLD_ALIGNED frame or in the WORLD coordinate frame depending on the value of "
139 "You must first call computeForwardKinematicsDerivatives before calling this function.\n\n"
141 "\tmodel: model of the kinematic tree\n"
142 "\tdata: data related to the model\n"
143 "\tframe_id: index of the frame\n"
144 "\treference_frame: reference frame in which the resulting derivatives are expressed\n",
149 bp::args(
"model",
"data",
"joint_id",
"placement",
"reference_frame"),
150 "Computes the partial derivatives of the spatial acceleration of a frame given by its "
151 "relative placement, with respect to\n"
152 "the joint configuration, velocity and acceleration and returns them as a tuple.\n"
153 "The partial derivatives can be either expressed in the LOCAL frame of the joint, in the "
154 "LOCAL_WORLD_ALIGNED frame or in the WORLD coordinate frame depending on the value of "
156 "You must first call computeForwardKinematicsDerivatives before calling this function.\n\n"
158 "\tmodel: model of the kinematic tree\n"
159 "\tdata: data related to the model\n"
160 "\tjoint_id: index of the joint\n"
161 "\tplacement: placement of the Frame w.r.t. the joint frame.\n"
162 "\treference_frame: reference frame in which the resulting derivatives are expressed\n",