Skip to content

WpStandard

Waypoint controller using surge and yaw, where the nose of the vehicle points to the desired position.

#include <wp_standard.h>

Inherits from WaypointController

Public Functions

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

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 WpStandard

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

function ~WpStandard

inline virtual ~WpStandard()

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


Last update: September 15, 2022
Back to top