PyDummy#

Another behavior that ignores collisions

Bases: Behavior

Dummy Behavior that ignore obstacles instead of avoiding them. Equivalent to the C++ class navground::core::DummyBehavior. Implemented to demonstrate that sub-classing Behavior works in Python

State: none

Constructs a new instance.

Parameters:
  • kinematics – The kinematics of the agent.

  • radius – The radius of the agent.

Returns a velocity headed towards the point with the given speed.

Parameters:
  • point – The point

  • speed – The speed

  • time_step – The time step

Returns:

The velocity

Returns the same velocity.

Parameters:
  • velocity – The velocity

  • time_step – The time step

Returns:

The velocity