v0.8.12b
v0.8.12b
BUILD 1504
Action.Id
generation comes from a static
counter in the Action
class. This had a couple problems:
- The counter is unique to the library. So, if a Robot
was Disposed and a new one created, the first action for the second one would pick up from where the previous robot left (like resetting the Bridge multiple times). Alternatively, if the same assembly manages two robots, their action ids would alternate or be entwined.
- Can't do it instance, because it would require factory methods from the robot to create actions
.
- Solution: new Actions
are created with an id
of -1 (or id-less). This maintains the flexibility of creating robot-agnostic actions. However, when they get issued to a Robot
instance, the instance adds a rolling id
coming from an internal counter.
- Let's see how many things I break by doing this... XD
- In any case, in the future, migration to non-numeric ids would be preferred...
- Shift
Action.Id
generation toOnIssue
.
BUILD 1503
- Softened exceptions for
RobotStudioManager
: they are now Machina Logger Errors. -
ActionExecuted
events are now raised forActions
that are non-streamable (likeMotionMode
). This is a good improvement, and solves a problem with the Bridge were such actions would not get acknowledged.