Linear Algebra · Linear Systems and Vector Spaces · M3-L1 · Beginner
Solve a Robot's Constraints
Robot scenario
Scout has been upgraded with four mecanum wheels: it can slide sideways as well as drive and turn. Four wheels and three body velocities mean more numbers than the robot has freedoms, and that surplus is both a nuisance (noisy wheels disagree) and a gift (a spare equation to average out noise).
You will read the wheel pattern for sideways motion, find the commands that no body motion can produce, write the least-squares estimator for odometry, and finish with a solver that tells unique, missing and infinite solutions apart.
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.