roboticslab-uc3m / xgnitive

Research on algorithms for Continuous Goal-Directed Actions (CGDA), Robot Imagination System (RIS)...
http://robots.uc3m.es/dox-xgnitive/
GNU Lesser General Public License v2.1
5 stars 1 forks source link

Actions as parameters in c++ code #35

Open RaulFdzbis opened 7 years ago

RaulFdzbis commented 7 years ago

Right now selecting which action is going to be executed is done by manually changing the code, to adapt the code to that new action. This means things like this.

A cool improvement for the future could be to implement actions as parameters that executes only the part of the code related to that action. To avoid things like this.