From 6c28c71f01560bcd3ad76f3ae1cb64865e9d3037 Mon Sep 17 00:00:00 2001 From: Ewen Dantec Date: Mon, 6 Jan 2025 16:24:56 +0100 Subject: [PATCH] Fix examples --- examples/go2_fulldynamics.py | 2 +- examples/go2_kinodynamics.py | 2 +- examples/talos_centroidal.py | 2 +- examples/talos_fulldynamics.py | 2 +- examples/talos_kinodynamics.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/go2_fulldynamics.py b/examples/go2_fulldynamics.py index 7470011..b8534ce 100644 --- a/examples/go2_fulldynamics.py +++ b/examples/go2_fulldynamics.py @@ -142,7 +142,7 @@ """ Initialize simulation""" device = BulletRobot( - model_handler.getControlledJointNames(), + model_handler.getModel().names, erd.getModelPath(URDF_SUBPATH), URDF_SUBPATH, 1e-3, diff --git a/examples/go2_kinodynamics.py b/examples/go2_kinodynamics.py index d2352d9..e3a6ea0 100644 --- a/examples/go2_kinodynamics.py +++ b/examples/go2_kinodynamics.py @@ -146,7 +146,7 @@ """ Initialize simulation""" device = BulletRobot( - model_handler.getControlledJointNames(), + model_handler.getModel().names, erd.getModelPath(URDF_SUBPATH), URDF_SUBPATH, 1e-3, diff --git a/examples/talos_centroidal.py b/examples/talos_centroidal.py index a98a754..444a727 100644 --- a/examples/talos_centroidal.py +++ b/examples/talos_centroidal.py @@ -137,7 +137,7 @@ """ Initialize simulation""" device = BulletRobot( - model_handler.getControlledJointNames(), + model_handler.getModel().names, erd.getModelPath(URDF_SUBPATH), URDF_SUBPATH, 1e-3, diff --git a/examples/talos_fulldynamics.py b/examples/talos_fulldynamics.py index 07dbf01..f8456fa 100644 --- a/examples/talos_fulldynamics.py +++ b/examples/talos_fulldynamics.py @@ -131,7 +131,7 @@ """ Initialize simulation""" device = BulletRobot( - model_handler.getControlledJointNames(), + model_handler.getModel().names, erd.getModelPath(URDF_SUBPATH), URDF_SUBPATH, 1e-3, diff --git a/examples/talos_kinodynamics.py b/examples/talos_kinodynamics.py index f18ef0c..32ffcd5 100644 --- a/examples/talos_kinodynamics.py +++ b/examples/talos_kinodynamics.py @@ -154,7 +154,7 @@ """ Initialize simulation""" device = BulletRobot( - model_handler.getControlledJointNames(), + model_handler.getModel().names, erd.getModelPath(URDF_SUBPATH), URDF_SUBPATH, 1e-3,