From d781b98fb6e569dfa0c5102ba702790d7ac540c9 Mon Sep 17 00:00:00 2001 From: Justin Carpentier Date: Mon, 23 Dec 2024 20:42:45 +0100 Subject: [PATCH 1/3] python: hpp::fcl:: -> coal:: --- .../bindings/python/collision/tree-broadphase-manager.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/pinocchio/bindings/python/collision/tree-broadphase-manager.hpp b/include/pinocchio/bindings/python/collision/tree-broadphase-manager.hpp index 570d1b42ec..6457ab7c02 100644 --- a/include/pinocchio/bindings/python/collision/tree-broadphase-manager.hpp +++ b/include/pinocchio/bindings/python/collision/tree-broadphase-manager.hpp @@ -49,11 +49,11 @@ namespace pinocchio static void expose() { std::string derived_name = boost::typeindex::type_id().pretty_name(); - boost::algorithm::replace_all(derived_name, "hpp::fcl::", ""); + boost::algorithm::replace_all(derived_name, "coal::", ""); const std::string class_name = "TreeBroadPhaseManager_" + derived_name; const std::string class_doc = - "Tree-based broad phase manager associated to hpp::fcl::" + derived_name; + "Tree-based broad phase manager associated to coal::" + derived_name; bp::class_ registered_class(class_name.c_str(), class_doc.c_str(), bp::no_init); registered_class.def(TreeBroadPhaseManagerPythonVisitor()); From 116dfb9e0e36a938918753db6fb1c9fbd51a4996 Mon Sep 17 00:00:00 2001 From: Justin Carpentier Date: Mon, 23 Dec 2024 20:43:58 +0100 Subject: [PATCH 2/3] changelog: sync --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 34569aafc6..d38b7a3980 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Fixed - Fix mjcf Euler angle parsing: use xyz as a default value for eulerseq compiler option ([#2526](https://github.com/stack-of-tasks/pinocchio/pull/2526)) +- Fix variable naming in Python ([#2530](https://github.com/stack-of-tasks/pinocchio/pull/2530)) ## [3.3.1] - 2024-12-13 From 81b145e4f39e2d76de8b273292d58f4edb90b8bb Mon Sep 17 00:00:00 2001 From: Justin Carpentier Date: Tue, 24 Dec 2024 10:12:35 +0100 Subject: [PATCH 3/3] python: hpp::fcl:: -> coal:: --- .../bindings/python/collision/broadphase-manager.hpp | 6 +++--- .../bindings/python/collision/tree-broadphase-manager.hpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/pinocchio/bindings/python/collision/broadphase-manager.hpp b/include/pinocchio/bindings/python/collision/broadphase-manager.hpp index bbe6975835..5cf4823a8b 100644 --- a/include/pinocchio/bindings/python/collision/broadphase-manager.hpp +++ b/include/pinocchio/bindings/python/collision/broadphase-manager.hpp @@ -1,5 +1,5 @@ // -// Copyright (c) 2022 INRIA +// Copyright (c) 2022-2024 INRIA // #ifndef __pinocchio_python_collision_broadphase_manager_hpp__ @@ -62,10 +62,10 @@ namespace pinocchio static void expose() { std::string derived_name = boost::typeindex::type_id().pretty_name(); - boost::algorithm::replace_all(derived_name, "hpp::fcl::", ""); + boost::algorithm::replace_all(derived_name, "coal::", ""); const std::string class_name = "BroadPhaseManager_" + derived_name; - const std::string class_doc = "Broad phase manager associated to hpp::fcl::" + derived_name; + const std::string class_doc = "Broad phase manager associated to coal::" + derived_name; bp::class_ registered_class(class_name.c_str(), class_doc.c_str(), bp::no_init); registered_class.def(BroadPhaseManagerPythonVisitor()); diff --git a/include/pinocchio/bindings/python/collision/tree-broadphase-manager.hpp b/include/pinocchio/bindings/python/collision/tree-broadphase-manager.hpp index 6457ab7c02..88fc677cf9 100644 --- a/include/pinocchio/bindings/python/collision/tree-broadphase-manager.hpp +++ b/include/pinocchio/bindings/python/collision/tree-broadphase-manager.hpp @@ -1,5 +1,5 @@ // -// Copyright (c) 2022 INRIA +// Copyright (c) 2022-2024 INRIA // #ifndef __pinocchio_python_collision_tree_broadphase_manager_hpp__