Chassis v2.1.1
Chassisはロボコンでの足回り制御を行うためのC++ライブラリである。
|
足回りの自動制御を行うクラス。 More...
#include <Chassis.h>
Public Member Functions | |
template<class F > | |
Chassis (F &&f, const PidGain &vel_gain, const PidGain &pos_gain) | |
コンストラクタ。T型をfで初期化し、変位と速度のPIDゲインをセットする。 | |
void | pid_move (const Velocity &tag_vel, const Velocity &now_vel, const std::chrono::microseconds &delta_time, float offset_rad=0.0) |
手動操縦用。速度のPID制御を行い、出力をT型のcalcに渡す | |
void | auto_move (const Coordinate &dst, const Coordinate &pos, const std::chrono::microseconds &delta_time) |
自動制御用。変位のPID制御を行い、出力をT型のcalcに渡す。 | |
足回りの自動制御を行うクラス。
T | 自動制御を行うクラス。 [sni_ch] |
void rct::Chassis< T >::auto_move | ( | const Coordinate & | dst, |
const Coordinate & | pos, | ||
const std::chrono::microseconds & | delta_time | ||
) |