AK70-9 用の有線・無線停止ボタンの追加#5
Open
anhquan18 wants to merge 6 commits into
Open
Conversation
chama1176
reviewed
Jul 6, 2026
| * (4.2 Force Control) and the quadruped_control TmotorV3 driver. | ||
| */ | ||
| #ifndef BRAKE_MOTOR_CMD | ||
| #define BRAKE_MOTOR_CMD { 0x00, 0x0F, 0xFF, 0x7F, 0xFF, 0x7F, 0xF7, 0xFF } |
Collaborator
There was a problem hiding this comment.
Kp, Kdの値との対応を各要素ごとにコメントで入れてもらえますか
Collaborator
There was a problem hiding this comment.
ありがとうございます。
Kdは100に設定お願いします
Collaborator
|
このブランチはマージせずに適宜追従したいと思います |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this implement/fix?
有線・無線E-STOPピン対応のブレーキ機能を追加。ボタン押下時にAK70-9へダンピング指令(Kp=0 / Kd=最大 / v_des=0 / τ_ff=0)を送信し、解除時は送信を停止します。
NUM_CAN_CHANNELの定義に応じた自動ブレーキ指令の送信挙動は以下の通りです。
Does this close any currently open issues?
#2
How has this been tested?
Mujina_boardを用いてボタンの押下・解除でモータのKP/KDゲンイの変化を確認できました。
確認手順はモータの内部状態確認スクリプトを用いて、以下のように実行します。
モータ内部状態確認のスクリプト:
motor_status.py
Any other comments?
現状、AK70-9にのみ対応しますが、RS02には別のブランチで対応させる予定です。
Checklists