Skip to content

Commit

Permalink
pre-commit: Apply formating
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisv committed Oct 2, 2024
1 parent f15fa17 commit 920da20
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
18 changes: 10 additions & 8 deletions bindings/python/parsers/sdf/geometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ namespace pinocchio

bp::def(
"buildGeomFromSdf",
static_cast<
GeometryModel & (*)(const Model &, const bp::object &, const GeometryType, GeometryModel &, const std::string &)>(
static_cast<GeometryModel & (*)(const Model &, const bp::object &, const GeometryType,
GeometryModel &, const std::string &)>(
pinocchio::python::buildGeomFromSdf),
bp::args("model", "sdf_filename", "geom_type", "geom_model", "root_link_name"),
"Parse the SDF file given as input looking for the geometry of the given input model and\n"
Expand All @@ -245,8 +245,8 @@ namespace pinocchio

bp::def(
"buildGeomFromSdf",
static_cast<
GeometryModel & (*)(const Model &, const bp::object &, const GeometryType, GeometryModel &, const std::string &, const bp::object &)>(
static_cast<GeometryModel & (*)(const Model &, const bp::object &, const GeometryType,
GeometryModel &, const std::string &, const bp::object &)>(
pinocchio::python::buildGeomFromSdf),
bp::args(
"model", "sdf_filename", "geom_type", "geom_model", "root_link_name", "package_dir"),
Expand Down Expand Up @@ -284,8 +284,9 @@ namespace pinocchio

bp::def(
"buildGeomFromSdf",
static_cast<
GeometryModel & (*)(const Model &, const bp::object &, const GeometryType, GeometryModel &, const std::string &, const bp::object &, const hpp::fcl::MeshLoaderPtr &)>(
static_cast<GeometryModel & (*)(const Model &, const bp::object &, const GeometryType,
GeometryModel &, const std::string &, const bp::object &,
const hpp::fcl::MeshLoaderPtr &)>(
pinocchio::python::buildGeomFromSdf),
bp::args(
"model", "sdf_filename", "geom_type", "geom_model", "root_link_name", "package_dir",
Expand Down Expand Up @@ -324,8 +325,9 @@ namespace pinocchio

bp::def(
"buildGeomFromSdf",
static_cast<
GeometryModel & (*)(const Model &, const bp::object &, const GeometryType, GeometryModel &, const std::string &, const hpp::fcl::MeshLoaderPtr &)>(
static_cast<GeometryModel & (*)(const Model &, const bp::object &, const GeometryType,
GeometryModel &, const std::string &,
const hpp::fcl::MeshLoaderPtr &)>(
pinocchio::python::buildGeomFromSdf),
bp::args(
"model", "sdf_filename", "geom_type", "geom_model", "root_link_name", "mesh_loader"),
Expand Down
1 change: 0 additions & 1 deletion unittest/python/robot_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ def test_urdf_with_path_list_pkg_dirs(self):

def test_urdf_with_None_pkg_dirs(self):
model_path = self.current_dir.parent / "models" / "3DOF_planar.urdf"
package_dir = self.current_dir.parent / "models"
robot = pin.RobotWrapper.BuildFromURDF(
model_path, None, pin.JointModelFreeFlyer()
)
Expand Down

0 comments on commit 920da20

Please sign in to comment.