Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Flatland Flatland
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 93
    • Issues 93
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Flatland
  • FlatlandFlatland
  • Merge requests
  • !42

Merged
Created Jun 05, 2019 by spiglerg@spiglergOwner

Keep moving

  • Overview 0
  • Commits 10
  • Pipelines 1
  • Changes 5

The default behavior of agents is now that they once started (left/forward/right action), they keep moving even if wrong actions (left/right) or do_nothing (action=0) are selected. Agents stop if they can't go forward (left-right only switch) or if they are explicitly stopped (new action 4).

  • Actions are now grouped into an int enum: class RailEnvActions(IntEnum): DO_NOTHING = 0 MOVE_LEFT = 1 MOVE_FORWARD = 2 MOVE_RIGHT = 3 STOP_MOVING = 4

  • Agents now have a 'moving' flag, that is True or False depending on whether they are moving or not.

  • Penalties for starting/stopping agents are implemented, but they are currently disabled (set to 0).

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: multiSpeedsAndKeepMoving