7 comments

  • gxcode 2 hours ago

    Author of the post here - happy to answer any questions.

    • beltranaceves an hour ago

      Great job! I'm working in a similar blog post and it was fun seeing how you approached it. I was surprised the wasm implementation is fast enough, I was even considering writing webGpu compute shaders for my solver

    • philzook an hour ago

      Beautiful stuff, great post!

      • gxcode an hour ago

        Thank you, really appreciate that.

  • mjburgess 3 hours ago

    I'd be interested, if any one had suggestions, on MPC applied to ML/AI systems -- it seems this is an underserved technique/concern in MLEng, and I'd expect to see more on it.

  • klowrey 4 hours ago

    Here's a (hacky) demo of MPC using MuJoCo in the browser: https://klowrey.github.io/mujoco_wasm/

    I hacked it using MPPI and it only works on the cartpole model so as to not have to dwell in Javascript too long; just click the 'MPPI Controller' button and you can perturb the model and see it recover.

  • tantalor 3 hours ago

    I love this kind of stuff because it seems like a roughly equal blend of art, science, and engineering.