Skip to content

Commit

Permalink
機体パラメータをクローラロボット開発プラットフォーム(V4 / V3i)のものに変更
Browse files Browse the repository at this point in the history
  • Loading branch information
p3pperPi committed Sep 28, 2023
1 parent a83b95a commit 339cfe4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions CugoBeginnerProgramming/CugoCommandMode.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,18 @@
#include "CugoCommandMode.h"

//cugo仕様関連
// CuGo V4 のパラメータ
#define wheel_radius_l 0.03858d
#define wheel_radius_r 0.03858d
#define tread 0.380d
#define encoder_resolution 360.0d
#define MAX_MOTOR_RPM 180 //モータの速度上限値
#define encoder_resolution 600.0d
#define MAX_MOTOR_RPM 130 //モータの速度上限値
// CuGo V3i のパラメータ
// #define wheel_radius_l 0.03858d
// #define wheel_radius_r 0.03858d
// #define tread 0.376d
// #define encoder_resolution 360.0d
// #define MAX_MOTOR_RPM 180 //モータの速度上限値

//PID位置制御のゲイン調整
#define L_COUNT_KP 0.04f
Expand Down

0 comments on commit 339cfe4

Please sign in to comment.