Difference between revisions of "User:KaKiLa"

From Octave
Jump to navigation Jump to search
Line 30: Line 30:
* Write description of packages [[Geometry package]],[[Mechanics package]],[[Robotics package]].
* Write description of packages [[Geometry package]],[[Mechanics package]],[[Robotics package]].
* Start the API for [https://code.cor-lab.de/projects/rsb RSB].
* Start the API for [https://code.cor-lab.de/projects/rsb RSB].
* <del>Build packages for [https://launchpad.net/~ubuntu-octave PPA].</del>
* Define function signature for warning such that it accepts local as an option but is still compatible with matlab warning.
=== Add remove option to autoload ===
=== Add remove option to autoload ===
[http://octave.1599824.n4.nabble.com/reverse-of-autoload-td4644524.html#a4644539 reverse autoload]
[http://octave.1599824.n4.nabble.com/reverse-of-autoload-td4644524.html#a4644539 reverse autoload]

Revision as of 08:58, 8 November 2014

Personal Data

Juan Pablo Carbajal


test syntax highlight

Code: Loading the file as polygon compatible with geometry package
function y = deserializeInt (data)

  y = bitpack (
                        @(x)bitget(x,1:8), data,
                        "UniformOutput", false
                )', "uint16");

  y = double (y);


getting help

  1. know the function --> help function_name or help function_name.
  2. Know what to do but not the function name --> lookfor what_to_do.
  3. Can't remember the fullname of a function (or have a guess) --> partial_name_of_function then press <TAB-key> twice
  4. Did it once but can't remeber --> <Ctrl>+<R> to search the history.

TODO list

Add remove option to autoload

reverse autoload

make output format a valid input format

An output format that prints valid input commands, so one can copy and re-execute the code. From IRC

(04:57:05 PM) jwe: It might not be too hard to implement what you want. There is a flag in the pr-output functions for pr_as_read_format and many (but probably not all) of the types that are printed there do something with that. And it is not hooked in to the format function, so you can't enable it.

(04:57:31 PM) jwe: pr-output.cc and pr_as_read_syntax

extend sub2ind and ind2sub

We are extending sub2ind and ind2sub to work with triangular matrices. Currently private functions of mechanics. A string argument triggers the behavior. The string argument can be "triu" or "tril". After this str argument we accept an extra scalar value indicating that the triangular matrix is off diagonal (as in tril and triu). So, the first modification to the C++ code will be

  1. Check if any of the argument is a str.
  2. Check what kind of triangular matrix (up or low).
  3. If the argument after the str argument is a scalar, it indicates off diagonal triangular matrix (we do not have algo for that yet, though).

updating pkg.m

Commands used with pkg

   pkg install image-*


   pkg load image


   pkg unload image


   pkg uninstall image


   pkg install -forge image


   pkg install -verbose -forge -nodeps signal


   pkg install struct-old.tar.gz


   pkg update struct


   pkg update


   pkg load all


   pkg unload all


   pkg list


   installed_packages = pkg ("list")


   [user_packages, system_packages] = pkg ("list")


   oct_forge_pkgs = pkg ("list", "-forge")


   pkg describe image


   pkg describe -verbose image 


   pkg describe -verbose all 


   desc = pkg ("describe", "signal", "image")


   [desc, flag] = pkg ("describe", "signal", "image")


   pkg prefix


   pkg prefix /tmp


   pfx = pkg ("prefix")


   pkg prefix /tmp /tmp


   pfx = pkg ("prefix")


   pkg build -verbose /tmp image-*


   pkg rebuild signal


Octave - Forge

  • quaternion mpower.m
  • Modify admin/releasePKG.m to confirm everything's fine by running check_INDEX.pl --carandraug 07:37, 26 January 2012 (PST)

KaKiLa 08:41, 5 June 2012 (PDT) INDEX.pl doesn't work with objects.

Non-negative matrix factorization

  • Add nmf_bpas and nmf-pg to linear-algebra
  • Get nmf_toolbox from DTU under free license.
    • Add it to linear-algebra and create nnmf.m compatible with MATLAB calling all the methods.


  • Ask Stewart Heitmann to release under GPLv3.
  • Ask Andrea d'Avella to release under GPLv3 or equivalent. Waiting for answer. KaKiLa 03:54, 9 March 2012 (PST)


  • Muscle models
    • Hill model.
    • Voight model.
  • Locomotion
    • SLIP model, multiple generalized variables.
  • Reaching
    • Tendulum, tendon driven pendulum.

Robotics Toolbox




Working on graphs:

  • Porting.
  • Write demos.

Finish the port:

  • polygons2d
  • meshes
  • polygons3d


  • iscw and isccw
  • cw2ccw and ccw2cw



  • Consider multiple makefiles. Look how it was done in instrument-control
  • DMOC code generation.
  • Improve verlet integrator. A odepkg compatible version?


Gaussian Processes

  • Asked for a GPLv3 version of GPML. They answer but license is FreeBSD. A new version is comming out in June 2012, so I will wait to start the port.


Porting the package. May be good to port SC as well