-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elevator subsystem #13
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
有紅線喔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不要動到 Vendor 喔,這個 branch 是屬於 elevator 的
建議整個 branch 重做 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
還是有動到 vendordeps/WPILibNewCommands.json
檔案
應該要完全沒有相關的 Changes
3fec15f
to
e3e5c62
Compare
移除了有問題的vendor檔案
移除了錯誤的Vendor檔案
e3e5c62
to
5060d83
Compare
你什麼時候留校啊,要教你 cherry-pick |
PR 須等程式完整才能使用 |
增加功能 可以按按鈕到三層不同高度 也可以回到初始高度 可以切換成搖桿模式 手動調整高度 並加入limit switch
打了一個段落 增加了使用PID到四種不同高度的方法 並添加必要常數 寫了一個模式切換的方法 到時候應該可以放到RobotContainer 就能切換按鈕控制或搖桿手動操作模式 加入limit switch 確保超過上限或下限會停止 搖桿控制有平滑過渡的偵測 一次推太多的時候也不會暴衝 那些數值都還可以調 到時候可以放到Constants之類的 統一管理 大概就這樣 |
阿對我還沒merge 我想說等你們看完再說 |
發現忘記加回到初始位置的 Command 把他加上去
嘗試照著 checkstyle 想要的方式改了一些順序
又改了一次
應該是最後一次了
他都不一次講完 又改一次順序
喔耶我把叉叉用掉了 |
修改了命名上的問題
新增了運行的程式碼
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
馬達不一定使用 CANSparkMAX
不要把 joystick 傳入 subsystem,應該要包裝 joystick
移除了應當放在command的程式碼以及註釋留下一些之後可能要改的東西
把他放進了 periodic 就會一直重複執行 我不確定這樣改對不對
我把 moveToHeight 方法裡面的東東放進了 periodic 然後再改了一下排版 再幫我看一下我這樣寫對不對 |
feat:ElevatorSubsystem 框架