Skip to content

WpLoose

Waypoint controller similar to standard, using surge and yaw (nose of the vehicle points to the desired position). The difference is that this one limits the rate of yaw reference.

#include <wp_loose.h>

Inherits from WaypointController

Public Functions

Name
WpLoose(ros::Publisher surge_pub, ros::Publisher yaw_pub)
virtual ~WpLoose()

Additional inherited members

Public Functions inherited from WaypointController

Name
WaypointController()
virtual ~WaypointController()
void setFrequency(const double & f)
Mutator for setting the controller period.
void setGains(const std::vector< double > & gains)
Mutator for updating the gains.
void compute(Vehicle_t state, WPref_t wp_ref)
Computes and publishes the output of the controller.

Protected Functions inherited from WaypointController

Name
double getYawOut()
Getter of the yaw reference (output of controller)
double getYawrateOut()
Getter of the yaw rate reference (output of controller)
double getSurgeOut()
Getter of the surge reference (output of controller)
double getSwayOut()
Getter of the sway reference (output of controller)
void setYawOut(const double & value)
Yaw reference setter (output of controller)
void setYawrateOut(const double & value)
Yaw rate reference setter (output of controller)
void setSurgeOut(const double & value)
Surge reference setter (output of controller)
void setSwayOut(const double & value)
Sway reference setter (output of controller)

Protected Attributes inherited from WaypointController

Name
double ts_
std::vector< double > gains_

Public Functions Documentation

function WpLoose

WpLoose(
    ros::Publisher surge_pub,
    ros::Publisher yaw_pub
)

function ~WpLoose

inline virtual ~WpLoose()

Updated on 2022-09-15 at 17:51:32 +0000


Last update: September 15, 2022
Back to top