r = ({r[0]:+.1f}, {r[1]:+.1f}) m (holds station)\")\n\n# radial offset, zero relative velocity, after ~33 min\nr,_ = cw_propagate(np.array([50.,0.]), np.array([0.,0.]), n, 2000)\nprint(f\"radial 50 m start -> r = ({r[0]:+.1f}, {r[1]:+.1f}) m (drifts along-track)\")\n","label":"CW relative motion"}],"intro":"Implement CW propagation and confirm the along-track fixed point and the radial along-track drift.","key":"space-logistics/relative-motion-cw","kind":"python","title":"Relative motion: Clohessy-Wiltshire"}">
PYTHON · NUMPY · IN-BROWSER
Relative motion: Clohessy-Wiltshire
Implement CW propagation and confirm the along-track fixed point and the radial along-track drift.
You read
the arrays and values already in scope
You change
the code you write in each cell
Fixed
the dataset and the checks that grade you