-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
I observed that when running grasp_elastic,py, the force map is empty without representing the force. I wrote a function that print out the external_force_fields in each step at line 545 in grasp_elastic.py. It turns out 0 as the picture I attached shows. below is the function I wrote
def print_external_force_fields(contact_model, step):
print(f"External Force Field at Step {step}:")
fem_sensor1_forces = contact_model.gripper.fem_sensor1.external_force_field.to_numpy()
fem_sensor2_forces = contact_model.gripper.fem_sensor2.external_force_field.to_numpy()
print("FEM Sensor 1 External Forces:")
print(fem_sensor1_forces)
print("FEM Sensor 2 External Forces:")
print(fem_sensor2_forces)

Metadata
Metadata
Assignees
Labels
No labels