![]() |
DUNE: Uniform Navigational Environment
2.3.2
|
Public Member Functions | |
Task (const std::string &name, DUNE::Tasks::Context &ctx) | |
void | onUpdateParameters (void) |
void | onInit (const IMC::FollowTrajectory *maneuver) |
void | onPathCompletion (void) |
void | step (const IMC::EstimatedState &estate) |
bool | isFeasible (void) |
double | dist (int p1, int p2) |
Public Attributes | |
bool | m_ignore_time |
IMC::DesiredSpeed | m_maneuver_speed |
double | m_last_actuation |
double | m_zero_time |
bool | m_done |
int | m_curr |
Arguments | m_args |
|
inline |
References Maneuver::FollowTrajectory::Arguments::act_step, m_args, Maneuver::FollowTrajectory::Arguments::max_actuation, Maneuver::FollowTrajectory::Arguments::max_speed, Maneuver::FollowTrajectory::Arguments::min_actuation, Maneuver::FollowTrajectory::Arguments::min_speed, Maneuver::FollowTrajectory::Arguments::mps_control, and Maneuver::FollowTrajectory::Arguments::timegap.
|
inline |
Function for computing the horizontal distance between two points in the trajectory.
Referenced by isFeasible(), and step().
|
inline |
Function for testing the trajectory's feasibility.
References dist(), m_args, Maneuver::FollowTrajectory::Arguments::max_speed, and Maneuver::FollowTrajectory::Arguments::mps_control.
Referenced by onInit().
|
inline |
References isFeasible(), m_curr, m_done, m_ignore_time, m_last_actuation, m_maneuver_speed, and m_zero_time.
|
inline |
References m_done.
|
inline |
|
inline |
References Maneuver::FollowTrajectory::Arguments::act_step, dist(), m_args, m_curr, m_done, m_ignore_time, m_last_actuation, m_maneuver_speed, m_zero_time, Maneuver::FollowTrajectory::Arguments::max_actuation, Maneuver::FollowTrajectory::Arguments::max_speed, Maneuver::FollowTrajectory::Arguments::min_actuation, Maneuver::FollowTrajectory::Arguments::min_speed, Maneuver::FollowTrajectory::Arguments::mps_control, Maneuver::FollowTrajectory::Arguments::timegap, and DUNE::Math::trimValue().
Arguments Maneuver::FollowTrajectory::Task::m_args |
Referenced by isFeasible(), step(), and Task().
int Maneuver::FollowTrajectory::Task::m_curr |
bool Maneuver::FollowTrajectory::Task::m_done |
Path completion flag.
Referenced by onInit(), onPathCompletion(), and step().
bool Maneuver::FollowTrajectory::Task::m_ignore_time |
double Maneuver::FollowTrajectory::Task::m_last_actuation |
IMC::DesiredSpeed Maneuver::FollowTrajectory::Task::m_maneuver_speed |
FollowTrajectory maneuver's speed.
double Maneuver::FollowTrajectory::Task::m_zero_time |