blob: c35f0b899140c3521223e9e1865f18966b71b4bb [file] [log] [blame]
Patrick Ventured8012182018-03-08 08:21:38 -08001#pragma once
2
3#include "ec/pid.hpp"
4
Patrick Ventured8012182018-03-08 08:21:38 -08005/*
6 * Given a configuration structure, fill out the information we use within the
7 * PID loop.
8 */
Patrick Venture7af157b2018-10-30 11:24:40 -07009void initializePIDStruct(ec::pid_info_t* info, const ec::pidinfo& initial);
Patrick Ventured8012182018-03-08 08:21:38 -080010
Patrick Venture7af157b2018-10-30 11:24:40 -070011void dumpPIDStruct(ec::pid_info_t* info);