DesTransVel

class mobrob_behcon.desires.desires.DesTransVel(value, strength)[source]

The class DesTransVel

Represents a Desire for controlling the translation speed of the robot. Similar to its parent class it hase three attributes: value, strength, priority. The value is the translation speed (max: 0.2 m/s).

Methods

__init__(value, strength)

Construct a new 'Desire' object.

set_priority(priority)

Setter for attribute priority

Details

__init__(value, strength)[source]

Construct a new ‘Desire’ object.

Parameters
  • value – the numberic value of the desire, can be also be a array/list

  • strength – the strength of the desire

  • function – the function need to be executed when desire is accepted (optional)

Returns

returns nothing

set_priority(priority)

Setter for attribute priority

Parameters

priority – priority to be set

Returns

returns nothing