Momina Rizwan (334cf3e4) at 26 Dec 18:57
Merge branch 'ez-skiros' of git.cs.lth.se:robotlab/rvmi/skiros2 int...
... and 3 more commits
Momina Rizwan (8dfeb7da) at 19 Dec 12:27
Fix: Forcefully called the init method of the base class SkillInter...
Momina Rizwan (808d68c6) at 18 Dec 12:43
Fixes the attribute error in subst_replace as well.
Momina Rizwan (716cbef3) at 18 Dec 12:34
Fix for an attribute access issue in the scipy.interpolate module.
Momina Rizwan (24753386) at 18 Dec 11:05
Deletes all the prototype-testing files for easy access to the real...
Momina Rizwan (9c3474a2) at 18 Dec 10:52
Added tests for allowing Built-in types in SkillDescriptios.
Momina Rizwan (52430fc0) at 18 Dec 10:28
Fixed the ValueType error for Optional[built-in-types]
Momina Rizwan (7acab75f) at 15 Dec 08:17
Allows users to define parameters of type str, int, float, and bool.
... and 1 more commit
Momina Rizwan (091bd7f0) at 14 Dec 14:46
Modifies the transformation of BehaviorNode AST to expand method.
Momina Rizwan (fed25077) at 07 Dec 12:14
Fixed some bugs and modified transform() method.
Momina Rizwan (b6ce0930) at 05 Dec 07:16
Adds the feature to call Pick.pick_fake(**kwargs).
... and 3 more commits
To try out this code, get one or two of the skill implementations
to use our new SkillDescription.SkillBase
form. For example,
in pick_place_implementations.py:
def createDescription
bitspick_fake
).you should get the following output:
This now directly links skills and skill descriptions. It also tracks what the environment (imported definitions etc.) was at the definition site of each skill: check e.g.:
pick._updated_env
This environment can be very useful for running eval()
, since it
captures the classes that the programmer imported in the module
in which they defined the pick
class.
Note that skill.py uses plenty of reflection (veering slightly into black magic territory) to make this work. Check the comments there to understand what is going on and how to make _updated_env include custom definitions (e.g., to replace all SkillDescription classes with custom classes etc.)
Momina Rizwan (8ac8f7dd) at 29 Nov 13:05
Merge branch 'skill-base-env' into 'ez-skiros'
... and 9 more commits
To try out this code, get one or two of the skill implementations
to use our new SkillDescription.SkillBase
form. For example,
in pick_place_implementations.py:
def createDescription
bitspick_fake
).you should get the following output:
This now directly links skills and skill descriptions. It also tracks what the environment (imported definitions etc.) was at the definition site of each skill: check e.g.:
pick._updated_env
This environment can be very useful for running eval()
, since it
captures the classes that the programmer imported in the module
in which they defined the pick
class.
Note that skill.py uses plenty of reflection (veering slightly into black magic territory) to make this work. Check the comments there to understand what is going on and how to make _updated_env include custom definitions (e.g., to replace all SkillDescription classes with custom classes etc.)
Momina Rizwan (63e230a9) at 29 Nov 08:50
Modifies the gitignore to include files to be ignored.
Momina Rizwan (520f73cb) at 29 Nov 08:48
Adds a base class to represent the expansion of BT.
... and 2 more commits
Momina Rizwan (090eaedc) at 16 Nov 13:07
Adds a way to add PrimitiveBase