Skip to content

sh start.sh error  #1

@bestpredicts

Description

@bestpredicts

when I run sh start.sh, get error here.

  File "/home/yongdeng/Downloads/Pyrus-SS2D-Base-master/lib/player/player_agent.py", line 39, in run
    self.action()
  File "/home/yongdeng/Downloads/Pyrus-SS2D-Base-master/lib/player/player_agent.py", line 92, in action
    get_decision(self)
  File "/home/yongdeng/Downloads/Pyrus-SS2D-Base-master/base/decision.py", line 14, in get_decision
    return Bhv_SetPlay().execute(agent)
  File "/home/yongdeng/Downloads/Pyrus-SS2D-Base-master/base/set_play/bhv_set_play.py", line 39, in execute
    GoToPoint(target, 0.5, 100).execute(agent)
  File "/home/yongdeng/Downloads/Pyrus-SS2D-Base-master/lib/action/go_to_point.py", line 28, in execute
    inertia_point: Vector2D = wm.self().inertia_point(self._cycle)
  File "/home/yongdeng/Downloads/Pyrus-SS2D-Base-master/lib/player/object_player.py", line 121, in inertia_point
    return self.player_type().inertia_point(self.pos(), self.vel(), n_step)
AttributeError: 'NoneType' object has no attribute 'inertia_point'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions