Skip to content

Commit bb1f63c

Browse files
committed
add iiwa_torque_external
1 parent 242386e commit bb1f63c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

manipulation_station.ipynb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@
128128
" #builder.ExportOutput(adder.get_output_port(), \"iiwa_torque_commanded\")\n",
129129
" #builder.ExportOutput(adder.get_output_port(), \"iiwa_torque_measured\")\n",
130130
"\n",
131+
" builder.ExportOutput(plant.get_generalized_contact_forces_output_port(iiwa),\n",
132+
" \"iiwa_torque_external\")\n",
133+
"\n",
131134
" # Wsg controller.\n",
132135
" wsg_controller = builder.AddSystem(SchunkWsgPositionController())\n",
133136
" wsg_controller.set_name(\"wsg_controller\")\n",
@@ -160,8 +163,7 @@
160163
" \"plant_continuous_state\")\n",
161164
"\n",
162165
" diagram = builder.Build()\n",
163-
" return diagram\n",
164-
"\n"
166+
" return diagram\n"
165167
]
166168
},
167169
{

0 commit comments

Comments
 (0)