From afd51b2fcf3fe6ac776ba6ae2ca66ddd64bb5fc4 Mon Sep 17 00:00:00 2001 From: TonyZhangZTN Date: Thu, 14 Mar 2024 00:08:04 +0800 Subject: [PATCH] update README.md and modified pa_hero feedback --- README.md | 6 +++--- dev/application/param_adjusts/pa_hero/pa_hero.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 029b7aa0..a768bf99 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Meta Team - Infantry 2023 +# Meta Team - Infantry 2024 ## Current project status master![C/C++ CI](https://github.com/Meta-Team/Meta-Embedded/actions/workflows/release.yml/badge.svg?branch=master) @@ -17,8 +17,8 @@ The code for each robot could be built by switching the target of CMake. ## 基本结构 | Basic Structures -更新日期:May 1, 2023 -Updated: May 1, 2023 +更新日期:March 13, 2024 +Updated: March 13, 2024 ``` Meta-Embedded diff --git a/dev/application/param_adjusts/pa_hero/pa_hero.cpp b/dev/application/param_adjusts/pa_hero/pa_hero.cpp index 7ce42739..45d13eaa 100644 --- a/dev/application/param_adjusts/pa_hero/pa_hero.cpp +++ b/dev/application/param_adjusts/pa_hero/pa_hero.cpp @@ -211,7 +211,7 @@ DEF_SHELL_CMD_START(cmd_echo_param) PIDController::pid_params_t pid_param = {0,0,0,0,0}; pid_param = CANMotorController::getPIDParams((CANMotorCFG::motor_id_t)motor_id, (pid_id == 0)); - Shell::printf("!kp:%u,%.2f,ki:%.2f,kd:%.2f,il:%.2f,ol:%.2f" SHELL_NEWLINE_STR,pid_id, + Shell::printf("!kp,%u,%u,%.2f,ki:%.2f,kd:%.2f,il:%.2f,ol:%.2f" SHELL_NEWLINE_STR,motor_id,pid_id, pid_param.kp, pid_param.ki, pid_param.kd, pid_param.i_limit, pid_param.out_limit); return true; // command executed successfully DEF_SHELL_CMD_END