Skip to content

Commit 1b7c6bb

Browse files
authored
Merge pull request #33 from Simple-Robotics/topic/examples
Fix examples
2 parents b7c7041 + 6c28c71 commit 1b7c6bb

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

examples/go2_fulldynamics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142

143143
""" Initialize simulation"""
144144
device = BulletRobot(
145-
model_handler.getControlledJointNames(),
145+
model_handler.getModel().names,
146146
erd.getModelPath(URDF_SUBPATH),
147147
URDF_SUBPATH,
148148
1e-3,

examples/go2_kinodynamics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146

147147
""" Initialize simulation"""
148148
device = BulletRobot(
149-
model_handler.getControlledJointNames(),
149+
model_handler.getModel().names,
150150
erd.getModelPath(URDF_SUBPATH),
151151
URDF_SUBPATH,
152152
1e-3,

examples/talos_centroidal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137

138138
""" Initialize simulation"""
139139
device = BulletRobot(
140-
model_handler.getControlledJointNames(),
140+
model_handler.getModel().names,
141141
erd.getModelPath(URDF_SUBPATH),
142142
URDF_SUBPATH,
143143
1e-3,

examples/talos_fulldynamics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
""" Initialize simulation"""
132132

133133
device = BulletRobot(
134-
model_handler.getControlledJointNames(),
134+
model_handler.getModel().names,
135135
erd.getModelPath(URDF_SUBPATH),
136136
URDF_SUBPATH,
137137
1e-3,

examples/talos_kinodynamics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154

155155
""" Initialize simulation"""
156156
device = BulletRobot(
157-
model_handler.getControlledJointNames(),
157+
model_handler.getModel().names,
158158
erd.getModelPath(URDF_SUBPATH),
159159
URDF_SUBPATH,
160160
1e-3,

0 commit comments

Comments
 (0)