Skip to content

Commit 21587ba

Browse files
author
ipuch
committed
precommit
1 parent 56cdde9 commit 21587ba

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

examples/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@ if(BUILD_PYTHON_INTERFACE)
9797
inverse-dynamics-derivatives
9898
model-graph
9999
model-configuration-converter
100-
ellipsoid-joint-kinematics
101-
)
100+
ellipsoid-joint-kinematics)
102101

103102
if(BUILD_WITH_URDF_SUPPORT)
104103
list(

include/pinocchio/multibody/joint/joint-ellipsoid.hpp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ namespace pinocchio
112112

113113
}; // struct JointDataEllipsoidTpl
114114

115-
116115
PINOCCHIO_JOINT_CAST_TYPE_SPECIALIZATION(JointModelEllipsoidTpl);
117116
/// \brief Ellipsoid joint - constrains motion to ellipsoid surface with 3-DOF.
118117
///
@@ -193,7 +192,13 @@ namespace pinocchio
193192
/// @param[in] c2, s2 Cosine and sine of q[2]
194193
/// @param[out] data Joint data where M will be stored
195194
void computeSpatialTransform(
196-
const Scalar& c0, const Scalar& s0, const Scalar& c1, const Scalar& s1, const Scalar& c2, const Scalar& s2, JointDataDerived & data) const
195+
const Scalar & c0,
196+
const Scalar & s0,
197+
const Scalar & c1,
198+
const Scalar & s1,
199+
const Scalar & c2,
200+
const Scalar & s2,
201+
JointDataDerived & data) const
197202
{
198203
// clang-format off
199204
data.M.rotation() << c1 * c2 , -c1 * s2 , s1 ,

include/pinocchio/multibody/joint/joint-free-flyer.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ namespace pinocchio
256256

257257
}; // struct JointDataFreeFlyerTpl
258258

259-
260259
PINOCCHIO_JOINT_CAST_TYPE_SPECIALIZATION(JointModelFreeFlyerTpl);
261260
/// @brief Free-flyer joint in \f$SE(3)\f$.
262261
///

src/parsers/graph/model-graph-algo.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ namespace pinocchio
266266
, model(model_)
267267
{
268268
}
269-
269+
270270
// Default implementation for adding a joint between two body frames
271271
template<typename JointGraph>
272272
void addJointBetweenBodies(const JointGraph & joint, const BodyFrame & b_f)
@@ -352,15 +352,15 @@ namespace pinocchio
352352
model.appendBodyToJoint(j_id, b_f.inertia); // check this
353353
model.addBodyFrame(target_vertex.name, j_id, body_pose);
354354
}
355-
355+
356356
void operator()(const JointEllipsoid & joint, const BodyFrame & b_f)
357357
{
358358
if (!edge.forward)
359359
PINOCCHIO_THROW_PRETTY(
360360
std::invalid_argument, "Graph - JointEllipsoid cannot be reversed yet.");
361-
// The ellipsoid joint cannot be reversed because of the way the motion subspace is defined.
362-
// The motion subspace is defined in the parent frame,
363-
// So reversing the joint would require to change the motion subspace accordingly.
361+
// The ellipsoid joint cannot be reversed because of the way the motion subspace is
362+
// defined. The motion subspace is defined in the parent frame, So reversing the joint
363+
// would require to change the motion subspace accordingly.
364364

365365
addJointBetweenBodies(joint, b_f);
366366
}

0 commit comments

Comments
 (0)