#ifndef MINICHEETAHDEBUG_H #define MINICHEETAHDEBUG_H #include #include struct MiniCheetahDebugCommand { EIGEN_MAKE_ALIGNED_OPERATOR_NEW Vec3 kp[4]; Vec3 kd[4]; Vec3 qd[4]; bool enable[4][3]; }; struct MiniCheetahDebugData { EIGEN_MAKE_ALIGNED_OPERATOR_NEW Vec3 p[4]; Vec3 v[4]; }; namespace Ui { class MiniCheetahDebug; } class MiniCheetahDebug : public QDialog { Q_OBJECT public: explicit MiniCheetahDebug(QWidget *parent = nullptr); void getDebugCommand(MiniCheetahDebugCommand& cmd); bool setDebugData(MiniCheetahDebugData& data); ~MiniCheetahDebug(); private: Ui::MiniCheetahDebug *ui; u32 update_counter = 0; }; #endif // MINICHEETAHDEBUG_H