Code Monkey home page Code Monkey logo

casclik's People

Contributors

grotli avatar mahaarbo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

casclik's Issues

Multidimensional SetConstraints for PseudoInverseController

Currently PseudoInverseController only supports 1-D SetConstraints. This stems from how we generate our in_tangent_cone_func. They're easily defined as 4 if-else's in 1-D, but I can't think of an easy way of doing it in higher dimensions just yet.

No initial_problem_solver in ModelPredictiveController

Currently the ModelPredictiveController does not have an initial problem solver. This can be a problem for situations where slack variables are required, or virtual variables. Not as big a problem if you're using IPOPT.

Unittests

Need some unittests. Minimal tests that can help:

  1. Checking jacobians of a simple 1 D equality constraint
  2. Create a SkillSpecification and count constraints
  3. Setup ReactiveQP, ReactiveNLP, PseudoInverse, and ModelPredictive controllers and run once to see if that works.

Make PseudoInverseController work with input

    in_tc_func = self.get_in_tangent_cone_function(cnstr)
  File "/home/mathia/.local/lib/python2.7/site-packages/casclik/controllers/pseudo_inverse.py", line 146, in get_in_tangent_cone_function
    ["in_tc_"+cnstr.label])
  File "/usr/local/lib/python2.7/dist-packages/casadi/casadi.py", line 13690, in __init__
    this = _casadi.new_Function(*args)
NotImplementedError: Wrong number or type of arguments for overloaded function 'new_Function'.
  Possible prototypes are:
    Function()
    Function(str)
    Function(Function)
    Function(str,[SX],[SX],dict)
    Function(str,[MX],[MX],dict)
    Function(str,dict:SX,[str],[str],dict)
    Function(str,dict:MX,[str],[str],dict)
    Function(str,[SX],[SX],[str],[str],dict)
    Function(str,[MX],[MX],[str],[str],dict)
  You have: '(str,[MX|str],[MX],[str],[str])'

Some error when trying to run tracking_input_marker

Make PseudoInverseController use SX

A minor speedup can be achieved in the pseudoinversecontroller if we use SX instead of MX.
Aka, make everything SX functions where possible there.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.