|
72 | 72 | "\n", |
73 | 73 | "# Read in week3_Motor position f1_success and failed\n", |
74 | 74 | "data_successful = ... # Motor position f1_successful.csv\n", |
75 | | - "data_failed = ... # Motor position f1_failed.csv\n", |
76 | | - "# END PROMPT\"\"\"\n" |
| 75 | + "data_failed = ... # Motor position f1_failed.csv\n" |
77 | 76 | ] |
78 | 77 | }, |
79 | 78 | { |
|
113 | 112 | "outputs": [], |
114 | 113 | "source": [ |
115 | 114 | "\n", |
116 | | - "# TODO: Copy the fit_line_to_middle_bit function here\n", |
117 | | - "# END PROMPT\"\"\"\n" |
| 115 | + "# TODO: Copy the fit_line_to_middle_bit function here\n" |
118 | 116 | ] |
119 | 117 | }, |
120 | 118 | { |
|
182 | 180 | " #. start_pt, end_pt = fit_line_to_middle_bit(ts, current row)\n", |
183 | 181 | " # copy end_pt information into appropriate row in nx2 output\n", |
184 | 182 | " #. return nx2 numpy array\n", |
185 | | - " ...\n", |
186 | | - "# END PROMPT \"\"\"" |
| 183 | + " ...\n" |
187 | 184 | ] |
188 | 185 | }, |
189 | 186 | { |
|
338 | 335 | "# TODO: Optional: Read in the pick data and its description file, extract out the rows and columns you\n", |
339 | 336 | "#. care about, and write that data out (should be same as the .csv files)\n", |
340 | 337 | "data_wrist_force_successful = ...\n", |
341 | | - "data_wrist_force_failed = ...\n", |
342 | | - "# END PROMPT\"\"\"\n" |
| 338 | + "data_wrist_force_failed = ...\n" |
343 | 339 | ] |
344 | 340 | }, |
345 | 341 | { |
|
491 | 487 | " # Yes, this works - it's the same as doing r = row_offset + p // ncols on one line,\n", |
492 | 488 | " # and c = p % n_cols on the second line\n", |
493 | 489 | " r, c = row_offset + p // n_cols, p % n_cols\n", |
494 | | - " axs[r, c].plot(ts, data_wrist_force_successful[p], label=\"Data\")\n", |
| 490 | + " axs[r, c].plot(ts, data[p], label=\"Data\")\n", |
495 | 491 | "\n", |
496 | 492 | " # Fit a polynomial of degree 3 to the variable data\n", |
497 | 493 | " # Then plot the polynomial\n", |
|
0 commit comments