DesRotVel¶
- class mobrob_behcon.desires.desires.DesRotVel(value, strength)[source]¶
The class DesTransVel
Represents a Desire for controlling the rotation speed of the robot. Similar to its parent class it hase three attributes: value, strength, priority. The value is the rotation speed (max: 0.2)
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