Linear Algebra · Rotations and Rigid-Body Transformations · M7-L1 · Intermediate
Robot Coordinate Frame Explorer
Robot scenario
Scout's LiDAR says a pole stands 3.2 m away at a bearing of 20°. The map says the pole is at the green flag. Both are right: they just speak different coordinate frames, and the robot has to translate between them hundreds of times a second.
You will find where the robot must stand for the two statements to agree, see how swapping two matrices puts the pole metres away, and then write the two routines every robot contains: a sensor-to-world chain in the plane and a 3D chain with an exact inverse.
Your task
Lab complete: post-mortem
You have passed every stage. Now connect it back to the theory and move on:
Output
What Python can I use?
Plain Python with math and lakit (import lakit as la: vectors, matmul, solve, qr, svd, eigh, lstsq, pinv and more; NumPy is not available in the browser). Your code runs in a background worker: an endless loop is stopped after a few seconds and the page stays usable. It runs in your browser and is never sent anywhere.