Commit 3280bfb0 authored by Olivier Stasse's avatar Olivier Stasse Committed by olivier stasse
Browse files

[tests/python] Simplifies test-parameter-server.py

parent e801f6b4
......@@ -40,20 +40,6 @@ class TestParameterServer(unittest.TestCase):
urdf_rrbot_model_string = fs.read()
fs.close()
print(EXAMPLE_ROBOT_DATA_MODEL_DIR)
#
model = pin.buildModelFromXML(urdf_rrbot_model_string)
neutral_configuration_model = pin.neutral(model)
jointIds = []
#print(model)
reduced_model = pin.buildReducedModel(model, jointIds,
neutral_configuration_model)
data = model.createData()
com = pin.centerOfMass(model, data, neutral_configuration_model)
pin.updateFramePlacements(model, data)
m = data.mass[0]
param_server.setParameter("urdf_model", urdf_rrbot_model_string)
model2_string = param_server.getParameter("urdf_model")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment