Public Member Functions | Private Attributes
PIDController Class Reference

#include <evarobot_controller.h>

List of all members.

Public Member Functions

 PIDController ()
 PIDController (double d_proportional_constant, double d_integral_constant, double d_derivative_constant, double _d_max_vel, string _str_name)
void ProduceDiagnostics (diagnostic_updater::DiagnosticStatusWrapper &stat)
void Reset ()
float RunController (float f_desired, float f_measured)
void UpdateParams (double d_proportional_constant, double d_integral_constant, double d_derivative_constant)
 ~PIDController ()

Private Attributes

double d_derivative_constant
double d_derivative_error
double d_integral_constant
double d_integral_error
double d_max_vel
double d_pre_error
double d_proportional_constant
double d_proportional_error
ros::Duration dur_time
ros::Time read_time
string str_name

Detailed Description

Definition at line 48 of file evarobot_controller.h.


Constructor & Destructor Documentation

Definition at line 17 of file evarobot_controller.cpp.

PIDController::PIDController ( double  d_proportional_constant,
double  d_integral_constant,
double  d_derivative_constant,
double  _d_max_vel,
string  _str_name 
)

Definition at line 30 of file evarobot_controller.cpp.

Definition at line 45 of file evarobot_controller.cpp.


Member Function Documentation

Definition at line 97 of file evarobot_controller.cpp.

Definition at line 8 of file evarobot_controller.cpp.

float PIDController::RunController ( float  f_desired,
float  f_measured 
)

Definition at line 47 of file evarobot_controller.cpp.

void PIDController::UpdateParams ( double  d_proportional_constant,
double  d_integral_constant,
double  d_derivative_constant 
)

Definition at line 88 of file evarobot_controller.cpp.


Member Data Documentation

Definition at line 76 of file evarobot_controller.h.

Definition at line 71 of file evarobot_controller.h.

Definition at line 75 of file evarobot_controller.h.

Definition at line 70 of file evarobot_controller.h.

double PIDController::d_max_vel [private]

Definition at line 81 of file evarobot_controller.h.

double PIDController::d_pre_error [private]

Definition at line 73 of file evarobot_controller.h.

Definition at line 77 of file evarobot_controller.h.

Definition at line 72 of file evarobot_controller.h.

Definition at line 84 of file evarobot_controller.h.

Definition at line 83 of file evarobot_controller.h.

string PIDController::str_name [private]

Definition at line 79 of file evarobot_controller.h.


The documentation for this class was generated from the following files:


evarobot_controller
Author(s): Mehmet Akcakoca
autogenerated on Fri Feb 12 2016 01:15:17