Difference between revisions of "Creating PID Tuning Graphs"

From wikidb
Jump to: navigation, search
(Created page with "* [https://stackoverflow.com/questions/1112343/how-do-i-capture-sigint-in-python Capture Ctl-C in Python]")
 
Line 1: Line 1:
 +
= Overview =
 +
 +
This page documents a Python program designed to graph the first few seconds of power applied to the
 +
motors and robot speed. It is used to help calibrate PID parameters. I didn't know how to configure
 +
rqt_plot to display snapshots.
 +
 +
= Plot termination Criteria =
 +
 +
There are two termination criteria for termination 1) cnt-c and 2) time. After one of the criteria is
 +
met, the graph is drawn.
 +
 
* [https://stackoverflow.com/questions/1112343/how-do-i-capture-sigint-in-python Capture Ctl-C in Python]
 
* [https://stackoverflow.com/questions/1112343/how-do-i-capture-sigint-in-python Capture Ctl-C in Python]
 +
* [https://stackoverflow.com/questions/474528/what-is-the-best-way-to-repeatedly-execute-a-function-every-x-seconds-in-python capture timer event]

Revision as of 12:56, 22 September 2017

Overview

This page documents a Python program designed to graph the first few seconds of power applied to the motors and robot speed. It is used to help calibrate PID parameters. I didn't know how to configure rqt_plot to display snapshots.

Plot termination Criteria

There are two termination criteria for termination 1) cnt-c and 2) time. After one of the criteria is met, the graph is drawn.