Skip to content

Return actions as structured json with named keys #99

@slinlee

Description

@slinlee

Right now all the actions are returned in a flat array. This is easy to integrate into AnyLogic pathmind helper and probably python simulations. But it will be difficult to use from a webapp trying to integrate with a policy.

example:

{"action":[0,3,5,1]}

vs

{ "action": {
    "agv1_movement": 0,
    "agv2_movement": 3,
    "target_value": [ 5, 1]
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions