Skip to content
Snippets Groups Projects
Select Git revision
  • 3eeac9d027ad23bf13d9a56539455cb4dd5f8020
  • main default protected
  • rosification
  • refactoring
  • pp
  • mpc
  • realtimelogplotter
  • alv
  • gitlab_ci_podman
  • restructuring
  • viz_fix
11 results

python

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    m-guberina authored
    added the low-pass filter. needs testing tho. the only thing not tried yet is hybrid force-motion control, that is the next and final thing that could be good for the demo
    3eeac9d0
    History

    TODO:


    • go to a previous version, save basic version of click where everything is in one file
    • write test for every algorithm - just run it on sample data on simulation and pinocchio. using things on the real robot needs to be tested manually, but simulation in URsimulator should take care of that because the only difference is the IP address in that case. point is test what you can.
    • write out types in various functions
    • write appropriate asserts over applicable arguments - you don't want to blow something up due to a misclick while typing out arguments

    installation


    first you MUST update pip, otherwise it won't work: python3 -m pip install --upgrade pip setuptools wheel build then install with pip install --user -e . from this directory. now the package is editable, which there's a chance you'd want

    description


    • organized as a library called ur_simple_control, made into a python package. the hope is that if this is done well enough, you could mix-and-match different components and just have them work as intended. on the other hand, the code should still be simple enough to afford the quickest possible prototyping, which is the point of having it all in python anyway
    • initial python solution is age-old code which needs to be remapped into the libraries used here. it will sit here until everything it offers has been translated.

    runnable things


    are in the examples folder