cajun::steering_pid_v2_t Class Reference

#include <steering_pid.H>

Inheritance diagram for cajun::steering_pid_v2_t:
cajun::base_steering_t

List of all members.

Public Member Functions

virtual void init ()
 steering_pid_v2_t (const conf_t &conf)
bool read_config (const conf_t &conf)
void steer (steering_data_t &steering, double steering_position, guide_data_t const &gd, heading_data_t const &heading_data, double speed_, bool forward, bool tight_path)

Private Attributes

interp_table_t m_kp
double m_ki
interp_table_t m_kd
integral pidIntegral
double m_error [2]
double m_tstamp [2]
double previous_steer
double max_turn

Constructor & Destructor Documentation

steering_pid_v2_t::steering_pid_v2_t ( const conf_t &  conf  ) 

Member Function Documentation

virtual void cajun::steering_pid_v2_t::init (  )  [inline, virtual]

Reimplemented from cajun::base_steering_t.

References m_error, m_tstamp, and previous_steer.

Referenced by steering_pid_v2_t().

bool steering_pid_v2_t::read_config ( const conf_t &  conf  )  [virtual]
void steering_pid_v2_t::steer ( steering_data_t &  steering,
double  steering_position,
guide_data_t const &  gd,
heading_data_t const &  heading_data,
double  speed_,
bool  forward,
bool  tight_path 
) [virtual]

Member Data Documentation

double cajun::steering_pid_v2_t::m_error[2] [private]

Referenced by init(), and steer().

interp_table_t cajun::steering_pid_v2_t::m_kd [private]

Referenced by read_config(), and steer().

Referenced by read_config(), and steer().

interp_table_t cajun::steering_pid_v2_t::m_kp [private]

Referenced by read_config(), and steer().

Referenced by init(), and steer().

Referenced by read_config(), and steer().

Referenced by steer(), and steering_pid_v2_t().

Referenced by init(), and steer().


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

Generated on Fri Apr 9 10:45:16 2010 for UCSteeringController by  doxygen 1.6.1