Skip to content

AutoAlignCmd#14

Open
yue1025 wants to merge 10 commits intomainfrom
AutoAlignCmd
Open

AutoAlignCmd#14
yue1025 wants to merge 10 commits intomainfrom
AutoAlignCmd

Conversation

@yue1025
Copy link
Collaborator

@yue1025 yue1025 commented Feb 7, 2026

No description provided.

@yue1025 yue1025 requested a review from Hannahjjj97 February 7, 2026 03:19
@yue1025 yue1025 self-assigned this Feb 7, 2026
@yue1025 yue1025 changed the title AutoalignCmd AutoAlignCmd Feb 7, 2026
@yue1025
Copy link
Collaborator Author

yue1025 commented Feb 7, 2026

有些東西像是maxForwardSpeed、PID的值、idealDistance要實測才知道

@yue1025 yue1025 requested a review from BrianHu0925 February 7, 2026 08:32
}

lostTargetFrames = 0;
double yawOutput = yawPID.calculate(vision.getTx(), 0);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我在想這裡用 get3dTx 會不會比較好?可以看看 @kennhung@Hannahjjj97 怎麼想

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好,我一開始想說用度數可能比較不會受到視角模糊影響判斷到的距離

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

對直接轉角度也是可以,所以看看他們怎麼想

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

還是用 3d 偵測的 rotation?因為我看變數名稱是 yawOutput,所以應該是機器人會自轉?
不過現在這個 Tx 應該也行?
是說視角模糊指的是啥

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

痾視線模糊,機器人快速移動的時候視線可能會變模糊?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

那我就先維持Tx?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果只是自轉,只用 Tx 應該就可以滿足需求了

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

但會不會從側邊對準的時候歪掉,就機器人是正對著Tag沒錯,但身體不一定對正Hub

@yue1025 yue1025 requested a review from Hannahjjj97 February 7, 2026 11:03
@Override
public void testExit() {}
}
} No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

這邊好像有不小心動到?

@yue1025 yue1025 requested a review from Hannahjjj97 February 8, 2026 00:03
Copy link
Contributor

@Hannahjjj97 Hannahjjj97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

變數命名有些是用 m_ 開頭,幫我改掉喔

@Hannahjjj97
Copy link
Contributor

Checktyle warnings 要去看一下喔,最後 file changed 那邊可以看到

@yue1025 yue1025 requested a review from Hannahjjj97 February 8, 2026 02:41
@yue1025 yue1025 enabled auto-merge February 8, 2026 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants