Direction#
#include "navground/sim/tasks/direction.h"
This class implement a task that makes the agent follow a fixed direction.
Registered properties:
direction
(navground::core::Vector2, get_direction)
Public Functions
Constructs a new instance.
- Parameters:
direction – [in] The direction
Sets the direction.
- Parameters:
value – [in] The desired direction
Gets the direction.
- Returns:
The direction.