Functions
controller.cpp File Reference

Simple PID controller with dynamic reconfigure. More...

#include <pid/controller.h>
Include dependency graph for controller.cpp:

Go to the source code of this file.

Functions

void get_params (double in, double &value, double &scale)
int main (int argc, char **argv)
void pid_enable_callback (const std_msgs::Bool &pid_enable_msg)
void plant_state_callback (const std_msgs::Float64 &state_msg)
void print_parameters ()
void reconfigure_callback (pid::PidConfig &config, uint32_t level)
void setpoint_callback (const std_msgs::Float64 &setpoint_msg)
bool validate_parameters ()

Detailed Description

Simple PID controller with dynamic reconfigure.

Author:
Andy Zelenak
Date:
March 8, 2015

License (BSD-3)

Copyright (c) 2015, Andy Zelenak
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file controller.cpp.


Function Documentation

void get_params ( double  in,
double &  value,
double &  scale 
)

Definition at line 175 of file controller.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 258 of file controller.cpp.

void pid_enable_callback ( const std_msgs::Bool &  pid_enable_msg)

Definition at line 170 of file controller.cpp.

void plant_state_callback ( const std_msgs::Float64 &  state_msg)

Definition at line 48 of file controller.cpp.

void print_parameters ( )

Definition at line 235 of file controller.cpp.

void reconfigure_callback ( pid::PidConfig config,
uint32_t  level 
)

Definition at line 200 of file controller.cpp.

void setpoint_callback ( const std_msgs::Float64 &  setpoint_msg)

Definition at line 43 of file controller.cpp.

Definition at line 221 of file controller.cpp.



pid
Author(s): Andy Zelenak , Paul Bouchier
autogenerated on Tue May 2 2017 02:49:51