or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing
xxxxxxxxxx
20220221~20220227 程式組
tags:
工作筆記 程式組
20220222
魏仁祥
程式進度
今天 Albert 請到之前在 VEX 機器人比賽獲獎無數的 Henry,請他看看我們的程式並說明目前遇到的狀況。他分析了很多(他說了快兩個小時…),但最後簡單來說就是不要用 sysid 測量機器人,最後自己進行測試,我簡單分成幾個步驟
上面有錯再麻煩 Aaron 或 Albert 改一下
大概是這樣子,更多詳細的內容還要請 Albert 給我他當下打的資料
然後底盤真的要試,感覺平移還是有問題??
心得
認真發現到英文很重要很重要,Aaron、Albert 和 Henry 溝通都是以英文為主要語言,似乎是母語一樣。我在旁邊光是聽就有點吃力了,根本不敢講什麼話…。
除此之外,VEX 似乎不像是 FRC 一樣有著 WPILIB。所以基本上 Henry 的程式都是自己寫的,所有的 feedforward、pid control 他都是自己打,相比之下我們都是直接帶入 function 進去用。
20220223
王鴻霖 Aaron Wang
Progress Summary
After several days of struggle with the trajectory tracking without major progress, my teammates and I decided to move on to something else first: auto aiming.
Today we finished a new auto aim method and improved an auto aim method that I previously wrote.
This entry will be more about the limelight auto-aim. For more information about absolute aim, see this record. Basically I used simple trigonometry to figure out the angle difference from the pose difference.
Progress Details
How the new limelight auto aim works:
see this repository for the full code
this page for the limelight subsystem
and this page for the limelight aim command
In a nutshell:
Very simple
Actually more time is spent adjusting the limelight pipeline, but it isn't hard either. Read the limelight docs and you should understand how to tune it after familiarizing with all the possible filtering and input options.
Conclusion
I'm quite happy that we finally made some solid progress. By the way, all of these were tested on the prototype bot, but should be applicable for the new bot too (just need a few variable and function adjustment).
魏仁祥
程式進度
今天看到了 254 有個教導我們如何調整 limelight 中 parameters 的簡報 然後就
痾
明天再寫
吳玠廷
今日進度
遇到的困難
解決方法
20220224
陳伯豪
Work Prossing
Mecanum Drive Kinematics(My)
[]
吳玠廷
今日進度
20220225
王鴻霖 Aaron Wang
Progress Summary
Today I mainly helped with finishing the subsystems and teleop commands. This includes:
I also made some research about state machine, which is an abstract concept that we can basically implement to enable different additional "modes" for the robot.
Progress Details
Superstructure commands: https://github.com/FutureShock7130/2022-Public/tree/main/src/main/java/frc/robot/commands/Superstructure
Transport command: https://github.com/FutureShock7130/2022-Public/blob/main/src/main/java/frc/robot/commands/TransportCmd.java
They are quite basic so I don't think any explanation is really needed.
Conclusion
Today I have less progress because I only had about 1 hour to work due to another activity that I have called physics debate. However, during the following days I will be able to stay at the FRC lab longer and contribute more.
魏仁祥
今天我完成了大部分的程式的基本架構,包括底盤、射球、輸球、希求、台生五大項,等著晚上 ablert 和 aaron 改我的程式。中午的時候也有是著一連貫吸球、輸球到射球,最後以 2000 rpm 的速度射出真的很爽。
然後我累了,今天就這樣簡單紀錄一夏
我請了六節課我超棒
20220226
魏仁祥
今天想來打一下英文啦~
展現一下英文小菜雞的實力
Progress Summary
Progress Details
Today, we finished supersturcture command and tried to run it on the robot. First, we face a question is that the spark max motor controller isn't doing what we asked them to do instead of following another one. Thus, we factory default the spark max motor and run it again, and it works!! Then, we really run it on the robot and the process is really exciting and worrying. We are happy about it really works on the robot but we worried about that the robot may fall down and broker. During the testing process, the steel wire on the left climber was torn again and the mechanism team had to fix it. It was a lot of fun.
Aaron have pormblem doing the transport command. In
RobotContainer.java
he wrote.whenHeld
but it didn't make on the robot. Later I suggest to use.whenPressed
than it works. Actually, there's no big problems with it.I wrote the Web cam vision subsystem. pretty eazy.
i help fimling the video, too. Albert remind me that dont expose too much on our robot, therefore i say it really simple and eazy, as if we are really poor in programming. Below is our speech text.
The final thing i did today is try path planner. Path planner is a motion profile generator for FRC robots created by team 3015. It is a lot useful than the official tool, path weaver, and what stunned me the most is that it is able to run an animation on the path planner. I felt comfortable to watch to robot moving in a curve path and suitable veclocity. It's awesome! I simply draw a path and try to implement to vscode with a json file.
Once Albert finish running sysid, i think we are able to run path planner. However, i concerned that the robot still can't translate parallelly.
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →Conclusion
There's still a lot to do. i made a to-do list below.
王鴻霖 Aaron Wang
Progress Summary
We made some huge progress on the superstructure system today and was able to climb to the highest level (although costing almost 4 minutes).
Besides that, all subsystems are now functional in teleop mode. I'm working on combining them to make them more usable, as well as automating certain process, like climbing, to make the process faster.
Progress Details
I mainly worked on the following subsystems:
And their commands.
Additionally, I also assigned them to different buttons on the two controllers.
Although some difficulties, such as unable to control certain motor, happened during the process, they are all fairly basic and were successfully solved.
If you are interested in the code, please do visit our 2022 Official repository.
Conclusion
I think after today's progress means that teleop part of the program is near its conclusion. However, the trajectory tracking / motion profile still need more testing. We must focus on them using our limited time.